|
1 |
| -# Move2Cloud: Migrating VMware Workloads to OVHcloud Hosted Private Cloud with Veeam Replication |
2 | 1 | ---
|
3 | 2 | title: "Move2Cloud: Migrating VMware Workloads to OVHcloud HPC with Veeam Replication"
|
4 | 3 | excerpt: "Learn how to migrate your on-prem VMware workloads to an OVHcloud Hosted Private Cloud environment using Veeam Replication."
|
5 | 4 | updated: 2025-01-28
|
6 | 5 | ---
|
| 6 | + |
7 | 7 | ## Objective
|
8 | 8 |
|
9 |
| -This guide outlines the steps to migrate your on-premises VMware workloads to an OVHcloud Hosted Private Cloud (HPC) using Veeam Replication. It walks you through migrating your workloads smoothly with as little downtime as possible. |
| 9 | +This guide explains how to migrate your on-premises VMware workloads to an OVHcloud Hosted Private Cloud (HPC) using Veeam Replication. The steps are straightforward and designed to minimize downtime. |
10 | 10 |
|
11 | 11 | ## Requirements
|
12 | 12 |
|
13 |
| -Before getting started, make sure you have the following: |
14 |
| - |
15 |
| -1. **Prepare your source environment:** |
16 |
| - - A complete list of VMs with FQDNs and IP addresses. |
17 |
| - - Updated operating systems and mapped dependencies. |
18 |
| - - Subnets and VLAN IDs for planning your network. |
19 |
| - |
20 |
| -2. **Prepare the target environment:** |
21 |
| - - Correctly sized resources (hosts, datastores, vSAN clusters). |
22 |
| - - A Hosted Private Cloud with NSX-T and VLANs, if needed. |
23 |
| - - A valid Veeam Backup & Replication (B&R) license. |
24 |
| - |
25 |
| -3. **Network setup:** |
26 |
| - - A VPN tunnel or OVHcloud Connect (optional) for secure communication. |
27 |
| - |
28 |
| -4. **Core services and tools:** |
29 |
| - - Access to vCenter. |
30 |
| - - Pre-configured DNS, NTP, and authentication services in HPC. |
31 |
| - |
32 |
| -5. **Access to documentation:** |
33 |
| - - Relevant OVHcloud and Veeam guides for configuration details. |
| 13 | +Before getting started, you’ll need: |
| 14 | +- A complete list of VMs with FQDNs, IP addresses, and dependencies. |
| 15 | +- Correctly sized target resources (e.g., hosts, datastores, vSAN clusters). |
| 16 | +- A valid Veeam Backup & Replication (B&R) license. |
| 17 | +- Access to vCenter and pre-configured DNS, NTP, and authentication services in HPC. |
| 18 | +- A secure network connection (VPN or OVHcloud Connect). |
| 19 | +- Relevant OVHcloud and Veeam guides for setup details. |
34 | 20 |
|
35 | 21 | ## Instructions
|
36 | 22 |
|
37 |
| -### 1. Inventory Source VMs and Network Configuration |
| 23 | +### 1. Inventory source VMs and network configuration |
38 | 24 | - List all VMs with their FQDNs, IP addresses, operating systems, and dependencies.
|
39 | 25 | - Group VMs by application to reduce service interruptions during migration.
|
40 | 26 | - Document subnets and VLAN IDs for replication planning.
|
41 | 27 |
|
42 |
| -### 2. Size Target Resources |
| 28 | +### 2. Size target resources |
43 | 29 | - Calculate your needs for cores, RAM, and storage.
|
44 | 30 | - Decide on storage types (NFS or vSAN) based on performance requirements.
|
45 | 31 | - Plan VLAN routing and network segregation with NSX-T if needed.
|
46 | 32 |
|
47 |
| -### 3. Whitelist IPs for vCenter Access |
| 33 | +### 3. Whitelist IPs for vCenter access |
48 | 34 | - Allow required IPs to access the vCenter through the OVHcloud Secure SSL Gateway.
|
49 | 35 | - Follow the [guide to whitelist IPs](https://help.ovhcloud.com/csm/en-gb-vmware-authorise-ip-addresses-vcenter?id=kb_article_view&sysparm_article=KB0045321).
|
50 | 36 |
|
51 |
| -### 4. Set Up Roles and Permissions |
| 37 | +### 4. Set up roles and permissions |
52 | 38 | - Mirror roles and permissions from your current environment in HPC.
|
53 | 39 | - Use OVHcloud IAM or integrate your existing IAM (e.g., Active Directory, Okta).
|
54 | 40 | - Enable SSO via ADFS using [this guide](https://help.ovhcloud.com/csm/en-gb-connect-saml-sso-adfs?id=kb_article_view&sysparm_article=KB0043008).
|
55 | 41 |
|
56 |
| -### 5. Build Your Target Network |
| 42 | +### 5. Build your target network |
57 | 43 | - Set up VLANs, routing, and traffic flow matrices in NSX-T.
|
58 | 44 | - Configure dVS and NSX-T gateways for network segregation and filtering.
|
59 | 45 | - Check the [NSX first steps guide](https://help.ovhcloud.com/csm/en-gb-vmware-nsx-first-steps?id=kb_article_view&sysparm_article=KB0056831).
|
60 | 46 |
|
61 |
| -### 6. Deploy Core Services in HPC |
| 47 | +### 6. Deploy core services in HPC |
62 | 48 | - Deploy services like NTP, DNS, and authentication to reduce cross-traffic.
|
63 | 49 | - Use `ntp.ovh.net` for time synchronization.
|
64 | 50 | - Set up DNS services, such as an AD Domain Controller.
|
65 | 51 |
|
66 |
| -### 7. Install Veeam B&R Server |
| 52 | +### 7. Install Veeam B&R server |
67 | 53 | - Install Veeam Backup & Replication on your OVHcloud HPC.
|
68 | 54 | - Activate the license using [this guide](https://help.ovhcloud.com/csm/en-gb-public-cloud-storage-veeam-backup-replication?id=kb_article_view&sysparm_article=KB0046503).
|
69 | 55 |
|
70 |
| -### 8. Configure a VPN Tunnel |
| 56 | +### 8. Configure a VPN tunnel |
71 | 57 | - Create an IPsec tunnel between your on-prem infrastructure and OVHcloud.
|
72 | 58 | - Use NSX, Stormshield, or OpnSense for the configuration:
|
73 | 59 | - [NSX VPN setup](https://help.ovhcloud.com/csm/en-gb-vmware-nsx-configure-ipsec?id=kb_article_view&sysparm_article=KB0058696)
|
74 | 60 | - [Stormshield VPN setup](https://documentation.stormshield.eu/SNS/v4/en/Content/User_Configuration_Manual_SNS_v4/IPSec_VPN/IPSEC_VPN.htm)
|
75 | 61 | - [OpnSense VPN setup](https://docs.opnsense.org/manual/how-tos/ipsec-s2s.html)
|
76 | 62 | - Or use [OVHcloud Connect](https://www.ovhcloud.com/fr/network/ovhcloud-connect/) for low-latency and high bandwidth.
|
77 | 63 |
|
78 |
| -### 9. Deploy Veeam Proxy Server |
79 |
| -- Set up a Veeam proxy on your on-prem infrastructure. |
80 |
| -- Verify connectivity with the Veeam B&R server in the HPC. |
81 |
| -- Follow the [proxy setup guide](https://helpcenter.veeam.com/docs/backup/vsphere/add_vmware_proxy.html?ver=120). |
| 64 | +### 9. Deploy Veeam proxy server |
| 65 | + |
| 66 | +Deploying a Veeam proxy server is essential for optimizing data transfer during replication. |
| 67 | + |
| 68 | +Here’s how to set it up: |
| 69 | + 1. Open the Veeam Console and go to the **Backup Infrastructure**{.action} section. |
| 70 | + 2. In the inventory pane, click **Managed Servers**{.action}. |
| 71 | + 3. Add your on-prem proxy server (Windows or Linux) by selecting **Add Server**{.action} and following the wizard. |
| 72 | + 4. Once added, configure the server as a proxy by navigating to **Backup Proxies**{.action} and clicking **Add Proxy**{.action}. |
| 73 | + 5. Assign the necessary resources and settings (transport mode, maximum concurrent tasks, etc.). |
| 74 | + |
| 75 | +After configuring, verify the proxy server’s connectivity with the Veeam B&R server in your Hosted Private Cloud. |
| 76 | + |
| 77 | +For a detailed walkthrough, check the [proxy setup guide](https://helpcenter.veeam.com/docs/backup/vsphere/add_vmware_proxy.html?ver=120). |
| 78 | + |
| 79 | +### 10. Create replication jobs |
| 80 | + |
| 81 | +To create a replication job in Veeam Backup & Replication: |
| 82 | + |
| 83 | + 1. Open the Veeam Console and navigate to the **Home** view. |
| 84 | + 2. In the inventory pane, click on **Replication Jobs**{.action}. |
| 85 | + 3. Select **Create Replication Job**{.action} from the menu. |
| 86 | + 4. Follow the wizard to: |
| 87 | + - Add the VMs you want to replicate. |
| 88 | + - Choose the target destination (your OVHcloud HPC). |
| 89 | + - Configure settings like compression, throttling, or application-aware processing if needed. |
| 90 | + 5. Specify the schedule for the replication job. |
82 | 91 |
|
83 |
| -### 10. Create Replication Jobs |
84 |
| -- Use the Veeam B&R server to define replication jobs. |
85 |
| -- Follow the [replication job setup guide](https://helpcenter.veeam.com/docs/backup/vsphere/replica_job.html?ver=120). |
| 92 | +After completing the setup, save the job and run it to start replicating your VMs. |
86 | 93 |
|
87 |
| -### 11. Start and Test Replication Jobs |
88 |
| -- Start replication jobs and monitor their progress. |
89 |
| -- Run a pre-test with Veeam’s failover function to check replication without affecting source VMs: |
90 |
| - - [Failover process](https://helpcenter.veeam.com/docs/backup/vsphere/failover.html?ver=120) |
91 |
| - - [Undo failover process](https://helpcenter.veeam.com/docs/backup/vsphere/undo_failover.html?ver=120) |
| 94 | +For detailed steps, check the [replication job setup guide](https://helpcenter.veeam.com/docs/backup/vsphere/replica_job.html?ver=120). |
92 | 95 |
|
93 |
| -### 12. Migrate Workloads |
94 |
| -- Perform a planned failover to turn off on-prem VMs, replicate any final changes, and power on the VMs in HPC. |
95 |
| -- Check the [planned failover guide](https://helpcenter.veeam.com/docs/backup/vsphere/planned_failover.html?ver=120). |
| 96 | +### 11. Start and test replication jobs |
96 | 97 |
|
97 |
| -### 13. Validate Applications and Services |
| 98 | +Once your replication jobs are set up, start them from the Veeam Console: |
| 99 | + 1. Open the **Home** view and navigate to **Replication Jobs**{.action}. |
| 100 | + 2. Select the job you created and click **Start**{.action} to begin replication. |
| 101 | + 3. Monitor the progress to ensure there are no errors. |
| 102 | + |
| 103 | +To test replication, use the **Failover Now** feature: |
| 104 | + 1. Open the **Replicas**{.action} section in the Veeam Console. |
| 105 | + 2. Right-click the replicated VM and select **Failover Now**{.action}. |
| 106 | + 3. Confirm the action to activate the replica without impacting the source VM. |
| 107 | + |
| 108 | +After testing, undo the failover: |
| 109 | + 1. Go back to the same replicated VM in the **Replicas** section. |
| 110 | + 2. Right-click and select **Undo Failover**{.action} to revert to the original state and resume replication. |
| 111 | + |
| 112 | +Testing ensures that your replicas are functional and ready for production use without affecting your on-prem environment. |
| 113 | + |
| 114 | +For more details, refer to the [Failover process](https://helpcenter.veeam.com/docs/backup/vsphere/failover.html?ver=120) and [Undo failover process](https://helpcenter.veeam.com/docs/backup/vsphere/undo_failover.html?ver=120). |
| 115 | +### 12. Migrate workloads |
| 116 | + |
| 117 | +Use the **Planned Failover** process to migrate your workloads without losing data or disrupting services: |
| 118 | + 1. Open the Veeam Console and go to the **Home** view. |
| 119 | + 2. Navigate to the **Replicas** section and locate the VM replica you want to migrate. |
| 120 | + 3. Right-click the replica and select **Planned Failover**{.action}. |
| 121 | + 4. Confirm the action. Veeam will: |
| 122 | + - Synchronize any final changes from the source VM to the replica. |
| 123 | + - Power off the source VM automatically. |
| 124 | + - Power on the replica in the target environment. |
| 125 | + |
| 126 | +Once the process completes, validate that the replica is active and functional in the Hosted Private Cloud. |
| 127 | + |
| 128 | +For more details, refer to the [Planned Failover guide](https://helpcenter.veeam.com/docs/backup/vsphere/planned_failover.html?ver=120). |
| 129 | + |
| 130 | + |
| 131 | +### 13. Validate applications and services |
98 | 132 | - Confirm VMs boot without issues.
|
99 | 133 | - Test connectivity to services like AD, DNS, and internet-facing apps.
|
100 | 134 | - Verify that all applications are working correctly.
|
101 | 135 |
|
102 |
| -### 14. Confirm Permanent Failover |
103 |
| -- Finalize the migration by using the permanent failover action: |
104 |
| - - [Permanent failover guide](https://helpcenter.veeam.com/docs/backup/vsphere/permanent_failover.html?ver=120). |
| 136 | +### 14. Confirm permanent failover |
| 137 | + |
| 138 | +- To make the replica VM your new production VM, open the Veeam Console and navigate to the **Home** view. |
| 139 | +- Click on **Replicas**{.action} in the inventory pane and find the replica VM you want to finalize. |
| 140 | +- Right-click the VM and select **Permanent Failover**{.action} from the menu. |
| 141 | +- Confirm the action when prompted. |
| 142 | + |
| 143 | +Once done, Veeam will remove the original VM from replication jobs and adjust the settings so the replica VM becomes the primary one. |
| 144 | + |
| 145 | +For more details, check the [Permanent Failover guide](https://helpcenter.veeam.com/docs/backup/vsphere/permanent_failover.html?ver=120). |
105 | 146 |
|
106 |
| -### 15. Optimize and Secure Your Environment |
| 147 | +### 15. Optimize and secure your environment |
107 | 148 | - Move VMs to the desired storage (e.g., vSAN or NFS datastores) using [Storage vMotion](https://help.ovhcloud.com/csm/fr-vmware-storage-vmotion?id=kb_article_view&sysparm_article=KB0046287).
|
108 | 149 | - Create backups for your workloads with OVHcloud S3 storage as described [here](https://help.ovhcloud.com/csm/fr-public-cloud-storage-s3-veeam?id=kb_article_view&sysparm_article=KB0047499).
|
109 | 150 |
|
|
0 commit comments