HP StorageWorks Storage Mirroring for Linux Scripting Guide (T2558-96319, June 2009)

6 - 1
Managing Connections
Using the Storage Mirroring commands, you can perform the following functions to manage your
connections.
Monitoring connections on page 6-1
Controlling an automatic mirror on page 6-2
Queuing Storage Mirroring data on page 6-2
Configuring automatic reconnections on page 6-2
Configuring compression on page 6-3
Disconnecting a connection on page 6-4
Monitoring connections
1. Identify the connection ID that you want to monitor by using the conid command.
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 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
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.