HP StorageWorks Storage System Scripting Utility reference (September 2005)

VDISK=
This is the virtu
al disk name to be copied (active member of a virtual disk family).
WORLD_WID E_LUN_NAME=
Sets the World Wide LUN Name.
WAIT_FOR_COMPLETION
Waits until the
command’s operation nishes before displaying the next utility prompt (and returning
control) or bef
ore running another script line. For large (greater than 1 TB) virtual disks, using this option
can result in a l
ong period before the prompt appears.
NOWAIT_FOR_COMPLETION
Returns c ontrol as soon as possible. Some operations are invalid until the initial operation nishes in
the background.
Required Switch
The following switch is required with the ADD COPY command:
VDISK=
Examples
ADD COPY wednesday_nite VDISK=“\Virtual Disks\payroll\ACTIVE”
This example copies the virtual disk payroll to a copy named wednesday_nite.
ADD COPY save_reports VDISK=“\Virtual Disks\daily_biz\ACTIVE”
DISK_GROUP=“\Disk Groups\small_disks”
This example creates a copy of daily_biz named save_reports within the specied disk group.
NOTE:
WhenyouusetheADDCOPYcommand,youareactuallycreatingavirtualdisk.Ifyouwanttodelete
the virtual disk, you must use the DELETE VDISK comma nd.
ADD DR_GROUP
Use the ADD D R_GROUP command to create a data replication group containing the specied source
virtual d isk. This source virtual disk is replicated on the specied destination array.
Syntax
ADD DR_GROUP <dr_group_name> VDISK=<vdisk> DESTINATION_SYSTEM=<system>
Switches
ThefollowingswitchesareavailablewiththeADDDR_GROUP.
ACCESSMODE=
Theaccessrightsforaconnectedhost.Possiblevaluesare:presentonly, readonly,anddisable.
The default is disable, and this is the safest setting.
30
Utility command reference