Hewlett-Packard 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure Command Reference Manual
Download Command reference manual of HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure Adapter, All in One Printer for Free or View it Online on All-Guides.com.
Brand: HP
Category: Adapter , All in One Printer , Carrying Case , Network Router , Printer , Printer Accessories , Server , Storage
Type: Command reference manual
Model: HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure , HP 8100
Pages: 207 (2.25 Mb)
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
Va lidateStorageVolume ($source_storvol_unc1)
11
Va lidateSnapshotStorageVolume ($source_storvol_unc1)
12
//
13
$Rep1 = SnapshotStorageVolume ($source_storvol_unc1, FULLY_ALLOC ATED, SAME, $ dest_storvol1,
WAIT) onerror pauseat E1:
14
//
15
// Create disk device(s) on a host.
16
CreateDisk
Device ($Rep1, $mount_host, %LUN%, R EAD_WRITE) onerror pauseat E2:
17
//
18
//Waitforusertoinitiaterollback.
19 Pa use ()
20
//
21
// Rollback.
22
E3: RemoveD
iskDevice ($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.
HP StorageWorks Replication Solutions Manager 4.0.1
69