HP StorageWorks Storage Mirroring Scripting Guide (T2558-96327, April 2009)

7 - 1
Mirroring and
Replication
Using the Storage Mirroring commands, you can perform the following functions to manage mirroring
and replication.
Controlling mirroring on page 7-1
Controlling an automatic mirror on page 7-3
Configuring customized mirror scripts on page 7-3
Configuring and removing orphan files on page 7-8
Starting replication on page 7-10
Inserting tasks during replication on page 7-10
Controlling mirroring
You can stop, start, pause, or resume a mirror.
Mirror Stop
Mirror Start
NOTE: As noted in the Scripting Guide Introduction on page 1-1, this guide does not explain
Storage Mirroring features and functions, only the scripting aspects of Storage Mirroring.
For details on the different features and functions, see the Storage Mirroring User’s
Guide.
Command MIRROR STOP
Description Stops a paused mirror
Syntax
MIRROR STOP <con_id | *>
Options
con_id—Connection ID assigned to the source/target connection
*—Specifies all connection IDs
Examples
mirror stop 1
mirror stop *
Command MIRROR START
Description Initiates the mirror process
Syntax
MIRROR START <con_id> [DIFFERENT [,NEWER]
,CHECKSUM | NOCHECKSUM] [ORPHANS |NOORPHANS]
[CALCULATE | NOCALCULATE] [CLEARRESTOREREQUIRED]