IBM ZVM - FOR LINUX V6 RELEASE 1 Getting Started page 118

Getting started with linux on system z
Table of Contents

Advertisement

If you want to ...
Enable a logical path
between the host system
and one or more real
devices.
Disable a logical path
between the host system
and one or more real
devices.
Display the logical path
status and devices with
that logical path installed
Make a channel path
available to a device
Remove a channel path
from a device
Connect a real device (for
example DASD or
OSA-Express) to the
virtual machine
104
z/VM: Getting Started with Linux on System z
Then use this command ...
CP VARY ON PATH nn TO rdev
Example: To make path C2 leading to device 140 available to
that device:
vary on path c2 to 140
Vary path c2 online command initiated
Vary path c2 online command complete
Ready;
CP VARY OFF PATH nn TO rdev
Example: To make path C2 unavailable to devices 0190 through
0197:
vary off path c2 from 0190-0197
Vary path c2 offline command initiated
Path c2 not varied offline from device 0192
because it is the last path to device
Vary path c2 offline command complete
Ready;
CP QUERY CHPID nn
Example: To find out the status of channel path 1A:
query chpid 1a
PATH 1A ONLINE TO DEVICES 0190, 0191, 0193
PATH 1A OFFLINE TO DEVICES 0192
Ready;
CP VARY ONLINE CHPID nn
Example:
vary online chpid 21
Channel path 21 was successfully varied online
Ready;
CP VARY OFFLINE PATH nn FROM rdev
Example:
vary offline chpid 21
Channel path 21 was successfully varied offline
Ready;
ATTACH rdev userid
Example:
att 2306 lantzy
OSA 2306 ATTACHED TO LANTZY 2306
Ready;

Advertisement

Table of Contents
loading

Table of Contents