Replicating workloads
By replicating the workload from the source site to the destination site,
VMware Cloud Director
Availability
protects or migrates vApps and virtual machines. These replications are either incoming from a source site or outgoing to a destination site. One vApp or one virtual machine replicates only to one destination site.Replicate a single workload by protecting or
migrating its vApps and virtual machines from one source site to a single destination
site.
Replication Types
The replications are two types:
- Protection
- Protecting a vApp or a virtual machine from one organization to another keeps the workload running in the source site.
- Migration
- Migrating a vApp or a virtual machine to a remote organization runs the workload in the destination site.
The providers allow protections and
migrations separately, by using replication policies, either only incoming or only
outgoing or both, or neither.
By default, for a newly deployed
VMware Cloud Director
Availability
: - Protections are inactive in the default replication policy, both incoming and outgoing.To allow the protections to or from the site, the provider must modify the default policy. Alternatively, to keep disaster recovery only for subscribers, the provider assigns a custom policy to the organizations. For more information, see Configuring replication policies.
- Migrations are active in the default replication policy, both incoming and outgoing, to allow migrating workloads for everyone.
In
VMware Cloud Director
Availability
4.3 and later, for replications to and from
sites backed by VMware Cloud Director
with
Classic
data engine selected, when starting a replication
with a virtual machine that is already configured for replication by another
replication solution, VMware Cloud Director
Availability
reconfigures it for replicating.Replications Use Cases
VMware Cloud Director
Availability
supports cross-site
replications between the following source and destination sites, as shown in the table,
depending on both the source and the destination of the replication and the selected data
engine:- Classic data enginesupports both replication types - protections and migrations:
- VMC data enginesupports migrations only:
For more information, see Activate the
data engines for replicating workloads.
Source site* | Destination site | ||||||
---|---|---|---|---|---|---|---|
VMware Cloud Director
site | On-premises vCenter Server | CDS-managed VMC SDDC | CDS-managed AVS SDDC | CDS-managed GCVE SDDC | CDS-managed OCVS SDDC | CDS-managed on-premises pVDC | |
VMware Cloud Director
site | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
On-premises vCenter Server | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
CDS-managed VMC SDDC | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
CDS-managed AVS SDDC | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
CDS-managed GCVE SDDC | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
CDS-managed OCVS SDDC | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
CDS-managed on-premises pVDC | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
* For architecture and for deployment
information about the source and destination sites, see the following documentation:
- VMware Cloud Director-backed cloud sites - Deployment architecture in the Cloud Director site in the.Installation, Configuration, and Upgrade Guide in the Cloud Director Site
- On-premisesvCenter Serversites:
- On-premisesvCenter Serversite paired withVMware Cloud Director-backed cloud site - Deployment architecture on-premises in the.Installation, Configuration, and Upgrade Guide in On-Premises and Provider Site
- **vSphereDR and migration between twovCenter Serverinstances - Deployment architecture and requirements for vSphere DR and migration in the.Installation, Configuration, and Upgrade Guide in On-Premises and Provider Site
- CDS-managed VMC SDDC - for a software-defined data center (SDDC) in VMware Cloud on AWS (VMC) that is managed by VMware Cloud Director service (CDS) - Migration with VMware Cloud Director service in the.Migration with VMware Cloud Director service Guide
- CDS-managed AVS SDDC - for an SDDC in Azure VMware Services (AVS) that is managed by VMware Cloud Director service - Migration with VMware Cloud Director service in the.Migration with VMware Cloud Director service Guide
- CDS-managed GCVE SDDC - for an SDDC in Google Cloud VMware Solution (GCVE) that is managed by VMware Cloud Director service - Deployment architecture in the Cloud Director site in the.Installation, Configuration, and Upgrade Guide in the Cloud Director Site
- CDS-managed OCVS SDDC - for an SDDC in Oracle Cloud VMware Solution (OCVS) that is managed by VMware Cloud Director service - Deployment architecture in the Cloud Director site in the.Installation, Configuration, and Upgrade Guide in the Cloud Director Site
- CDS-managed on-premises pVDC - for an on-premises provider VDC managed by VMware Cloud Director service - Deployment architecture in the Cloud Director site in the.Installation, Configuration, and Upgrade Guide in the Cloud Director Site
Recovery Point Objective -
RPO
Shorter RPO lowers the data loss during recovery, at the expense of consuming more network bandwidth for keeping the destination site replica updated and increasing the volume of event data in the
vCenter Server
database. Shorter RPO requires all operations in the
background to complete in shorter time periods. Reducing the RPO increases the
stress for all infrastructure components and increases the demands for both the
source and for the destination sites and for the connectivity between them. For
information about monitoring the environment to discover possible bottlenecks and
implementing infrastructure changes for optimizing the flow of the replication data
traffic, see the Replication Flow document.
- Target RPO of Protections
- RPO is the longest tolerable time period of data loss from a protected workload.
VMware Cloud Director
Availability
4.3 and later, for protections the RPO
selection ranges from one minute to 24 hours. With shorter RPO, an I/O intensive
protected workload can cause RPO violations.Migrations RPO is 24 hours.
When each replication reaches its target RPO, in addition to updating the destination site replica the
Replicator Service
writes about 3800 bytes in the vCenter Server
events database. For reducing the volume of event data, configure a longer RPO or limit the number of days that vCenter Server
retains event data.Quiescing
To achieve a consistent state, quiescing the
Replicator Service
guarantees a failure consistency
among all disks in a virtual machine. - Activate Quiesce
- Activating quiescing might obtain a higher level of failure consistency among the disks belonging to a virtual machine.
Owner
For
vSphere
DR and migration between
vCenter Server
instances
not backed by VMware Cloud Director
, the
principal always is System
. This user is the
SSO Admin Username
that registers the appliance with
the vCenter Server Lookup
service
. This same user owns all replications, meaning all
users that see a replication have full control over it.VMware Cloud Director
, the user that starts a new replication becomes its
owner, depending on the selected default replication owner. After starting the
replication, the system administrator
can change the owner of
a selected replication. Any replication started by the system
administrator
is not visible to the respective organization and its
tenants unless the system administrator
explicitly changes
the replication ownership to the organization. To manage such a replication by a
tenant, change the replication owner to the organization of the tenant.- Change Default Replication Owner
- InVMware Cloud Director Availability4.4 and later, as asystem administrator, to change the default replication owner for new replications, in the left pane underConfiguration, clickSettings, then underSite settingsnext toDefault Replication owner, clickEdit. In theChange Default Replication Ownerwindow, select an owner as default for new replications and clickApply.
- System organization- assigns the system administrator as a default replication owner for new replications. Tenants do not see replications owned by the system organization.
- Tenant organization- assigns the organization in the destination* site as a default replication owner for new replications, allowing the tenants from the destination organization both to see and interact with the new replications.
- Change Existing Replications Owner
- As asystem administrator, to change the owner of one or more already started replications, in the left pane choose a replication direction and clickIncoming ReplicationsorOutgoing Replications, then select the replications and click . In theChange Replication Ownerwindow, select a new owner organization for the selected replications and clickApply.
- System organization- assigns the system administrator as the replications owner.
- Tenant organization- assigns the organization in the destination* site as replications owner.
Replication tasks initiated by the
system administrator
are not visible to the tenants, even after providing the organization with ownership.Modifying the Hardware of a
Source Virtual Machine While Protected by VMware Cloud Director
Availability
VMware Cloud Director
Availability
The hardware version of the virtual machines in the source site must not be higher than the destination site. This limitation applies both for
vSphere
DR and migration between vCenter Server
instances and for replications with cloud sites backed by VMware Cloud Director
. For information about the hardware versions, see Virtual Machine Compatibility in the documentation.
vSphere
- Adding another virtual disk to a replicated virtual machine at the source site pauses the replication.
- VMDK resizing withvSphere7.0 in the source site automatically resizes the protected virtual machine disk in the destination site, retaining the replication instances.
- Modifying the vCPU count or the RAM size of the source virtual machine replicates on RPO or on manual synchronization in the destination site.
Replicating Thin or Thick
Provisioning Virtual Disks
After starting a replication or changing
its storage profile,
VMware Cloud Director
Availability
creates the independent disk with thick provision
VMDK, which, on its first resize, becomes a thin provision VMDK. As a result, from the replication start
or change of storage profile until the first resize, the consumed storage equals
double the source virtual machine size.
Replications | Replica Disk Provisioning Type | |
---|---|---|
Replications using seed | Thin provision seed disk | Thin provision |
Thick provision lazy zeroed seed disk | Thick provision lazy zeroed | |
Thick provision eager zeroed seed disk | Thick provision eager zeroed | |
New replications with no seed in VMware Cloud Director
Availability 4.4 and
later | Allowed organization VDC thin provisioning. | Thin provision |
Disallowed organization VDC thin provisioning. | Thick provision lazy zeroed | |
Existing started replications:
| Retain the existing disks types, depending on the seed disk
types | |
vSphere DR and migration between vCenter Server
sites | When creating each replication, select one of the following
provisioning formats for the destination disk:
|
By default,
VMware Cloud Director
Availability
4.4 and later for new
replications:- To and from cloud sites backed byVMware Cloud Directorprovision the disk type, depending on whether the destination storage allows thin provisioning in theVMware Cloud Directororganization VDC. For more information, see Modify the VM Provisioning Settings of an Organization Virtual Data Center in thedocumentation.VMware Cloud Director
- ForvSphereDR and migration betweenvCenter Serversites, select the destination disk provisioning format when creating each replication.
The disk provisioning type never changes
after creating the replication: starting a replication permanently provisions its
replicated disks as thin or thick. The disk provisioning type does not change during
the replication lifespan, neither when performing a failover nor when performing a
migration.
Existing replications started in an
earlier
VMware Cloud Director
Availability
version,
after upgrading to version 4.4 retain their disk provisioning type, and for the
organization VDC storage policy to take precedence, delete the replications then
create and start them again, without using existing replication seeds.- Seed
- The replicated disk provisioning type always depends on whether a replication uses a seed. For information about the seeds, see Using replication seeds.
- When using seed in the replication, the provisioning of each replica disk retains the provisioning of each replication seed virtual machine disk:
- Thick-provisioned replication seed disks always provision thick lazy zeroed replica disks.
- Thin-provisioned replication seed disks always provision thin replica disks.
- When not using seed in the replication, the provisioning of the replicated disks follows the preceding logic.
Replicating Other Storage
- Non-volatile memory express (NVMe)
- To replicate virtual machines with an NVMe disk controller,VMware Cloud Director Availabilityrequires that both the source and the destination sites runvCenter Server7.0 U2 or later, andESXi7.0 U2 or later.
- Storage DRS (SDRS)
- At the protected site, storage DRS is supported.
- At the recovery site, storage DRS does not move replication files between datastores. Datastore maintenance mode, storage balancing, and IO balancing all ignore replication files. The only supported way to move the replication files between datastores is to change the storage policy.
- Raw Device Mapping (RDM)
- RDM invirtualcompatibility mode can be replicated.
- RDM inphysicalcompatibility mode is skipped from replication.
- Multi-writer Disks
- VMware Cloud Director Availabilitydoes not replicate disks in multi-writer mode.
- Independent Disks
- VMware Cloud Director Availabilitydoes not replicate independent disks.
- Change Block Tracking (CBT)
- VMware Cloud Director Availabilityinstances are not compatible with CBT in the source site. For information about the instances, see Using instances.
- IOfilters
- VMware Cloud Director Availabilitydoes not support vSphere APIs for IO Filtering neither in the source site, nor in the destination site.VMware Cloud Director Availabilitycannot replicate a source virtual machine assigned with a VM Storage Policy that contains IOFilters. You cannot assign such a policy to the destination virtual machine either. Before replicating a virtual machine, ensure its assigned VM Storage Policy does not contain IOFilters. Do not assign VM Storage policies with IOFilters to virtual machines configured for replication.
Storage Space Consumption in the
Destination
Replica files keep expanding until there is space on the datastore, disregarding any restrictions in
VMware Cloud Director
: VMware Cloud Director
Availability
resizes the independent disks associated with the replicated virtual machines to represent the actual used space by the replica data. That causes VMware Cloud Director
to display the actual allocation size, which might be greater than the configured allocation size limit of the organization VDC.Some replication settings and operations require double space in the destination storage, compared with the size of the source virtual machine.
- For both test failover and for reverse operations, the destination storage must accommodate double the space for the disk size of the source virtual machine. For information about the prerequisites for each operation, see Test failover a replication and Reverse a Replication. InVMware Cloud Director Availability4.2 and later, failover tasks require destination storage space equal to the source workload size. For information about the test failover storage consumption with examples for a datastore and for VMware vSAN storage, seeVMware Cloud Director AvailabilityStorage Requirements in the.Installation, Configuration, and Upgrade Guide in the Cloud Director Site
- When using seed, the destination storage must accommodate double the space for the disk size of the source virtual machine. For information about the space requirements when using seed, see Destination Datastore Space Consumption.