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

9 - 9
4. To delete the monitor, use the monitor delete command.
Testing failover
Verify that the source machine is offline and not connected to the network to avoid IP address conflicts. Trigger failover using
the
failover command.
Command MONITOR DELETE
Description Deletes the specified failover monitor and all of its parameters
Syntax
MONITOR DELETE <monitor>
Options
monitor—Name of the source machine designated as the monitor
Examples
monitor delete alpha
Notes In order to successfully delete a monitor, the monitor must not be running on the server. Use the
monitor stop command to ensure the monitor is not running.
Monitor names that contain non-alphanumeric characters must be enclosed in quotation marks.
Command FAILOVER
Description Manually initiates the failover process for the specified monitor machine
Syntax
FAILOVER <monitor> [ON <target>] [APPLY | DISCARD | REVERT]
Options monitor—Name of the source machine designated as the monitor
target—Name of the target, an IP address on the target, or a virtual IP address
APPLY—Apply the data that is in the target queue before beginning failover
DISCARD—Discard the data that is in the target queue and begin failover immediately
REVERT—Revert the target to the last known good Storage Mirroring state
Examples
failover alpha on beta apply
Notes If failover is configured for manual intervention, you must open the Failover Control Center to
access the intervention prompt.