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

14 - 4
Connect TDU
Device List
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 exact /dev
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 DEVICE LIST
Description Displays the block devices available on a machine
Syntax
DEVICE LIST <filter> [ON <machine>]
Options
filter—Use one of the following options for the device filter
ALL—Lists all unique devices on the specified machine. If there is no
machine specified, the source, if designated, will be tried first. The
target, if designated, will be tried second.