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

16 - 48
Script List
Script Remove
Examples
script add 1 alpha on beta mirrorstart="C:\Program
Files\StorageWorks\Storage
Mirroring\Scripts\MirrorStartScript.bat" args="arg1
arg2" delay interact
Notes
The default settings for this command are nodelay and nointeract.
Machine names that contain non-alphanumeric characters must be
enclosed in quotation marks.
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 REMOVE
Description Removes the specified mirroring script
Syntax
SCRIPT REMOVE <conid> [source] [ON target] <type>
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
type—Any of the following script types
MIRRORSTART—Script that was being processed before the
mirroring process starts
MIRRORSTOP—Script that was being processed when the mirroring
process stops
MIRRORCOMPLETE—Script that was being processed when the
mirroring process is complete
Examples
script remove 1 alpha on beta mirrorstart
Notes Machine names that contain non-alphanumeric characters must be enclosed
in quotation marks.