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

2 - 1
2 X Clients and Scripts
Clients and Scripts
Storage Mirroring has its own scripting language that can be used in the Storage Mirroring Text Client, the Storage Mirroring
Command Line Client, or in script files. Each of these methods use the same set of commands.
The Text Client
The Text Client is a full-screen, text-based client that can be run from a command prompt. The interface uses Storage
Mirroring commands entered one line at a time. The Text Client offers command line editing capabilities, such as backspace
cursor movement and forward/backward command history scrolling. All connection information is displayed in columnar text
format on the screen.
From the Windows
®
desktop, select Start, Programs, Storage Mirroring, Text Client or from a command prompt, type the
command DTText.
The Text Client is divided into three sections:
The top section displays source, connection, and statistical data. If specifying a command that requires output, like the
status command, the output is also displayed in this section.
The middle section is where the Storage Mirroring DTCL commands are entered.
The lower section displays the Storage Mirroring DTCL command that was entered with any resulting messages. In this
section, the security access granted is also displayed.
To use Storage Mirroring from the Text Client, enter the Storage Mirroring DTCL commands at the
Command prompt in
the middle of the Text Client screen.
The Command Line Client
The Command Line Client is run from the operating system command line, and then Storage Mirroring commands are run
from the Storage Mirroring
Command line. There are three different methods of executing commands from the Command
Line Client:
Interactive Entry—At the directory prompt where Storage Mirroring is installed, type the command DTCL –i. A
Command prompt will appear and the Storage Mirroring commands can be entered from that prompt. Any resulting
errors are immediately displayed.
NOTE: The DTText command name is not case-sensitive.
Storage Mirroring version 5.0
Source Machine:
=============================================================================================
Command: login alpha administrator ******** domain_name
=============================================================================================
User access level set to DT_FULL_ACCESS