Hp P6000 Continuous Access Software Manual do Utilizador Página 216

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 215
Template options
Number of components to mount. Adds commands for each component.
Suspend source before replication. Adds launch commands for interacting with an enabled
host, for example to suspend and resume host application I/O.
Launch backup after replication. Adds a launch command for interacting with an enabled
host, for example, to start a tape backup.
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.
Considerations
Tru64 UNIX. When replicating AdvFS volumes that have heavy I/O, select the option Suspend
source before replication. See Suspending I/O before replicating AdvFS volumes.
Example
This template was generated to locally replicate and mount one host volume. No other template
options were selected.
TaskLine
// Replicate a host volume, and mount slices/partitions/LVs to a host.1
//2
// Assign some variables that will be used in this job.3
$mount_host = SetVariable(%mount_host%)4
$source_host = SetVariable(%source_host%)5
$source_hostvol_unc1 = SetVariable(%source_hostvol_unc1%)6
//7
// Validate that resources are as expected.8
ValidateHost ($mount_host)9
ValidateHostVolume ($source_hostvol_unc1)10
ValidateSnapshotHostVolume ($source_hostvol_unc1)11
//12
$Rep1 = SnapshotHostVolume ($source_hostvol_unc1, FULLY_ALLOCATED, SAME, WAIT) onerror pauseat E1:13
//14
// Mount the replicated volume(s) on a host.15
PresentStorageVolumes ($Rep1, $mount_host) onerror pauseat E2:16
DiscoverDiskDevices ($mount_host, $Rep1) onerror continue17
$HV1 = CreateHostVolumeFromDiskDevices ($source_hostvol_unc1, $Rep1, $mount_host) onerror pauseat E2:18
$MP1 = MountHostVolume ($HV1, %mount_point1%) onerror pauseat E3:19
//20
// Wait for user to initiate rollback.21
Pause ()22
216 Jobs
Vista de página 215
1 2 ... 211 212 213 214 215 216 217 218 219 220 221 ... 295 296

Comentários a estes Manuais

Sem comentários