HP StorageWorks Storage System Scripting Utility reference (September 2005)

User functionality for CAPTURE commands
CAPTURE VALIDATE is a switch that determines if a cap tured script text le has b een edited and m o d i ed
after it was captured. This allows the user to determine whether the script is a perfect capture of the
existing array
or if someone has modied it after it was created.
NOTE:
The specied script is not executed by this command; the script is checke d only to see whether it is
original or not.
When a script is captured by the CA PTURE commands, a header is written at the front of the text le and
a checksum is written at the end. If CAPTURE VALIDATE does not see a correct header, it reports that
the script specied is not a CAPTURE-generated script. If the checksum does not match, this command
reports that the le has been modied.
If and only if a correct header is found and the checksum matches, this command reports that the
CAPTURE script specied is unmodied.
DELETE
Use the DELETE commands to remove a rrays, folders, disk groups, DR Groups, virtual disks, hosts,
systems, and LUNs from the array. You can control the behavior of all DELETE commands with the
SET OPTIONS command (see SET OPTIONS for details on how to use the SAFE_DELETE and
NOSAFE_DELETE switches).
DELETE DR_GROUP
Deletes the DR Group on the source and destination array. The SET OPTION NOSAFE_DELETE does not
override this requirement. You can delete a DR Group on the source a rray at any time.
Syntax
DELETE DR_GROUP <dr_group_name>
Example
DELETE DR_GROUP “\Data Replication\payroll”
This example deletes the p ayroll DR Group.
DELETE DISK_GROUP
Use the DELETE DISK_GROUP command to delete a disk group from the conguration. The command is
rejected if any virtual disks are present in the disk group.
Syntax
DELETE DISK_GROUP <group_name>
Example
DELETE DISK_GROUP “\Disk Groups\human_resources”
This example deletes a disk group named human_resources.
44
Utility command reference