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.

Usage Notes<br />

The volid is specified as a 1- to 6-character name. See Usage Note 6.<br />

SUSpend PRImary<br />

SUSpend SECondary<br />

indicates that the duplex pair identified by prdev is to be forced into suspended<br />

duplex state. The specified volume, either PRIMARY or SECONDARY, is<br />

marked as the suspended volume, <strong>and</strong> the other volume becomes the only<br />

operational volume of the duplex pair. See Usage Note 17.<br />

OFF<br />

indicates that the duplex relationship between the duplex pair specified by prdev<br />

is to be ended.<br />

1. When using the DUPLEX ON comm<strong>and</strong><br />

a. To establish a duplex pair, enter:<br />

DUPlex prdev ON [SECDev] srdev [COpy] [PAce nnn]<br />

or<br />

DUPlex prdev ON [SECDev] srdev NOCopy<br />

Note: If NOCOPY is specified, the volumes must already be identical.<br />

b. To re-establish a suspended duplex pair, enter:<br />

DUPlex prdev ON [SECDev] srdev [COpy] [PAce nnn]<br />

or<br />

DUPlex prdev ON [SECDev] srdev RESynch [PAce nnn]<br />

c. To replace the secondary volume of an existing suspended duplex pair,<br />

enter:<br />

DUPlex prdev ON [SECDev] srdev<br />

[COpy] [PAce nnn] [SECVolid volid]<br />

srdev<br />

is a new secondary volume to be used in establishing a new duplex<br />

pair.<br />

2. This comm<strong>and</strong> requires that both the primary <strong>and</strong> the secondary volumes be in<br />

the <strong>CP</strong> I/O configuration.<br />

3. Caching must be inactive for simplex devices being established as a duplex<br />

pair or joining an existing suspended duplex pair.<br />

4. When re-establishing a suspended duplex pair, the pair must not have pinned<br />

data.<br />

5. The PACE value is not allowed if NOCOPY is specified.<br />

DUPLEX<br />

6. The volume identification label of the primary volume will be copied onto the<br />

secondary volume during the establishing of a new duplex pair, unless the<br />

NOCOPY option is specified. The SECVOLID option allows the primary <strong>and</strong><br />

secondary volumes to have different identification labels after replacing the<br />

secondary volume of an existing duplex pair or ending a duplex pair.<br />

7. Attention: To assure that the secondary is a true copy of the primary when<br />

issuing DUPLEX OFF, the pair must not be pending or suspended <strong>and</strong> DASD<br />

fast write must be made inactive prior to issuing DUPLEX OFF.<br />

8. The device identified by srdev must have a capacity that is equal to or greater<br />

than the capacity of the device identified by prdev.<br />

9. DUPLEX ON requires that both cache <strong>and</strong> NVS be available to the subsystem.<br />

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

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

Saved successfully!

Ooh no, something went wrong!