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

7 - 7
5. If you need to remove a mirror script, use the script remove command.
Notes
The default setting for this command is nointeract.
The file name you specify for your script should be the primary executable of the command being
run. If you are using a command shell to execute a script, put the command shell execturable as
the script file name and pass another script name in as an argument.
Multiple arguments need to be enclosed in quotation marks and separated by a space. Also, if an
argument contains non-alphanumeric characters, you must enclose it in quotation marks.
Arguments cannot contain nested quotation marks. Therefore, if you are passing more than one
argument to your script, none of the arguments can require quotation marks. To work around
this limitation, you can use 8.3 file naming.
Machine names that contain non-alphanumeric characters must be enclosed in quotation 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.