Replicate Host Volumes, Mount To A Host, Then To A Different Host (Template) - HP 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure Command Reference Manual

Job command reference
Hide thumbs Also See for 418800-B21 - StorageWorks Modular Smart Array 70 Storage Enclosure:
Table of Contents

Advertisement

Replicate host volumes, mount to a host, then to a different host (template)

Template summary
Involves five enabled hosts, EH1 through EH5*.
A.
Locally replicates (copies) the storage volumes that underlie a host volume on an EH1.
B.
Presents the underlying storage volume copies to EH2 (creates a new host volume).
C.
Mounts the new host volume on EH2, launches a backup process on EH3, and waits for the
process to complete. After completion, unmounts and deletes the new host volume from EH2.
D.
Mounts the new host volume on EH4, launches a backup process on EH5, and waits for the
process to complete. After completion, unmounts and deletes the new host volume from EH4.
E.
Unpresents and deletes the storage volume copies from the storage system.
* EH1 though EH5 are labels in the summary only. They are not variables in the template.
Template options
Number of volumes to replicate. Adds commands for each volume.
Suspend source before replication. Adds launch commands for interacting with an enabled host,
for example to suspend and resume host application I/O.
Use snapclone instead of snapshot. Generates a template that uses snapclone replication.
Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See SetNotificationPolicy.
Comments
Linux. Do not use this template with Linux volume groups.
Tru64 UNIX. When replicating AdvFS volumes that have heavy I/O, select the option Suspend
source before replication.
Example
This template was generated to replicate one host volume and mount it on two different enabled hosts.
No other template options were selected.
Line Task
1
// Replicate host volume(s), mount to a host, then to a different host.
2
//
3
// Assign some variables that will be used in this job.
4
$source_hostvol_unc1 = SetVariable(%source_hostvol_unc1%)
5
$source_host = SetVariable(%source_host%)
6
$mount_host1 = SetVariable(%mount_host1%)
7
$launch_host_name = SetVariable(%launch_host_name%)
8
$mount_host2 = SetVariable(%mount_host2%)
9
//
10
// Validate that resources are as expected.
1 1
ValidateHost ($launch_host_name)
12
ValidateHost ($mount_host2)
62
Job concepts, templates and commands

Advertisement

Table of Contents
loading

Table of Contents