Set Remote Mirror

This command defines the properties for a remote-mirror pair.

Syntax

set remoteMirror (localLogicalDrive [logicalDriveName] | localLogicalDrives [logicalDriveName1 ... logicalDriveNameN]) role=(primary | secondary) [force=(TRUE | FALSE)] syncPriority=(highest | high | medium | low | lowest) autoResync=(enabled | disabled) writeOrder=(preserved | notPreserved) writeMode=(synchronous | asynchronous)

Parameters
Parameter Description
localLogicalDrive or localLogicalDrives The name of the primary logical drive for which you want to define properties. You can enter more than one primary logical drive name. Enclose the primary logical drive name in square brackets ([ ]). If the primary logical drive name has special characters, you also must enclose the primary logical drive name in double quotation marks (“ ”).
role The setting for the logical drive to act as the primary logical drive or the secondary logical drive. To define the logical drive as the primary logical drive, set this parameter to primary. To define the logical drive as the secondary logical drive, set this parameter to secondary. This parameter applies only when the logical drive is part of a mirror relationship.
force The role reversal is forced if the communications link between the storage subsystems is down and promotion or demotion on the local side results in a dual-primary condition or a dual-secondary condition. To force a role reversal, set this parameter to TRUE. The default value is FALSE.
syncPriority The priority that full synchronization has relative to host I/O activity. Valid values are highest, high, medium, low, or lowest.
autoResync The settings for automatic resynchronization between the primary logical drives and the secondary logical drives of a remote-mirror pair. This parameter has these values:
  • enabled – Automatic resynchronization is turned on. You do not need to do anything further to resynchronize the primary logical drive and the secondary logical drive.
  • disabled – Automatic resynchronization is turned off. To resynchronize the primary logical drives and the secondary logical drive, you must run the resume remoteMirror command.
writeOrder This parameter defines write order for data transmission between the primary logical drive and the secondary logical drive. Valid values are preserved or notPreserved.
writeMode This parameter defines how the primary logical drive writes to the secondary logical drive. Valid values are synchronous or asynchronous.
Notes

When you use this command, you can specify one or more of the optional parameters.

Synchronization priority defines the amount of system resources that are used to synchronize the data between the primary logical drives and the secondary logical drives of a mirror relationship. If you select the highest priority level, the data synchronization uses the most system resources to perform the full synchronization, which decreases the performance for host data transfers.

The writeOrder parameter applies only to asynchronous mirrors and makes them become part of a consistency group. Setting the writeOrder parameter to preserved causes the remote-mirror pair to transmit data from the primary logical drive to the secondary logical drive in the same order as the host writes to the primary logical drive. In the event of a transmission link failure, the data is buffered until a full synchronization can occur. This action can require additional system overhead to maintain the buffered data, which slows operations. Setting the writeOrderparameter to notPreserved frees the system from having to maintain data in a buffer, but it requires forcing a full synchronization to make sure that the secondary logical drive has the same data as the primary logical drive.

Minimum Firmware Level

6.10