Hp P6000 Continuous Access Software Manuel d'utilisateur Page 212

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 296
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 211
1 2 ... 207 208 209 210 211 212 213 214 215 216 217 ... 295 296

Commentaires sur ces manuels

Pas de commentaire