Line Task
1
// Replicate storage volume(s) via pre-allocated replication.
2
//
3
// Assign some variables that will be used in this job.
4
$source_storvol_list = SetListVariable(%source_storvol_list%)
5
$dest_container_list = SetListVariable(%dest_container_list%)
6
//
7
// Validate that resources are as expected.
8
ValidateStorageVolumes ($source_storvol_list)
9
//
10 // Begin
fl
ushing the cache on the storage volume(s).
11
SetStorageVolumesWriteCacheMode ($source_storvol_list, WRITE_CACHE_DISABLED, NOWAIT)
onerror pauseat E1:
12 //
13 // Wait for the cache
fl
ush to complete.
14 WaitForStorageVolumesWriteCacheFlush ($source_storvol_list) onerror pauseat E1:
15 //
16 DO {
17 $Rep1 = SnapshotStorageVolumesToContainers ($source_storvol_list, $dest_container_list,
FULLY_ALLOCATED, NOWAIT) onerror pauseat E2:
18 //
19 } ALWAYS {
20 // Restore the writeback cache on the storage volume(s).
21 SetStorageVolumesWriteCacheMode ($source_storvol_list, WRITE_CACHE_ENABLED, NOWAIT)
onerror continue
22 //
23 }
24 //
25 // Wait for user to initiate rollback.
26 Pause ()
27 //
28 E2: DeleteStorageVolumes ( $Rep1 ) onerror pauseat E2:
29 //
30 Exit (SUCCESS)
31 //
32 // Failure exit - no rollback needed.
33 E1: Exit (FAILURE
HP StorageWorks Replication Solutions Manager 4.0.1
243
Summary of Contents for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure
Page 16: ...Tables 1 Document conventions 18 16 ...
Page 20: ...20 About this guide ...
Page 56: ...56 Replication Solutions Manager ...
Page 160: ...160 Host volumes ...
Page 384: ...384 Managed sets ...
Page 402: ...402 Oracle ...
Page 412: ...412 Storage systems ...
Page 444: ...444 Virtual disks ...
Page 456: ...456 CLUI ...