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

13 - 5
Connect TDU
Disconnect
Email Add
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.
Command DISCONNECT
Description Disconnects a specified source/target connection for the currently selected source.
Syntax
DISCONNECT <con_id | *>
Options con_id—Connection ID assigned to the source/target connection
*—Specifies all connection IDs
Examples
disconnect 1
disconnect *
Command EMAIL ADD
Description Adds an e-mail address to the e-mail notification distribution list
Syntax
EMAIL ADD <email_address>
Options email_address—A valid e-mail address enclosed in quotation marks
Examples
email add "administrator@domain.com"
Notes You can repeat this command to add additional addresses to the distribution list.
You must have an active source specified for any e-mail command to work properly.