HP StorageWorks Storage Mirroring Scripting Guide (T2558-96327, April 2009)

7 - 3
Controlling an automatic mirror
Use the AutoRemirror option with the get and set commands to configure if a mirror is intiitated
automatically when a connection is automatically reconnected. See Server Settings on page 15-1
for more information on using these commands with a Storage Mirroring program setting.
Configuring customized mirror scripts
1. To determine any current mirroring scripts, use the account list command.
2. To add a mirroring script, use the script add command.
Command SCRIPT LIST
Description Displays a list of mirroring scripts
Syntax
SCRIPT LIST <conid> [source] [ON target]
Options
conid—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.
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]