Metro Mirror with Practice commands

Use this information to learn about commands available for Metro Mirror with Practice sessions. To issue a command, go to Session Actions > Commands and click the command.

Table 1. Metro Mirror with Practice commands
Command Action
Enable Copy to Site 1 Run this command and confirm that you want to reverse the direction of replication before you reverse the direction of copying in a failover and failback session. After you issue this command, the Start H2->H1 command becomes available.
Enable Copy to Site 2 Run this command and confirm that you want to reverse the direction of replication before you reverse the direction of copying in a failover and failback session. After you issue this command, the Start H1->H2 command becomes available.
Flash Creates a FlashCopy® image from I2 volumes to H2 volumes. The amount of time for this to occur will vary depending on the number of copy sets in the session.
Note: For DS8000® storage systems, the Flash command uses the freeze and thaw processing to create a data consistent point for the FlashCopy. If there is another Metro Mirror session overlapping on one or more of the same LSS pairs, that session will be suspended. It is also possible that the suspension of the other session might cause the Metro Mirror session to remain suspended after the flash command is issued instead of returning to Prepared state. Avoid using the same LSS pairs for multiple Metro Mirror sessions if possible.
Allow Practice Flash Issued to allow a Flash operation again on a Practice session after it has been suspended with the Prevent Reflash of Practice volume after Flash or Recover option.

The Allow Practice Flash command appears in the Preparing or Prepared states only if it is currently preventing the reflash. If the session is Preparing, the Flash command does not display until the session gets to the Prepared state.

See Prevent a reflash when practicing disaster recovery for more information on using this command.

Recover Takes a point-in-time copy of the data on I2 to the H2 volumes, enabling the application to be attached and run from the H2 volumes on site 2.
Note: The point-in-time copy is performed when the session is in a recoverable state to avoid that previous consistent data on H2 are overwritten by inconsistent data upon Recover. You can issue the Flash command if you want to force a point-in-time copy from I2 to H2 volumes afterward.
Refresh States

Refreshes the states of the role pairs that are in the session (if applicable for the session type) and refreshes the state of the session if it is incorrect. This command queries the states of the copy sets on the hardware. You are not required to run this command under typical circumstances; Copy Services Manager refreshes the states of its sessions through multiple means. However, if you discover an inconsistency between Copy Services Manager and the hardware, you can use this command to enable Copy Services Manager to update itself.

This command triggers multiple queries on the hardware, which can impact hardware performance. Do not run this command more frequently than every few minutes in each session.

This command is not available if the session is in the Defined state.

Release I/O Enables the source volume to receive data after a copy relationship is suspended. This command is not displayed if the Release I/O after Suspend property is selected for the session.
Start H1->H2 Establishes a Metro Mirror relationship from the H1 volumes to the I2 volumes, and begins data replication.
Start H2->H1 Establishes a Metro Mirror relationship from H2 to H1 and begins data replication.
StartGC_H1H2 Distinguishes when the session is in the Preparing state from H1 to I2 and begins the asynchronous process between the source and target volumes. While in the Preparing state the session will not change to the Prepared state unless you switch to Metro Mirror.
StartGC_H2H1 Distinguishes when the session is in the Preparing state from H2 to H1 and begins the asynchronous process between the source and target volumes. While in the Preparing state the session will not change to the Prepared state unless you switch to Metro Mirror.
Suspend Causes all target volumes to remain at a data-consistent point and stops all data that is moving to the target volumes. This command can be issued at any point during a session when the data is actively being copied.
Note: The Metro Mirror command uses a freeze command on the DS8000 devices to create the data-consistent point. If there are other Metro Mirror sessions overlapping the same LSS pairs as in this session, those sessions will also become suspended. Avoid using the same LSS pairs for multiple Metro Mirror sessions.

When a Suspend command is issued to a source volume in an LSS that has source volumes in another active Metro Mirror session, the other source volumes are affected only if they have the same target LSS. The primary volumes are suspended, but volumes in the same source LSS that have target volumes in a different LSS are not affected because they use a different PPRC path connection.

Stop Inconsistently suspends updates to all the targets of pairs in a session. This command can be issued at any point during an active session.
Note: Targets after the suspend are not considered to be consistent.
Terminate Terminates all copy relationships on the hardware.
TerminateH2I2 Removes the FlashCopy relationships after a Flash command is issued. When you use Extent Space Efficient (ESE) volumes for your practice volumes (H2), it is recommended to set the No Copy option on the H2I2 role pair. When No Copy is set, data will only be physically written to H2 when a track is updated on I2. If the practice copy of the data is no longer needed, this command can be run to remove the FlashCopy relationship from I2 to H2, to prevent the relationship from consuming backend space.
Notes:
  • If the command is issued, H2 will no longer hold a consistent logical copy of the data until the next Flash or Recover is issued.
  • This command is only available for DS8000 practice sessions while in the Preparing, Prepared, or Suspended states. This command is not available while in the Defined or Target Available states.