HP StorageWorks Storage System Scripting Utility reference (September 2005)

NOTE:
If the D efault Disk Group has been renamed, not specifying a disk group will result in error.
Examples
ADD VDISK “\Virtual Disk\scratch” SIZE=10 REDUNDANCY=VRAID5
READ_CACHE
This example creates a 10-GB vir tual disk scratch within the default disk group using read cache and
aVraid5redundancylevel.
ADD VDISK “\Virtual Disks\engineering\gene_research” SIZE=2
DISK_GROUP=“\Disk Groups\small_disks”
This example creates a 2-GB disk at Vraid1 redundancy level in the small_disksgroup disk group.
NOTE:
Remember that this name is the <family_name> and that “\Virtual Disks\ <family_name>
\ACTIVE” is the name of the ACTIVE virtual disk. You must use this full path (enclosed in double quotes)
when referring to it with any other commands, or you can use aliases.
CAPTURE (CONFIGURATION)
Syntax
CAPTURE CONFIGURATION <file_name>
CAPTURE CONFIGURATION qu eries the currently selected array and creates from one to ve utility
scripts. Not all arrays require all ve scripts. For example, step1A is always generated and may be
the only le that is required. You use these scripts to recreate the original conguration, and in some
cases, to assist in the recovery of a site.
The scripts output to the console un less you specify a le name. The CAPTURE CONFIGURATION
command generates ve les. Given a le name, _StepXX is appended after the le name and
before the extension. XX is the restore step name, which is 1A, 1B, 1C, 2, or 3. For example,
specify ing CAPTURE CONFIGURATION newyear.txt causes the utility to create the les
newyear_Step1A.txt, newyear_Step1B.txt, newyear_Step1C.txt, newyear_Step2.txt,
and newyear_Step3.txt.
The utility checks to see i f a ny les by the nam es to be generated exist. If the lenamesexist,andyou
are entering the command manually, the utility will prompt you to replace existing les with the new les.
If you are using a script, existing les will be replaced with the new les.
When creating les that contain the scripts, activity dots display on the console. This command may take
alongtimetocompletedependingonthesizeoftheconguration.
NOTE:
Do not recongure the selected array while this command is executing .
HP StorageWorks Storage System Scripting Utilit y reference
41