HP StorageWorks Storage Mirroring for Linux Scripting Guide (T2558-96319, June 2009)

2 - 3
Logging on and off of Storage Mirroring
To ensure protection of your data, Storage Mirroring uses native operating system security and
requires a valid system username and password. If you do not have a valid system username and
password for a selected machine, you will not be able to configure Storage Mirroring for that machine.
As you enter DTCL commands, Storage Mirroring automatically attempts to log on to the source or
target machine. You can verify your access by the resulting message.
DT_Full_Access—You have administrator rights to the selected Storage Mirroring machine.
DT_Monitor_Only_Access—You have monitor rights to the selected Storage Mirroring machine.
DT_No_Access—You do not have any rights to the selected Storage Mirroring machine.
If you have monitor access or no access and want to log on as the administrator, use the
login
command. Log off of a machine by using the
logout command.
Command LOGIN
Description Log on to a Storage Mirroring machine
Syntax
LOGIN <machine> <username> <password> [domain]
Options
machine—Name of the machine
username—Name of the user. The username is limited to 100
characters.
password—Password associated with the user name. The password is
limited to 100 characters.
domain—If logging in using a domain account, this is the domain name.
If logging in using a local account, this is the machine name. The domain
is limited to 100 characters.
Examples
login alpha administrator ******
Notes
Options that contain non-alphanumeric characters must be enclosed in
quotation marks.
The password cannot be a Storage Mirroring keyword. These are any
DTCL command (source, target, and so on.) or any DTCL shortcut
command (env, mon, rep, and so on).
When scripting with this command, it will return one of three positive
numbers: 0 (no access granted), 1 (monitor access granted), or 2 (full
access granted).
Command LOGOUT
Description Logs off of a Storage Mirroring machine
Syntax
LOGOUT <machine>
Options machine—Name of the machine
Examples
logout alpha
Notes Machine names that contain non-alphanumeric characters must be enclosed
in quotation marks.