![HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure User Manual Download Page 240](http://html.mh-extra.com/html/hp/418800-b21-storageworks-modular-smart-array-70-storage-enclosure/418800-b21-storageworks-modular-smart-array-70-storage-enclosure_user-manual_155409240.webp)
Line Task
1
// Replicate raw storage volume(s), and mount to a host.
2
//
3
// Assign some variables that will be used in this job.
4
$source_storvol_unc1 = SetVariable(%source_storvol_unc1%)
5
$dest_storvol1 = SetVariable(%dest_storvol1%)
6
$mount_host = SetVariable(%mount_host%)
7
//
8
// Validate that resources are as expected.
9
ValidateHost ($mount_host)
10 ValidateStorageVolume ($source_storvol_unc1)
11
ValidateSnapshotStorageVolume ($source_storvol_unc1)
12 //
13 $Rep1 = SnapshotStorageVolume ($source_storvol_unc1, FULLY_ALLOCATED, SAME, $dest_storvol1,
WAIT) onerror pauseat E1:
14 //
15 // Create disk device(s) on a host.
16 CreateDiskDevice ($Rep1, $mount_host, %LUN%, READ_WRITE) onerror pauseat E2:
17 //
18 // Wait for user to initiate rollback.
19 Pause ()
20 //
21 // Rollback.
22 E3: RemoveDiskDevice ($Rep1, $mount_host) onerror pauseat E2:
23 //
24 E2: DeleteStorageVolume ($Rep1) onerror pauseat E2:
25 //
26 Exit (SUCCESS)
27 //
28 // Failure exit - no rollback needed.
29 E1: Exit (FAILURE)
Replicate storage volumes (template)
Template summary
A.
Locally replicates (copies) storage volumes.
B.
Pauses the job.
C.
After continuing, deletes the storage volume copies from the storage system.
240
Jobs
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 ...