HP StorageWorks Storage Mirroring for Linux User's Guide (T2558-96078, February 2008)

A - 37
Wait on Mirror
Wait on Restore
Wait on Target
Command WAITONMIRROR
Description This command is used in scripts to force the script to stop executing until the connection has
finished mirroring or verifying.
Syntax
WAITONMIRROR <cond_id>
Options con_idConnection ID assigned to the source/target connection
Examples
waitonmirror 1
Command WAITONRESTORE
Description This command is used in scripts to force the script to stop executing until the connection has
finished restoring.
Syntax
WAITONRESTORE <rest_id>
Options rest_idRestoration ID assigned to the source/target connection
Examples
waitonrestore 1
Notes This command requires using the source command immediately before the waitonrestore
command.
Command WAITONTARGET
Description This command is used in scripts to force the script to stop executing until the target queue has
been empty for the time specified.
Syntax
WAITONTARGET <target> <time>
Options target—The name or IP address of the target to wait on
time—The number of seconds that the target queue needs to be empty before the command will
return
Examples
waitontarget jersey 30
Notes Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.