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

16 - 6
Connect TDU
Examples
connect DataFiles to beta map exact
connect UserData to beta map base d:\UserData\
connect UserFiles to beta map exact orphans,
compression 2
Notes
The default settings for this command are mirror, replicate, nomonitor,
and noorphans.
The options (no)mirror, (no)replicate, (no)monitor, (no)orphans, and
compression can be used in any combination and in any order. The first
option does not require a comma, but the second and remaining options
do require a comma before the option.
Options that contain non-alphanumeric characters must be enclosed in
quotation marks.
If you are establishing a connection within a NAT or firewall environment,
you will need to specify the target using the IP address and port number
(separated by a colon) of the router. For example, connect DataFiles to
10.10.1.57:1105 map exact.
When scripting with this command, if a successful connection is
established, the command will return a positive number, which is the
connection ID assigned to that connection.
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
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.