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

13 - 25
Monitor Script Remove
Monitor Start
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.
Options that contain non-alphanumeric characters must be enclosed in quotation marks.
Command MONITOR SCRIPT REMOVE
Description Specifies the scripts that should not be run during the failover and failback processes
Syntax
MONITOR SCRIPT REMOVE <type> [monitor]
Options type—Any of the following script types
PREFAILOVER—The file is a pre-failover script to be run on the target before failover
POSTFAILOVER—The file is a post-failover script to be run on the target after failover
PREFAILBACK—The file is a pre-failback script to be run on the target before failback
POSTFAILBACK—The file is a post-failback script to be run on the target after failback
SRCPOSTFAILBACK—The file is a post-failback script to be run on the source after failback
monitor—Name of the source machine designated as the monitor
Examples
monitor script remove prefailback
monitor script remove postfailover
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.
Monitor names that contain non-alphanumeric characters must be enclosed in quotation marks.
Command MONITOR START
Description Initiates failover monitoring
Syntax
MONITOR START <monitor> [ON <target>]
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
Examples
monitor start alpha on beta
Notes Options name that contain non-alphanumeric characters must be enclosed in quotation marks.