HP StorageWorks Storage Mirroring scripting guide (T2558-96074, February 2008)

5 - 3
Establishing the 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.
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 T
hroughput Diagnostics
U
tility. 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
Notes The statistic file that the TDU creates can be viewed using DTStat. By default, the file is called
statistic.sts. To view the statistic file, type DTStat -f <filename>. For details on
DTStat, see the Storage Mirroring User’s Guide.
Options that contain non-alphanumeric characters must be enclosed in quotation marks.