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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DUPLEX<br />

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

10. When establishing a duplex pair where more than one host is sharing the<br />

environment, the device that is to be the secondary volume in the duplex pair<br />

must be varied offline to other hosts. For more information on ungrouping<br />

storage paths, see z/<strong>VM</strong>: System Operation.<br />

11. When establishing a new duplex pair, prdev <strong>and</strong> srdev must identify devices<br />

that are not currently in a duplex pair.<br />

12. When re-establishing a duplex pair, prdev <strong>and</strong> srdev must be the primary <strong>and</strong><br />

secondary volumes, respectively, of an established duplex pair.<br />

13. When replacing the secondary volume of an existing duplex pair, srdev must<br />

identify a device that is not part of a duplex pair <strong>and</strong> prdev must identify an<br />

established duplex pair.<br />

14. When re-establishing a duplex pair, or when replacing the secondary volume of<br />

an existing duplex pair, the duplex pair identified by prdev must be in<br />

suspended duplex state or the comm<strong>and</strong> will not complete successfully.<br />

15. For DUPLEX ON, the secondary volume identified by srdev may be an offline<br />

device.<br />

16. For DUPLEX SUSPEND, if the duplex pair is in suspended duplex state, the<br />

comm<strong>and</strong> will not complete successfully.<br />

17. If DUPLEX SUSPEND PRIMARY is issued, the storage control will swap the<br />

primary <strong>and</strong> secondary device addresses as seen by the host. This allows a<br />

functioning device to continue to be represented by the primary device<br />

address. To determine the physical device address, see “Response 8” on page<br />

769 <strong>and</strong> “QUERY DASD” on page 766.<br />

v If DUPLEX ON SECDEV is issued to re-establish the duplex pair, the<br />

addresses will be swapped back to their original state as part of the<br />

operation.<br />

v If DUPLEX OFF is issued to end the duplex pair, the addresses will not be<br />

swapped back to their original state.<br />

v If DUPLEX ON SECDEV is issued to replace the suspended secondary with<br />

another device, the addresses will not be swapped back to their original<br />

state. The freed device will be in simplex state on the physical address to<br />

which it is currently assigned. However, if the address of the new device, as<br />

seen by the host, is the same as the physical address of the suspended<br />

device, then the address of the new device will be swapped with the<br />

address of the freed device. This is possible if the device has been put in<br />

suspended duplex state several times <strong>and</strong> address swaps have occurred.<br />

18. Once a duplex pair has been established, the caching status <strong>and</strong> the DASD<br />

fast write status of the primary volume becomes the caching <strong>and</strong> DASD fast<br />

write status of the duplex pair.<br />

19. When DUPLEX OFF is used to discontinue a duplex pair, the caching status<br />

<strong>and</strong> the DASD fast write status of the former primary volume remains the<br />

same as the caching <strong>and</strong> DASD fast write status of the discontinued duplex<br />

pair. For the former secondary volume, the caching status is made active <strong>and</strong><br />

the DASD fast write status is made inactive.<br />

20. A volume attached to the system can only be duplexed with a free volume.<br />

The volume that is attached to the system must be the primary of the duplex<br />

pair.<br />

21. A volume that is dedicated to a guest virtual machine can only be duplexed<br />

with a free volume or another volume dedicated to the same user. The volume<br />

that is dedicated to the guest must be the primary of the duplex pair.<br />

The ATTACH comm<strong>and</strong> can be used to attach the secondary volume to the<br />

guest virtual machine after the duplex pair has been established.

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

Saved successfully!

Ooh no, something went wrong!