HP OpenView Storage Mirroring Getting Started (359447-001, May 2004)
32
! File Entry—Create a file with all of the DTCL commands you
want to run. At the directory prompt where Storage Mirroring
is installed, type
DTCL –f filename where filename is the
name of the file containing the DTCL commands. For example,
you might use the following
dtcl.txt file to log on to a
machine and display its replication sets.
Command Line Client File Entry
DTCL.TXT Used in Command Line Client File Entry
! Single Line Entry—Determine all of the DTCL commands you
want to run and enter them in a single line at the command
prompt where Storage Mirroring is installed. For example, you
might use the following command to log on to a machine and
display its replication sets.
Single Line Entry
C:\Program Files\OpenView\Storage Mirroring> dtcl -f dtcl.txt
User access level set to DT_FULL_ACCESS
- List of rep sets -
Exchange_Repset1 disabled
Exchange_Repset2 enabled
C:\Program Files\OpenView\Storage Mirroring>
login indy administrator password domain_name;
source indy;
repset list;
C:\Program Files\OpenView\Storage Mirroring>dtcl login
indy administrator password; source indy; repset list
User access level set to DT_FULL_ACCESS
- List of rep sets -
Exchange enabled
NOTE: Because CMD.exe strips two layers of quotation
marks during processing, any DTCL command that
you use that requires quotation marks must have
three quotation marks around it. For example, if your
machine name had a space in it, login “machine name”
username password would be sufficient for the Text
Client or the Command Line Client interactive entry
or file entry. But for the Command Line Client single
line entry, you would have to use login “““machine
name””” username password.