How to migrate your workloads to the UKCloud platform
UKCloud makes it easy for you to seamlessly migrate your existing workloads from a local VMware or Hyper-V powered data centre to our cloud platform.
Our workload migration service is powered by Zerto, a leading provider of disaster recovery software for the cloud.
This guide is intended for users who want to migrate their workloads onto the UKCloud platform.
Before you begin
When you request Workload Migration, UKCloud provides you with:
The IP address (from the IP range you provided to UKCloud) of the Zerto Cloud Connector (ZCC) deployed in your target VDC; you'll need this to complete the setup of the site-to-site VPN between your local environment and your UKCloud target VDC
A link to the appropriate version of the Zerto Virtual Manager (ZVM) for you to deploy in your local environment
A ZORG ID to identify your Zerto environment within the UKCloud platform
Access to the Zerto Self-Service Portal (ZSSP) in the appropriate UKCloud zone
You should consider the following:
VMs must be powered on to be synchronised
The operating system used by the source VMs must also be supported in the target site
To use our Workload Migration service, you must have a valid, centrally managed vSphere or HyperV estate. A single hypervisor is not sufficient.
The following table lists the minimum requirements for Workload Migration, based on the currently deployed version of Zerto Virtual Replication (4.5U4) on the UKCloud platform:
|VMware vCenter||4.0U1 -- 6.0U2|
|Microsoft SCVMM||2012 R2 and Server Core: Update Rollup 6-11 (recommended)
2012 R2 and Server Core: RTM
|VMWare ESX/ESXi||4.0U1-4.0U3, 4.0U4 , 4.1-6.0U1, 6.0U2|
|Microsoft Hyper-V||2012 R2 and Server Core|
|Virtual Machines Hardware Version|
|VMware||Up to Version 10|
|VM migration service|
|Full Duplex internet connection||5Mb/s minimum|
For a complete list of hypervisor features supported when using Workload Migration, see:
Migrating workloads to UKCloud
- Create a target VDC
- Set up your local environment
- Configure networking on the target site
- Create a virtual protection group
- Migrate your workloads
Create a target VDC
To migrate your workloads to the UKCloud platform, you must have a VDC in the intended target site. If you already have a compute service in the UKCloud site, you can use an existing VDC or you can create a new one using:
The UKCloud Portal (for more information see the Getting Started Guide for UKCloud for VMware)
The UKCloud Portal API (for more information see the How to use the UKCloud Portal API)
If you don't already have a compute service in the UKCloud site or you'd prefer UKCloud to create the VDC for you, you can request this as part of your Workload Migration Service Request.
Set up your local environment
Before you can start migrating your workloads to UKCloud, you need to prepare your local environment by:
Installing the appropriate version of Zerto Virtual Manager (ZVM) in your local environment
Creating a secure site-to-site VPN between your local environment and the UKCloud platform
For more information, see How to install and configure Zerto in your local environment.
Configure networking on the target site
You must configure any internally and externally routed networks in your UKCloud target VDC to duplicate those in your local environment. You must also configure the edge gateway with the same firewall, NAT and other rules. You'll create the mapping between these networks when you create your VPG.
When you migrate your workloads, external access to the UKCloud VDC will be via a different IP address. You'll need to account for any required DNS changes and external connectivity configuration (such as VPNs), to ensure continued external access. Utilising UKCloud's VMware cloud, you can configure this in advance. Alternatively, you can use load balancing technologies to manage a seamless switch between environments.
Create a virtual protection group
A virtual protection group (VPG) is a collection of VMs that are grouped together for migration. When you create a VPG, a replica of each VM disk is created on the target UKCloud site. These replica virtual disks are then populated with the data in the source VMs by synchronising the source VMs with the target site replicas.
For more information, see How to create a virtual protection group.
Migrate your workloads
Within Zerto, you have two options for migrating your workloads:
Move the VPG to the target site. This method performs an end-to-end migration, including removing the VMs from the source site after they have been moved. For more information, see the steps below.
Perform a live failover. This method provides more flexibility for you to control what happens on the source site after you move the VMs to the target site. For more information, see How to perform a failover.
To move a VPG:
Login to ZSSP.
If you need more detailed instructions, see How to access the Zerto Self-Service Portal. Use the ZSSP login link for the zone in which your target VDC is located.
From the ACTIONS menu at the bottom of the page, choose MOVE VPG.
In the Move wizard, on the Select VPGs page, select one or more VPGs that you want to move then click NEXT.
On the EXECUTION PARAMETERS page, the commit policy gives you the opportunity to check the integrity of the migrated VMs before committing the move. To change the commit policy, select the Commit Policy field and choose:
Auto-Commit if you want to automatically commit the move after a specified amount of time if there is no user interaction. Set the amount of time in the After field, up to a maximum of 1440 minutes (24 hours). If you want the move to be immediately committed, enter 0.
Auto-Rollback if you want to automatically roll back the move after a specified amount of time if there is no user interaction. Set the amount of time in the After field, up to a maximum of 1440 minutes (24 hours). If you want the move to be immediately rolled back, enter 0.
None if you do not want to apply a commit policy. You must manually commit or roll back the move.
The source VMs must be powered off before they can be migrated. If the VMs cannot be gracefully shut down, you can force a shutdown. To force shutdown, select the Force Shutdown check box. If you do not select this option and the VMs cannot be gracefully shut down, the move process fails.
Reverse protection ensures that when the source VMs are migrated to the target site, the source site becomes the new target site. Reverse protection is enabled by default, but you can disable it by clicking the Reverse Protection field and deselecting the REVERSE check box.
On the MOVE page, review the diagram to see the number of VPGs and VMs included in the move and where they will be moved to, then click START MOVE.
The move process creates the VMs in the target site.
If a VM already exists on the target site with the same name as one of the source VMs, a number is added to the end of the target VM name to ensure that it is unique.
If you set a commit policy with a time greater than zero, you can check the integrity of the migrated VMs before committing (or rolling back) the migration. When you've finished testing, you can either wait for the time to elapse before the auto commit or auto rollback, or on the VPGs tab, click the VPG Name and then click the Commit or Rollback icon as required.
After the migrated VMs are up and running and committed in the target site, the powered off VMs in the source site are removed from the source site and data from the journal is promoted to the migrated VMs. If you enabled reverse protection, the migrated VMs are protected on the source site.
To see what you can do with your application now that it's on the UKCloud platform, see the Getting Started Guide for UKCloud for VMware.
If you used failover to migrate your workloads, when you've determined that the migration has been successful, you should remove the original VMs from the source site to remove any workloads that are no longer required.