V11 SP8
Loading...

Configuring Live Sync

Configure Live Sync on the backup set or subclient for virtual machines to be replicated. Live Sync can be used to replicate virtual machines from a streaming backup, auxiliary copy, or backup copy. You cannot replicate virtual machines from IntelliSnap backups.

If a virtual machine in a Live Sync schedule is protected by multiple subclients or backup sets, the VM will be replicated from the subclient with the latest backup.

The best method for scheduling backups of source VMs is to use the “Incremental Forever” approach:

  • Perform an initial full or synthetic full backup to create destination instances using Live Sync.
  • After the destination instance is created, run regular incremental backups to keep the destination instance current.
  • Run a synthetic full backup on a periodic basis to consolidate incremental backups into full backups without the need to touch production instances. Synthetic full backups trigger a Live Sync operation, but only apply changes from any incremental backups that have not yet been replicated.

Note: Do not schedule full backups; a full backup results in recreating the destination instance.

Before You Begin

  • Assign permissions for the AWS user as described in Amazon Web Services User Permissions for VM Conversion.
  • To add virtual machines to the Live Sync schedule, the virtual machines must have been backed up at least once.
  • You can use any VSA proxy to perform the Live Sync operation, either running on an Amazon instance or externally with connectivity into the Amazon account. Using an external proxy avoids the cost associated with running an Amazon instance.
  • To validate synced instances, the Validate Destination Instance (Power ON & OFF) option must be ON in the Live Sync schedule.

Procedure

  1. From the CommCell Console, navigate to Client Computers > virtualization_client > Virtual Server > VMware > backup_set.
  2. Right-click the backup set that contains the virtual machine data, and then select All Tasks > Live Sync > Configuration.

    Or from a subclient, right-click the subclient, and then select Live Sync > Configuration.

  3. From the Select Live Sync Destination dialog box, select Amazon, and then click OK.
  4. From the Live Sync Options dialog box (General tab), click Add VMs.

    VMs that are already selected for the same schedule are grayed out.

  5. In the Select VMs for Live Sync dialog box, select the virtual machines that have been backed up, and then click OK.
  6. In the Live Sync Options dialog box define the following:
    Option Steps
    Amazon Key From this list, select the Amazon virtualization client that was created with appropriate access keys for the AWS account.
    Proxy Client Displays the name of the proxy computer that will be used to perform the Live Sync operation. By default, the proxy computer that was specified at the instance level is used to replicate changes to the destination instance. To use a different proxy, select the name of the proxy from the list.
    Add VMs Click to browse for backed up virtual machines that can be replicated.
    Remove VMs Click to remove selected VMs from the replication schedule.
    Instance and Volume This column displays the list of all the source virtual machines and disks (instances and volumes) selected for sync. Expand each virtual machine (instance) to view the disks (volumes).
    Change Instance display name to Edit the entry in this column to specify a new name for the destination instance.
    Availability Zone From this list, select the availability zone where the destination instance should be imported. Availability zones are provided through your Amazon account.
    Amazon Options

    Click Configure to define additional configuration Options. You can select more than one instance at a time to define these settings.

    • Destination VM: Displays the name of the destination instance.
      • Edit Destination VM Name: Select Prefix or Suffix, and then enter a string that should be appended to all destination VM names.

        Note: This field is applicable only when multiple VMs are selected in a Live Sync schedule.

    • Availability Zone: Select the availability zone where the instance is imported. Availability zones are provided through your Amazon account.
    • Instance Type: From this list, select an instance type that provides the available CPU cores and memory for the instance. If you choose Auto (the default option), the instance type is selected based on the corresponding settings for the source VM. The destination instance type must be equal to or greater than the specifications of the source VM.
    • Operating System: Select Windows 64-bit, Windows 32-bit, or Linux 64-bit to match the operating system of the source VM. If necessary, you can select Auto to automatically detect the operating system of the source VM.
    • Network Settings: Select an EC2 or a VPC network for the restored instances.
      • Network: If you select an EC2 network, the second Network and Private IP fields are not displayed. 

        For a VPC network, select a subnet and network interface for the primary network interface.

      • Private IP: (Applicable only to VPC) If you select a new network interface as a VPC, specify a private IP that corresponds with the VPC. 

        If you specify a specific Private IP, we will create and attach the network interface with that IP. If you leave the Private IP field blank, we will create a new network interface that will match with the chosen VPC, and then attach it.

      • Network: (Applicable only to VPC) For a VPC network, select a subnet and network interface for the secondary network.
      • Private IP: (Applicable only to VPC) If you select a new network interface as a VPC, specify a private IP that corresponds with the VPC.

        If you specify a specific Private IP, we will create and attach the network interface with that IP. If you leave the Private IP field blank, we will create a new network interface that will match with the chosen VPC, and then attach it.

      • Security Groups: Select a security group for the specified network.
    Validate Destination Instance (Power ON & OFF) Select this option to power on or power off the converted instance automatically after it is created in Amazon. This ensures that the synced instance is usable.
    Unconditionally overwrite Instance with the same name If you are replacing an existing instance in Amazon, select this option to overwrite the existing instance and its volumes and replace them with the newly converted instance and volumes. The overwrite option succeeds only if there is a single instance in Amazon with the same name. If there are multiple instances with the same name, the job goes pending.
    Amazon Bucket From this list, select an Amazon S3 bucket that can be used as temporary storage for disks.
    Distribute VM workload To submit separate jobs for a Live Sync schedule, select this option and select the number of VMs per job. When this option is used, jobs are submitted sequentially, with each job beginning after the previous job has completed.
  7. To replicate changes from an auxiliary copy or backup copy:
    1. Click Advanced
    2. In the Advanced Live Sync Options dialog box, click the Copy Precedence tab.
    3. Select Restore from copy precedence, and then enter the number of the storage copy properties for the auxiliary copy or backup copy.

    When Live Sync is configured to use an auxiliary copy or backup copy, the Live Sync operation uses the copy as the source rather than the primary backup. If the After Backup Job Completes option is selected in the schedule, Live Sync automatically waits until the data is ready on the secondary copy before running the Live Sync job.

  8. Click the Job Initiation tab.
  9. Select Schedule to create a schedule for replication.
  10. On the Schedule Details dialog, enter a schedule name, and then select one of the following options:
    • After Backup Job Completes: Automatically copy changes to the destination VM after each backup job.
    • If the schedule is configured to sync from a secondary copy, Live Sync automatically waits until the data is ready on the secondary copy before running the Live Sync job.
    • To replicate changes on a periodic basis, select Daily, Weekly, Monthly, or Yearly; then set up the Live Sync schedule to control how often changes are replicated to the destination VM. If no new backups have been run since the last Live Sync, the scheduled Live Sync does not run.

