Skip to content

DR and Migration (nEC Public)

This article describes how the noris Enterprise Cloud (nEC) Public can be used for disaster recovery (DR), or how VMs from a vSphere farm can be migrated into it. It walks through setting up a VMware Cloud Director Availability (VCDA) on-premises appliance.

  • Administrator rights on a dedicated vSphere farm whose VMs are to be migrated into nEC Public.
  • An existing tenant on nEC Public.
  • A user with orgadm rights within the tenant.
  • The OVA image of the VMware Cloud Director Availability on-premises appliance (available in the Broadcom download area).
  • Further information is available in the vendor documentation for Cloud Director Availability.

The appliance needs access to vCenter with admin credentials. It also needs internet access to reach nEC Public. A suitable network for the appliance must be available.

OVA deployment wizard for the VCDA appliance

Selecting the appliance role in the deployment wizard

Network selection in the deployment wizard

Under “Customize template”, set the password and IP settings.

Password and IP settings in the deployment wizard

After the appliance starts, the login URL is shown on the console. Log in there with the password set during deployment, then change the password.

Console output of the VCDA appliance showing the login URL

If updates are available, they can be installed via the online repository.

Update screen of the VCDA appliance

Even though the appliance restarts automatically after an update, network settings may occasionally not be applied. This can be checked under “Configure Network”.

Network configuration of the VCDA appliance

Network configuration of the VCDA appliance, detail view

After a manual reboot, the network settings are applied correctly:

Confirmed network settings after reboot

The setup wizard can then be started.

Starting the setup wizard

Enter the vCenter URL and credentials. The certificate must also be confirmed.

Entering vCenter credentials in the setup wizard

Choose a name for the on-premises cluster. It will be visible under this name in nEC Public.

Naming the on-premises cluster

Under “Cloud Service Details”, the following information is required:

  • URL of the nEC Public VCDA Cloud Director endpoint:
  • Authorization Type: “VCD Local User”
  • Organization Admin: a user with orgadm rights from the nEC Public tenant
  • Password
  • Allow access from Cloud: enable this if you also want to configure replication from the cloud/nEC Public side, otherwise configuration is only possible via the on-premises appliance.

Cloud service details in the setup wizard

The connection to nEC Public is now prepared.

Completed connection to nEC Public

In the VMware Cloud Director of nEC Public, the on-premises site is now also visible under “More” → “Availability” → “Peer Sites”.

On-premises site under Peer Sites in VMware Cloud Director

A DR replication lets you replicate VMs from the on-premises site to the cloud at defined intervals. The retention (how many copies over what period) can also be chosen here. See the VCDA documentation for more details.

Replication can be set up either from the on-premises appliance or, if allowed, from the cloud side. The following example sets it up from the appliance.

Under “Outgoing Replications”, select “New Protection”.

Creating a new protection replication

If required, enter the tenant user’s credentials.

Entering tenant credentials

Select the VMs to be replicated.

Selecting the VMs to be replicated

Then select the OrgVDC and the destination storage in nEC Public.

Selecting OrgVDC and destination storage

Set RPO, retention, and so on (see the VCDA manual). Replication starts once confirmed.

Depending on RPO and retention, multiple instances may be visible. In the following example, an RPO of 30 minutes and a retention of 14 daily instances were chosen. The following day, 3 instances are therefore visible:

  • the instance with a 30-minute RPO,
  • the initial sync,
  • the daily instance backup (up to 14).

Overview of replication instances

The difference between “Migration” and “Protection” replication is that migration doesn’t allow specifying a retention, and the RPO is always 1 day.

There’s also a “Fast Migration” variant. It differs from regular “Migration” only in that no settings need to be filled in, default settings are applied instead.

Choosing between Migration and Fast Migration

Among other things, the recovery settings let you predefine the destination network in nEC Public:

Recovery settings with destination network definition

The actual migration is triggered via “Migrate” in the “All Actions” menu (started here from VMware Cloud Director).

"Migrate" action in the All Actions menu

Before the migration starts, the actions that will be performed are listed:

Overview of migration actions before starting

The VMs only become visible in nEC Public after the migration completes.

“Reverse” lets you set up replication in the opposite direction (cloud → on-premises).

"Reverse" option to reverse the replication direction

The VM then appears under Outgoing Replications (from nEC Public’s perspective) and could also be migrated back on-premises.

VM in Outgoing Replications after migration