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

9 - 1
9 X Failover
Failover
Using the Storage Mirroring commands, you can perform the following functions to manage failover.
Configuring (or editing) failover on page 9-1
Removing failover configuration on page 9-8
Testing failover on page 9-9
Configuring (or editing) failover
1. Specify a target machine by using the target command.
2. Determine what NICs are available on the specified target by using the niclist 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 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.
Command NICLIST
Description Displays the NICs available on the specified target machine. Each NIC is assigned an integer value
and this value is used in the
monitor move command.
Syntax
NICLIST [target]
Options target—Name of the target, an IP address on the target, or a virtual IP address
Examples
niclist beta
Notes If you do not specify a machine name, the value from the current target will be returned. If you
have not identified a target, no data will be returned.
If you have not logged into the target machine, no data will be displayed.
Target names that contain non-alphanumeric characters must be enclosed in quotation marks.