Hp P6000 Continuous Access Software Uživatelský manuál Strana 214

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 296
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 213
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 preallocated snapclone
replication.
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 some older versions of controller software.
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 replicate one host volume. No other template options were selected.
TaskLine
// Replicate host volume(s) via pre-allocated replication, and mount to a 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_host = SetVariable(%mount_host%)6
//7
// Validate that resources are as expected.8
ValidateHost ($source_host)9
ValidateHost ($mount_host)10
ValidateHostVolume ($source_hostvol_unc111
//12
// Begin flushing the cache on the host volume(s).13
SetHostVolumeWriteCacheMode ($source_hostvol_unc1, WRITE_CACHE_DISABLED, NOWAIT) onerror pauseat
E1:
14
//15
// Wait for the cache flush to complete.16
WaitForHostVolumeWriteCacheFlush ($source_hostvol_unc1) onerror pauseat E1:17
//18
#Prepare the container(s) for host volume replication19
PrepareContainerForHostDiskDeviceReplication ( %hostvol_unc_name%, %managed_set_of_containers%,
%copytype% ) onerror continue
20
DO {21
$Rep1 = SnapshotHostVolumeToContainersInManagedSet ($source_hostvol_unc1, %dest_container_set1%,
FULLY_ALLOCATED, NOWAIT) onerror pauseat E1:
22
//23
214 Jobs
Zobrazit stránku 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 295 296

Komentáře k této Příručce

Žádné komentáře