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 />

v The device specified by the F<strong>CP</strong>_DEVice parameter does not exist.<br />

v The device specified by the F<strong>CP</strong>_DEVice parameter is not an F<strong>CP</strong> device.<br />

v The device specified by the F<strong>CP</strong>_DEVice parameter is an offline F<strong>CP</strong> device.<br />

v The device specified by the F<strong>CP</strong>_DEVice parameter is dedicated to a virtual<br />

machine.<br />

v The value specified by the WWPN parameter is not a valid world wide port<br />

name in your configuration.<br />

v The value specified by the LUN parameter is not a valid logical unit number<br />

for the specified world wide port name.<br />

3. You must use the VARY comm<strong>and</strong> to take an emulated device offline before you<br />

can change or clear it.<br />

4. The ADD PATH <strong>and</strong> DELETE PATH parameters are only valid when the<br />

comm<strong>and</strong> is issued to a previously-defined emulated device, but cannot be used<br />

on a comm<strong>and</strong> issued to a cleared emulated device.<br />

5. The last path to an emulated device cannot be deleted except via the CLEAR<br />

parameter.<br />

Response 1:<br />

To define an emulated device 8181 for a 2105 SCSI device with one path, enter the<br />

following:<br />

set edev 8181 type fba attr 2105<br />

fcp_dev 900 wwpn 200400A0B80BA987 lun 0002000000000000<br />

EDEV 8181 was created.<br />

Ready;<br />

Response 2:<br />

To define an emulated device 4343 for a general SCSI device with two paths, enter<br />

the following:<br />

set edev 4343 type fba attr scsi<br />

fcp_dev 800 wwpn 200400A0B80BA687 lun 0001000000000000<br />

fcp_dev 801 wwpn 200400A0B80BA688 lun 0001000000000000<br />

EDEV 4343 was created.<br />

Ready;<br />

Response 3:<br />

To add a path to an existing emulated device 8181, enter the following:<br />

set edev 8181 type fba attr 2105 add path<br />

fcp_dev 901 wwpn 200400A0B80BA988 lun 0002000000000000<br />

EDEV 8181 was modified.<br />

Ready;<br />

Response 4:<br />

To delete a path from an existing emulated device 4343, enter the following:<br />

set edev 4343 type fba attr scsi delete path<br />

fcp_dev 800 wwpn 200400A0B80BA687 lun 0001000000000000<br />

EDEV 4343 was modified.<br />

Ready;<br />

Response 5:<br />

SET EDEVICE<br />

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

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

Saved successfully!

Ooh no, something went wrong!