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 configurations
To restore system configuration from captured scripts, you must run the following scripts in the following
order on each array that is part of the DR configuration.
Be aware that a specificcapturedconfig uration may not be recreated on some arrays. For example, if
acapturedconfiguration demands 120 disks and the target array contains only 80, the captured
configuration 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 configuration.
3. Run scripts 1A, 1B, and 1C successfully (and separately) on both source and destination arrays
in the DR configuration.
4. Run the step 2 script successfully (and separately) on both source and destination arrays in
the DR configuration.
5. Run the step 3 script successfully (and separately) on both source and destination arrays in
the DR configuration.
Once these scripts have been run against all arrays, the DR c on fi guration is restored to its original state.
Example
CAPTURE CONFIGURATION c:\sales.txt
This example creates the files 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 configurations.
CAPTURE (VALIDATE)
Syntax
CAPTURE VALIDATE <file_name>
CAPTURE VALIDATE checks the specified script file for modific ation by calculating its checksum and
comparing the result aga inst the checksum saved in the file. A script may have been modified (failed
the C APTURE VALIDATE command) but may still work. The utility runs a script even if its checksum
shows file modification.
CAPTURE VALIDATE example
This e
xample determines whether the file name was modifi ed.
HP StorageWorks Storage System Scripting Utilit y reference
43