Migrating VCF as a Service workloads with cloud-to-cloud connections
You can use VMware Cloud Director Availability (VCDA) to create cloud-to-cloud connections to migrate your workloads between IBM Cloud® for VMware Cloud Foundation as a Service instances. Find out how to migrate VMware® by Broadcom virtual machine (VM) workloads across VMware Cloud Foundation (VCF) as a Service environments in the following video.
Objectives
In this tutorial, you learn how to create cloud-to-cloud connections between your instance and other VCF as a Service instances.
Before you begin
The VCDA service is optionally included in your VCF as a Service single-tenant Cloud Director site order at no charge and is included as a default option in VCF as a Service multitenant virtual data centers (VDCs).
This tutorial requires:
- An IBM Cloud billable account.
- Required user permissions. Ensure that your user account has sufficient permissions to create and manage VCF as a Service resources.
- A preprovisioned VCF as a Service Cloud Director site.
- The VCDA service is installed on your Cloud Director site instance.
- An existing VCF as a Service instance to migrate.
Create a pairing between VCF as a Service instances
-
From the VMware Solutions console, install VCDA on a VCF as a Service single-tenant source instance. For more information, see Adding and deleting VCDA.
-
Install VCDA on a VCF as a Service single-tenant destination instance.
-
Go to the source instance details page where you installed VCDA and click the Add-on services tab.
-
Click the VCF as a Service pairings tab and click Create pairing.
-
On the Create connection panel, complete the following configuration.
- For Zones, the default zone of the resource pool is displayed. If the instance has multiple PVDCs belonging to different zones, all the zones are displayed. Select the zone pairing.
- For Peer geography, the geography where the peer site is installed is displayed.
- For Peer site name, return to the VMware Cloud Director Availability details page and click the Instance endpoints tab. Click the Copy to clipboard icon for the Site name for the instance to pair. Paste the site name in the Create connection configuration.
- For Peer region, select the region where the peer site is installed.
- For Administrator notes, you can enter notes to provide more information for the pairing. The maximum length is 200 characters and the % & < > " ' / characters are not supported.
-
Click Create pairing. The Creating status is displayed. When the Waiting for peer pairing status is displayed, repeat the previous steps to complete the pairing connection with the Cloud Director site to pair.
-
In the VMware Solutions console, click Resources > VCF as a Service from the left navigation pane.
-
In the VMware Cloud Foundation as a Service table, click the Cloud Director site tab, then click a single-tenant instance name to pair with the first pairing.
-
Click the Add-on services tab, then expand the VMware Cloud Director Availability service.
-
On the VCF as a Service pairings tab, click Create pairing.
-
On the Create connection panel, complete the following configuration.
- For Zones, the default zone of the resource pool is displayed. If the instance has multiple PVDCs belonging to different zones, all the zones are displayed. Select the zone pairing.
- For Peer geography, the geography where the peer site is installed is displayed.
- For Peer site name, return to the VMware Cloud Director Availability details page and click the VCF as a Service pairings tab. Click the Copy to clipboard icon for the Peer site name that you created for the first pairing. Paste the site name in the Create connection configuration.
- For Peer region, select the region of the first pairing.
- For Administrator notes, you can enter notes to provide more information for the pairing. The maximum length is 200 characters and the % & < > " ' / characters are not supported.
-
Click Create pairing. The Available status is displayed when the pairing is complete.
The following pairing status options are available.
Status | Description |
---|---|
Creating | The pairing task starts. |
Waiting for peer pairing | The pairing is complete on one site. |
Available | The pairing is complete on both sites. |
Migrate your virtual machine through the VCF as a Service pairing
-
From the VMware Solutions console, go to the instance where you created the pairing and click VMware console.
-
Click More > Availability
datacenter_name
. For example, Availability (sdirw360t04vcda). -
From the left panel, click Incoming Replications.
-
From the Incoming Replications page, click ALL ACTIONS > New migration.
-
Provide the login credentials for the peer site and click LOGIN.
-
Select the following options in the New Incoming Migration window.
- For Source VMs and vApps: 2. From the SELECT SITE menu, select the name of the paired instance. The source VM for migration is displayed. 2. If the source VM is a multitenant instance, select the source organization ID from the Source organization menu. 2. Select the VM to migrate and click NEXT.
- For Destination VDC and Storage policy: 2. Select the target VDC to migrate the VM to. 2. If the destination VDC is a multitenant instance, select the target organization ID from the Target organization menu. 2. Click NEXT.
- For Settings, keep the default options and click NEXT.
- For Ready to complete, review the settings and click FINISH.
The VM is first configured and then synchronized. The replication is complete when the Last changed column moves from Synchronizing to the date and time of the replication.
-
When the replication is complete, ensure that the newly replicated VM is selected and click ALL ACTIONS > Migrate to begin the migration.
-
Select the following options from the Migrate window.
- For Migrate Settings, keep the default options and click NEXT.
- For Ready to complete, review the settings and click FINISH.
The VCDA service copies the runtime data from the source VM to the destination VM. When the replication is complete, the migrated VM powers on in the Cloud Director site and powers off in the source instance. The migration is complete when the Recovery state column moves from Not started to Failed-Over.
-
Click the destination virtual data center name to verify the migration. Click Compute > Virtual Machines to view the VM.
-
After the migration is complete, delete the failed-over migration. Click ALL ACTIONS > Delete replication.
The migration metadata is deleted. Deleting the replication does not delete the source or the destination VMs.