The command line client, Starting and using the command line client, The command line client -2 – HP Storage Mirroring V5 Software User Manual

Page 33: Starting and using the command line client -2

Advertising
background image

3

-

2

The Command Line Client

The Command Line Client can be run from a command prompt. It can manage and monitor Storage Mirroring components
on any platform regardless of the Command Line Client platform. The Command Line Client is run from the operating system
command line and the DTCL commands are run from the Storage Mirroring command line.

Starting and using the 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 is installed, type the command

DTCL –i

. A DTCL

Command

prompt will appear and the commands can be entered from that prompt. Any resulting errors are immediately

displayed.

Interactive Entry

‹

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.

File Entry

DTCL.TXT Used in 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

/usr/bin> dtcl -i
Command: login indy administrator ******* domain_name
User access level set to DT_FULL_ACCESS
Command:

/usr/bin> dtcl -f dtcl.txt
User access level set to DT_FULL_ACCESS
- List of rep sets -
CustomerData enabled

/usr/bin>

login indy administrator password domain_name;
source indy;
repset list;

/usr/bin>dtcl login indy administrator password; source indy; repset list
User access level set to DT_FULL_ACCESS
- List of rep sets -
CustomerData enabled

/usr/bin>

Advertising
This manual is related to the following products: