HP P6000 Replication Solutions Manager Job Command Reference (T3680-96090, October 2012)
SetStorageVolumeWriteCacheMode ($source_storvol_unc1, WRITE_CACHE_ENABLED, NOWAIT) onerror
continue
24
//25
}26
//27
Exit (SUCCESS28
//29
Mount existing storage volumes (template)
Template summary
A. Creates a host volume by presenting an existing* storage volume to an enabled host.
B. Mounts the host volume.
C. Pauses the job until continued by a user.
D. After continuing, unmounts and deletes the host volume.
* A storage volume that is created by means other than this job. The volume must exist and be in
the replication manager database when this job is run.
Template options
• Number of volumes to replicate. Adds commands for each volume.
• Launch backup after replication. Adds a launch command for interacting with an enabled
host, for example, to start a tape backup.
• Include e-mail notification. Adds a command for e-mail notification of the job instance status.
See SetNotificationPolicy.
Comments
• This template cannot be used with HP-UX host volumes.
• When used with Tru64 UNIX hosts, this template supports only UFS file systems.
Example
This template was generated to mount one existing storage volume on a host. No other template
options were selected.
TaskLine
// Mount existing storage volume(s).1
//2
// Assign some variables that will be used in this job.3
$storvol_unc1 = SetVariable(%storvol_unc1%)4
$mount_host = SetVariable(%mount_host%)5
//6
// Validate that resources are as expected.7
ValidateHost ($mount_host)8
Job templates 59