In the sysplex environment, P/DAS operations are similar to those of the nonsysplex, shared-disk environment. See P/DAS operations example for an example of a sysplex scenario.
Perform the following steps to use P/DAS in a sysplex environment:
Initiate a P/DAS operation by issuing this command on the "main system." This command requests that P/DAS stop I/O that is directed to device number ssss. ROUTE *ALL directs this action to all systems in the sysplex. DEV=ssss specifies a primary volume of a duplex PPRC volume pair. The MVS system stores all application I/O that is issued to the primary volume until you issue a ROUTE *ALL,IOACTION RESUME command. P/DAS ends, with a simulated I/O error, any active I/O that does not complete within five seconds after MVS has accepted the IOACTION STOP. This action forces the disk error recovery procedures to retry the I/O operation.
IOS600I IOACTION - THE FOLLOWING DEVICE(S) HAVE BEEN STOPPED:
dev dev1-dev2...
IOS601I IOACTION - DEVICES REMAIN IN THE STOPPED STATE.
USE THE 'D IOS,STOP' COMMAND TO DISPLAY THE DEVICES
When all attached systems have received these messages, continue with the SWAP command. MVS issues an IOS610I message in response to your D IOS,STOP command.
Issue the ROUTE *ALL,SWAP command for the volume pairs involved in the P/DAS operation. ROUTE *ALL automatically directs this action to all systems in the sysplex. This command directs the systems to switch the source device ssss with the target device tttt, and prepares the systems to redirect all I/Os issued to device ssss to the target device tttt.
Before the SWAP operation is complete, P/DAS performs validation to ensure that it can complete the swap operation. If conditions exist that can cause a data integrity exposure, P/DAS ends the operation and generates an error message. See P/DAS error conditions for error message descriptions.
P/DAS does not proceed when it cannot determine the status of both volumes, or when the volumes are not in duplex state. Ensure that the environment meets the conditions that are necessary to support P/DAS. Preparing for P/DAS operations describes the conditions.
IGF520A VERIFICATION COMPLETE: REPLY 1 TERMINATE PAIR, AND SWAP
│ 2 SWITCH PAIR, AND SWAP │ 3 CONTINUE SWAP │ 4 TERMINATE SWAP
If you choose Reply 2 (switch pair, and swap), P/DAS directs the system to take action according to the PPRC environment that is in effect at the time the command is issued, as described in Table 1.
IGF505I SWAP FROM ssss TO tttt COMPLETE
Variable ssss is the source device number, and tttt is the target device number.
Ensure that the main system has issued an IGF505I message before replying to outstanding IGF520A messages on other sysplex systems. At this point, reply to outstanding IGF520A messages on all other sysplex systems by entering "3" (Continue Swap). Table 1 describes the resulting system action.
Each of the attached sysplex systems issues an IGF505I message in response to your "Continue Swap" reply. Ensure that all systems in the sysplex have received the IGF505I message, and then issue the IOACTION RESUME command to device number tttt. You must issue the command to device number tttt because device tttt is now the primary volume. The IOACTION RESUME command resumes all application I/O to device tttt. All application I/O that used to go to the source device ssss now goes to the target device tttt instead.