HP StorageWorks Storage System Scripting Utility reference (September 2005)

NOTE:
If no destination virtual di sk is presented to a host, a blank script will be generated for script 3.
Step 3 script
Presents remote virtual disks (creates LUNS) used for DR G roups to their hosts.
Youmustrunstep2onbothsourceanddestinationarraysbeforestep3canberun.
Restoring congurations
To restore system conguration from captured scripts, you must run the following scripts in the following
order on each array that is part of the DR conguration.
Be aware that a speciccapturedcong uration may not be recreated on some arrays. For example, if
acapturedconguration demands 120 disks and the target array contains only 80, the captured
conguration will not be successful.
1. Select a m anager to specify which HP Command View EVA will perform the script commands.
2. Select the array Uninitialized Storage System (WWN) to specify the uninitialized
storage system on which you want to recreate the captured conguration.
3. Run scripts 1A, 1B, and 1C successfully (and separately) on both source and destination arrays
in the DR conguration.
4. Run the step 2 script successfully (and separately) on both source and destination arrays in
the DR conguration.
5. Run the step 3 script successfully (and separately) on both source and destination arrays in
the DR conguration.
Once these scripts have been run against all arrays, the DR c on guration is restored to its original state.
Example
CAPTURE CONFIGURATION c:\sales.txt
This example creates the les sales_Step1A.txt, sales_Step1B.txt, sales_Step1C.txt,
sales_Step2.txt,andsales_Step3.txt.
NOTE:
Refer to the FILE command for further information about restoring congurations.
CAPTURE (VALIDATE)
Syntax
CAPTURE VALIDATE <file_name>
CAPTURE VALIDATE checks the specied script le for modic ation by calculating its checksum and
comparing the result aga inst the checksum saved in the le. A script may have been modied (failed
the C APTURE VALIDATE command) but may still work. The utility runs a script even if its checksum
shows le modication.
CAPTURE VALIDATE example
This e
xample determines whether the le name was modied.
HP StorageWorks Storage System Scripting Utilit y reference
43