27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Responses<br />

10. To display the status of one or more real devices, use the QUERY (Real<br />

Device) comm<strong>and</strong>. (See page 955.)<br />

Note: If your processor is in LPAR mode, the QUERY (Real Device) comm<strong>and</strong><br />

displays the status of the device only if you issue the QUERY comm<strong>and</strong><br />

in a logical partition (LP) that has been defined to have access to the<br />

device.<br />

11. On a machine with multiple logical channel-subsystem images, the DEFINE<br />

DEVICE <strong>and</strong> DEFINE IODEVICE comm<strong>and</strong>s define the device with respect to<br />

the control unit’s connection to channel paths within the single specified logical<br />

channel-subsystem image. If the control unit is connected to channel paths in<br />

more than one logical channel-subsystem image, then subsequent DEFINE<br />

DEVICE or DEFINE IODEVICE comm<strong>and</strong>s must be entered to define the<br />

device in the other logical channel-subsystem images.<br />

Response 1:<br />

To define 16 real DASDs in two logical partitions with a preferred channel path,<br />

enter the following:<br />

def dev 300-30f unit_addr 0 cu 300 dasd preferred 3 par vm1 vm5<br />

Device configuration change completed successfully<br />

Ready;<br />

Response 2:<br />

To define 16 real DASDs in two logical partitions in a channel-subsystem image,<br />

enter the following:<br />

def dev 4300-430F unitadd 80 cu 8100 css 3 dasd par vm1 vm2<br />

Device configuration change completed successfully<br />

Ready;<br />

DEFINE DEVICE / IODEVICE<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!