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.

|<br />

|<br />

|<br />

SET EDEVICE<br />

Usage Notes<br />

1250 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

2107<br />

specifies that <strong>IBM</strong> 2107 device attributes are to be used for the real device that<br />

is being emulated.<br />

SCSI<br />

specifies that general SCSI device attributes are to be used for the real device<br />

that is being emulated.<br />

Note: When specifying this value, you should exercise caution in defining more<br />

than one path to the device. Be sure that the device actually supports<br />

multiple paths. Defining multiple paths to a device that does not support<br />

multiple paths could result in data-integrity problems on the device.<br />

F<strong>CP</strong>_DEVice rdev<br />

specifies the real device number of the F<strong>CP</strong> device to be used for a specific<br />

path to a SCSI device. The rdev must be a 1-digit to 4-digit hexadecimal<br />

number between X'0000' <strong>and</strong> X'FFFF'.<br />

WWPN wwpn<br />

specifies the world wide port name for a specific path to a SCSI device. The<br />

wwpn must be a 16-digit hexadecimal number between X'0000000000000000'<br />

<strong>and</strong> X'FFFFFFFFFFFFFFFF'.<br />

Note: If fewer than 16 digits are specified for the wwpn, the number will be<br />

padded with leading zeroes to make it a 16-digit number.<br />

LUN lun<br />

specifies the logical unit number for a specific path to a SCSI device. The lun<br />

must be a 1-digit to 16-digit hexadecimal number between<br />

X'0000000000000000' <strong>and</strong> X'FFFFFFFFFFFFFFFF'.<br />

Note: If fewer than 16 digits are specified for the lun, the number will be<br />

padded with leading zeroes to make it a 16-digit number.<br />

ADD PATH<br />

indicates that one or more additional paths are to be added to the real SCSI<br />

device.<br />

DELete PATH<br />

indicates that one or more paths are to be deleted from the real SCSI device.<br />

CLEAR<br />

specifies that the information in the real device control block (RDEV) <strong>and</strong> the<br />

emulated device control block (EDEV) associated with the specified emulated<br />

device is to be cleared such that the emulated device can no longer be used<br />

without another SET EDEVICE comm<strong>and</strong> to redefine it.<br />

1. When defining emulated devices to represent real SCSI devices, there should<br />

be a one-to-one relationship between an emulated device <strong>and</strong> a real SCSI<br />

device. All paths defined for an emulated device should represent paths to the<br />

same real SCSI device. If the paths for one emulated device are associated<br />

with more than one real SCSI device or if more than one emulated device is<br />

associated with the same real SCSI device, data integrity problems could occur.<br />

2. Path validation for an emulated device occurs when the emulated device is<br />

varied online. Any invalid path will be deleted from the EDEV. A path is<br />

considered to be invalid for any of the following reasons:<br />

v The path is a duplicate of an already existing path for the emulated device.

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

Saved successfully!

Ooh no, something went wrong!