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

5 - 1
Simulating a
Connection
After you have created a replication set, you can simulate a connection by connecting the replication
set to the TDU.
1. If you do not know which replication set you will be connecting to the target machine, the
repset list command will display the available replication sets for that source.
2. To initiate a connection to the TDU, use the connect tdu command. This logs the connection
statistics to the file specified. The remaining connection flags are identical to the standard
connect 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 REPSET LIST
Description Lists all replication set names for the currently selected source
Syntax
REPSET LIST
Command CONNECT TDU
Description Establishes a simulation connection between a replication set and the
Throughput Diagnostics Utility. This connection imitate a normal connection
without transmitting any data across the network.
Syntax
CONNECT <repset> TO TDU <filename> [connection_flags]
Options
repset—Name of the replication set
filename—Name of the file to store the connection statistics generated
by the TDU
connection_flags—The same options available in the standard connect
command
Examples
connect DataFiles to TDU
connect UserData to TDU map c:\userdata to
e:\backup\userdata