Results

For Live Sync jobs, the Job Controller tab shows the Operation Type value as Replication. Separate Live Sync jobs run for virtual machines in different subclients.

For destination instances created by Live Sync, any changes on the destination instance are discarded, and the latest changes from the source VM are applied so that the source and destination instances remain in sync.

If the destination virtual machine is powered on, the Live Sync fails.

If a Live Sync operation cannot be completed successfully after three attempts, the job fails. Live Sync jobs can be retried three times. After three failures for a virtual machine, Live Sync is disabled for that virtual machine.

In the Job Details dialog box (available from the Job Controller or restore history), the Virtual Machine Status tab provides status information for VMs. Double-click the row for a VM to view the following information for that virtual machine:

Destination VM The name of the destination instance.
Availability Zone The host name for the machine where the destination virtual machine resides.
Status The job status of the Live Sync operation for the instance (such as Completed, Waiting, Pending, or Failed).
Failure Reason For failed Live Sync operations, a brief description of the reason for the failure.
Proxy The name of the proxy that performed the Live Sync operation.
Validation Status The result of validation for the destination VM by powering the VM on and off:

Success: The destination instance is usable.

Failure: The destination instance failed validation.

Not Validated (Option Not Selected): Validation was not performed because the Validate Destination VM option was not selected.

Not Validated: Validation was not attempted (for example, because the job failed). This value is the default; it is used if a more specific value cannot be determined.

Restored Size The amount of data synced for the source virtual machine
Sync Status The replication status for the destination instance.
Last Synced Backup Job The job ID for the last backup job that was applied to the destination instance.