Hp P6000 Continuous Access Software Manual de usuario Pagina 212

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 296
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 211
Example
This template was generated to replicate one host volume and mount it on two different enabled
hosts. No other template options were selected.
TaskLine
// Replicate host volume(s), mount to a host, then to a different host.1
//2
// Assign some variables that will be used in this job.3
$source_hostvol_unc1 = SetVariable(%source_hostvol_unc1%)4
$source_host = SetVariable(%source_host%)5
$mount_host1 = SetVariable(%mount_host1%)6
$launch_host_name = SetVariable(%launch_host_name%)7
$mount_host2 = SetVariable(%mount_host2%)8
//9
// Validate that resources are as expected.10
ValidateHost ($launch_host_name)11
ValidateHost ($mount_host2)12
ValidateHost ($mount_host1)13
ValidateHostVolume ($source_hostvol_unc1)14
ValidateSnapshotHostVolume ($source_hostvol_unc115
//16
$Rep1 = SnapshotHostVolume ($source_hostvol_unc1, FULLY_ALLOCATED, SAME, WAIT) onerror pauseat E1:17
//18
// Mount the replicated volume(s) on a host.19
PresentStorageVolumes ($Rep1, $mount_host1) onerror pauseat E2:20
DiscoverDiskDevices ($mount_host1, $Rep1) onerror continue21
$HV1 = CreateHostVolumeFromDiskDevices ($source_hostvol_unc1, $Rep1, $mount_host1) onerror pauseat
E2:
22
$MP1 = MountHostVolume ($HV1, %mount_point1%) onerror pauseat E5:23
//24
// Launch a backup process on a host.25
Launch ($launch_host_name, %command_line%, "", WAIT, "0") onerror pauseat E6:26
//27
// Unmount the volume(s).28
E6: UnmountHostVolume ($MP1) onerror pauseat E6:29
E5: DeleteHostVolume ($HV1) onerror pauseat E5:30
//31
//32
PresentStorageVolumes ($Rep1, $mount_host2) onerror pauseat E2:33
212 Jobs
Vista de pagina 211
1 2 ... 207 208 209 210 211 212 213 214 215 216 217 ... 295 296

Comentarios a estos manuales

Sin comentarios