HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96022, November 2010)

Verifying your target data
With scripting commands, verification can only be initiated after a connection is
established.
1. Log on to the source using the login command.
Command
LOGIN
Description
Log on to a Storage Mirroring Recover machine
Syntax
LOGIN <machine> <username> <password> [domain]
Options
l machine—Name of the machine
l username—Name of the user. The username is limited to 100
characters.
l password—Password associated with the user name. The
password is limited to 100 characters.
l 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
l Options that contain non-alphanumeric characters must be
enclosed in quotation marks.
l The password cannot be a Storage Mirroring Recover keyword.
These are any DTCL command (source, target, and so on.) or any
DTCL shortcut command (env, mon, rep, and so on).
l 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).