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

16 - 63
Version
Wait
Wait on Mirror
Command VERSION
Description Displays the Storage Mirroring version currently installed
Syntax
VERSION [MACHINE]
Options MACHINE—Name of the machine
Examples
version alpha
Notes
If no machine name is specified, the version of the active source will be
displayed. If there is no active source, no version information will be
displayed.
Machine names that contain non-alpanumeric characters must be
enclosed in quotation marks.
Command WAIT
Description This command is used in scripts to force the script to stop executing until the
specified number of milliseconds has elapsed.
Syntax
WAIT <ms>
Options ms—Length of time in milliseconds
Examples
wait 5000
Notes This sample waits for 5 seconds.
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 <con_id>
Options con_id—Connection ID assigned to the source/target connection
Examples
waitonmirror 1