HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)

44 of 332
Using mirror scripts
1. To determine any current mirroring scripts, use the script list command.
Command SCRIPT LIST
Description Displays a list of mirroring scripts
Syntax SCRIPT LIST <con_id> [source] [ON target]
Options
con_id—Connection ID assigned to the source/target
connection
source—Name of the source machine
target—Name of the target, an IP address on the target, or a
virtual IP address
Examples script list 1 alpha on beta
Notes
Machine names that contain non-alphanumeric characters must be
enclosed in qutoation marks.
2. To add a mirroring script, use the script add command.
Command SCRIPT ADD
Description
Specifies the scripts that should be run at a particular point-in-time
during a process
Syntax
SCRIPT ADD <con_id> [source] <ON target> <type>=<path>
[ARGS=arguments] [DELAY|NODELAY]
[INTERACT|NOINTERACT]