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

16 - 58
Target
Test Connections
Time Now
Command TARGET
Description Identifies a machine as the active target machine
Syntax
TARGET <target>
Options target—Name of the target, an IP address on the target, or a virtual IP
address
Examples
target beta
Notes
You must be logged into a machine using the login command before using
the target command.
Target names that contain non-alphanumeric characters must be
enclosed in quotation marks.
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
testconnections 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