HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)

31 of 332
Monitoring connections
1. Identify the connection ID that you want to monitor by using the conID command.
Command CONID
Description
Allows you to to assign the value of a connection ID to a
variable
Lists the target and replication set for all connection IDs for a
source
Syntax
<variable>=CONID <repset> TO <target>
CONID LIST [source]
Options
variable—Name of the variable that you want to use to store
the connection ID
repset—Replication set that was used to establish the
connection
target—Name of the target, an IP address on the target, or a
virtual IP address
source—Name of the source
Examples
$con_id=conid DataFiles to beta
$ConnectionNumber=conid UserData to beta
conid list alpha conid list alpha
Notes
The conid list and variable=conid commands are two
separate commands.
If no machine name is specified in the conid list command,
the active source will be used.
Options Machine names that contain non-alphanumeric
characters must be enclosed in quotation marks.
2. Use the status command to display statistical and informational data.
Command STATUS
Description Requests connection and statistical information
Syntax
STATUS BLOCK [ON <target>] | CONnect <con_id> | MIRror <
con_id> | REPlicate <con_id> | TRANsmit <con_id> | TARget <
target>