HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure User Manual page 211

Hp storageworks replication solutions manager 4.0.1 user guide (t3680-96308, june 2008)
Hide thumbs Also See for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure:
Table of Contents

Advertisement

Example
This template was generated to copy (restore) one storage volume. No other template options were
selected.
Line Task
1
// Synchronize storage volume(s) to other storage volume(s)
2
//
3
// Assign some variables that will be used in this job.
4
$source_storvol_unc1 = SetVariable(%source_storvol_unc1%)
5
$dest_storvol_unc1 = SetVariable(%dest_storvol_unc1%)
6
//
7
// Validate that resources are as expected.
8
ValidateStorageVolume ($dest_storvol_unc1)
9
//
10
// Begin flushing the cache on the storage volume(s).
1 1
DO {
12
SetStorageVolumeWriteCacheMode ($source_storvol_unc1, WRITE_CACHE_DISABLED, NOWAIT)
13
//
14
// Wait for the cache flush to complete.
15
WaitForStorageVolumeWriteCacheFlush ($source_storvol_unc1)
16
//
17
// Convert the destination storage volume(s) into container(s).
18
$CT1 = ConvertStorageVolumeIntoContainer ($dest_storvol_unc1)
19
//
20
SnapcloneStorageVolumeToContainer ($source_storvol_unc1, $CT1, NOWAIT)
21
//
22
} ALWAYS {
23
// Restore the writeback cache on the storage volume(s).
SetStorageVolumeWriteCacheMode ($source_storvol_unc1, WRITE_CACHE_ENABLED, NOWAIT)
24
onerror continue
25
//
26
}
27
//
28
Exit (SUCCESS
29
//
HP StorageWorks Replication Solutions Manager 4.0.1
21 1

Advertisement

Table of Contents
loading

Table of Contents