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

13 - 22
Monitor Move
Command MONITOR MOVE
Description Designates the IP address that will be failed over to the specified target NIC
Syntax
MONITOR MOVE <IP_address> TO NIC <target_NIC>
USE NONE
| NETWORK INTERVAL <interval> TIMEOUT <timeout>
| SERVICE INTERVAL <interval> TIMEOUT <timeout>
| <NOTEST> [monitor]
Options IP_address—The IP address which should be moved during failover
target_NIC—The integer value of the target NIC obtained from the niclist command
NONE—Does not actively monitor the source machine. You will be responsible for identifying
when a failure has occurred and initiating failover manually.
NETWORK—Monitors the source by looking for a Storage Mirroring network response
SERVICE—Monitors the source by looking for Storage Mirroring service response
INTERVAL interval—The frequency, in seconds, of the monitor requests sent to the source
machine to see if it is online and active
TIMEOUT timeout—The number of seconds before failover will occur. This number is reset to its
maximum each time the source sends a response to the monitor request.
NOTEST—Allows you to failover an IP address without sending monitor requests or expecting
responses from the source. This option should only be used if you are monitoring multiple IP
addresses but do not want to send monitor requests to each address.
monitor—Name of the source machine designated as the monitor
Examples
monitor move 205.31.2.57 to nic 1 use network interval 5 timeout 25
monitor move 205.31.2.68 to nic 2 use none notest
Notes If you do not specify a monitor, the current source designated as the monitor will be used. If you
have not identified a monitor, you will receive an error message stating that a monitor has not
been selected.
If you choose to use the service option, your source and target must be using the same Storage
Mirroring port settings. If you choose to use the network option, the port settings can be
different.
Monitor names that contain non-alphanumeric characters must be enclosed in quotation marks.