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 five utility
scripts. Not all arrays require all five scripts. For example, step1A is always generated and may be
the only file that is required. You use these scripts to recreate the original configuration, and in some
cases, to assist in the recovery of a site.
The scripts output to the console un less you specify a file name. The CAPTURE CONFIGURATION
command generates five files. Given a file name, _StepXX is appended after the file 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 files
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 files by the nam es to be generated exist. If the filenamesexist,andyou
are entering the command manually, the utility will prompt you to replace existing files with the new files.
If you are using a script, existing files will be replaced with the new files.
When creating files that contain the scripts, activity dots display on the console. This command may take
alongtimetocompletedependingonthesizeoftheconfiguration.
NOTE:
Do not reconfigure the selected array while this command is executing .
HP StorageWorks Storage System Scripting Utilit y reference
41