HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)
9 of 332
Command Line client
There are three different methods of executing commands from the Command Line
client.
● Interactive Entry—At the directory prompt where Storage Mirroring Recover is
installed, type the command DTCL –i. A Command prompt will appear and the
scripting commands can be entered from that prompt. Any resulting errors are
immediately displayed.
C:\Program Files\StorageWorks\Storage Mirroring> dtcl -i
Command: login alpha administrator ******* domain_name
User access level set to DT_FULL_ACCESS
Command:
● File Entry—Create a file with all of the scripting commands you want to run. At the
directory prompt where Storage Mirroring Recover is installed, type DTCL –f
filename where filename is the name of the file containing the scripting
commands. For example, you might use the following dtcl.txt file to log on to a
machine and display its replication sets.
C:\Program Files\StorageWorks\Storage Mirroring> type dtcl.txt
login alpha administrator password domain;
source alpha;
repset list;
C:\Program Files\StorageWorks\Storage Mirroring> dtcl -f dtcl.txt
User access level set to DT_FULL_ACCESS
- List of rep sets -
DataFiles enabled
C:\Program Files\StorageWorks\Storage Mirroring>
● Single Line Entry—Determine all of the scripting commands you want to run, and
enter them in a single line (separated by semi-colons) at the command prompt
where Storage Mirroring Recover is installed. For example, you might use the
following command to log on to a machine and display its replication sets.
C:\Program Files\StorageWorks\Storage Mirroring> dtcl login alpha
administrator password domain; source alpha; repset list
User access level set to DT_FULL_ACCESS
- List of rep sets -
DataFiles enabled
C:\Program Files\StorageWorks\Storage Mirroring>