Loading...

Changed Block Tracking for OpenStack

Commvault Changed Block Tracking (CBT) for OpenStack is a mechanism that enhances the incremental backup performance of large OpenStack cinder volumes. When enabled, CBT generates and maintains a bitmap file (which contains snapshots) of a cinder volume before and after an incremental backup operation runs. These snapshots are used as reference points. When a CBT-enabled backup is initiated, the OpenStack cvcompute API detects the changed data blocks since the last bitmap (reference point) generated during the previous CBT-enabled backup operation for that volume. Only the changed blocks that the OpenStack cvcompute API detects are backed up and written to backup media. After the incremental backup operation is complete, the previous bitmap file (reference point) that was used is deleted. The current operation's bitmap file is then used as the reference point for the next CBT-enabled incremental backup operation.

How It Works

CBT for OpenStack utilizes Commvault's new native service named cvcompute. The service, which communicates by way of the VSA using cvcompute-api endpoints, runs on all of the Nova controller nodes. These nodes communicate, using Remote Procedure Call (RPC) protocol, to a daemon cvcompute-svc running on each Nova compute node. After enabling CBT for OpenStack, when the first backup runs on a CBT-enabled subclient, the cvcompute-svc tracks the changed data blocks on each volume attached to given virtual machines. During subsequent incremental backups, when queried by VSA, the cvcompute-svc identifies the changed blocks and only those blocks will be backed up.

Considerations

  • CBT is supported for OpenStack environments deployed with the KVM hypervisor.
  • CBT is supported for OpenStack streaming backups only.
  • CBT is supported for OpenStack instances created from cinder volumes only. For OpenStack instances created from glance images, CBT will be disabled.
  • CBT is supported for OpenStack subclients created in this release and future releases. Existing subclients created in previous releases will continue to use the traditional CRC backup method.
  • If a CBT-enabled backup operation fails for any reason, a new reference point will not be created, and the next CBT-enabled backup run will run from the last reference point.
  • If an instance is in a POWER OFF state, then CBT will be disabled. The backup operations will be full backups.

For more information, see Enable or Disable Changed Block Tracking for OpenStack.

Last modified: 8/30/2019 2:15:39 PM