HP Storage Mirroring Software User Manual
Page 165
11
-
26
9.
Specify any scripts by using the
monitor script add
command.
Examples
!
monitor option
!
monitor option nomovename
Notes
The default settings are movename, moveaddress, moveshares, add, usesharefile, failall, fodelay,
fbdelay, and intervention.
Storage Mirroring version 4.3
Source Machine: indy (Access Level: FULL)
Target Machine Transmit Mirror Replication
jersey started 0 0
1 marketing idle replicating
================================================================================
Command:
================================================================================
> niclist jersey
> monitor move 206.31.4.57 to nic 1 interval 5 timeout 5
> monitor option add, usesharefile, failall
Command
MONITOR SCRIPT ADD
Description
Specifies the scripts that should be run during the failover and failback processes
Syntax
MONITOR SCRIPT ADD <
type
> <
script_name
> [
monitor
]
Options
!
type
—Any of the following script types:
!
PREFAILOVER
—Specifies that the file is a pre-failover script to be run on the target before
failover occurs
!
POSTFAILOVER
—Specifies that the file is a post-failover script to be run on the target after
failover occurs
!
PREFAILBACK
—Specifies that the file is a pre-failback script to be run on the target before
failback occurs
!
POSTFAILBACK
—Specifies that the file is a post-failback script to be run on the target after
failback occurs
!
SRCPOSTFAILBACK
—Specifies that the file is a post-failback script to be run on the source
after failback occurs
!
script_name
—Full path and name of the script file
!
monitor
—Name of the source machine designated as the monitor
Examples
monitor script add prefailback “c:\program files\OpenView\Storage
Mirroring\preback.bat”
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.