HP StorageWorks Storage Mirroring Scripting Guide (T2558-96327, April 2009)

14 - 1
Failback
1. If you are performing failback before restoring, verify that your source machine is not connected
to the network and that the issue(s) that caused the failure is resolved. If you have already
performed a restoration, your source should already be connected to the network using a unique
identity.
2. Login to the target machine that is currently standing in for the failed source by using the login
command.
NOTE: As noted in the Scripting Guide Introduction on page 1-1, this guide does not explain
Storage Mirroring features and functions, only the scripting aspects of Storage Mirroring.
For details on the different features and functions, see the Storage Mirroring User’s
Guide.
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).