HP StorageWorks Storage Mirroring scripting guide (T2558-96074, February 2008)

11 - 1
11 X Failback
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.
3. Identify the machine you just logged into as the target by using the target 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
password—Password associated with the user name
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.
Examples
login alpha administrator ******
Notes
Command TARGET
Description Identifies a machine as the active target machine
Syntax
TARGET <target>
Options target—Name of the target, an IP address on the target, or a virtual IP address
Examples
target beta
Notes You must be logged into a machine using the login command before using the target
command.
Target names that contain non-alphanumeric characters must be enclosed in quotation marks.