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

13 - 49
Test Connections
Time Now
Transmission Pause
Command TESTCONNECTIONS
Description Sends a test command to determine if Storage Mirroring is running. If there are active connections,
the replication set(s), IP address(es), and connection ID(s) will be included in the
testcon log file.
Syntax
TESTCONNECTIONS <machine> [ filename [OVERWRITE]]
Options
machine—The name of the machine
filename—The name of the log file. The file extension .dts is appended to any file name supplied.
OVERWRITE—Indicates that existing data in the file will be overwritten
Examples
testcon alpha connectionstat
Notes The default log file is status.dts and is located in the same directory as the other Storage
Mirroring log files. By default, the log file is not overwritten.
Machine names that contain non-alphanumeric characters must be enclosed in quotation marks.
Command TIMENOW
Description Prints the current date and time. This command is useful for scripting to determine process start
and stop times.
Syntax
TIMENOW
Command TRANSMISSION PAUSE
Description Pauses the transmission pause
Syntax
TRANSMISSION PAUSE <target>
Options target—Name of the target, an IP address on the target, or a virtual IP address. Depending on the
network route Storage Mirroring uses to access the target, you may need to specify the fully
qualified domain name.
Examples
transmission pause beta
Notes Target names that contain non-alphanumeric characters must be enclosed in quotation marks.