Vmware to OpenStack using the os-migrate vmware migration kit
In this lab, you will use the following infrastructure:
-
A 3 OpenShift compact cluster running 4.16 version
-
A bastion host to access to the OCP environment
-
A bastion
-
A RHEL 9.4 virtualised compute host
-
A vcenter environment
In this lab we will first install a Red Hat OpenStack Services on OpenShift environment.
Then we will go through a virtual machine migration from Vmware vCenter to the RHOSO environment.
Within the lab environment, you will be able to copy and paste the specified commands into the CLI. For some steps you may also need to edit some of the commands from the instructions.
os-migrate vmware migration kit
The os-migrate vmware migration kit, delivered as an Ansible collection, comes with a powerful set of features designed to streamline and scale your migration efforts:
-
Discovery mode: automatically gathers metadata from VMware vCenter, including VM definitions, network configurations, and storage details.
-
Network mapping: supports mapping of source networks and ports to target Red Hat OpenStack Services on OpenShift networks, including MAC address preservation.
-
Flavor mapping and flavor creation: enables mapping VMware hardware profiles to OpenStack flavors or dynamically creates matching flavors during migration.
-
Warm VM migration support: migrates running virtual machines with minimal disruption by leveraging snapshot and CBT-based mechanisms.
-
Multi-disk and multi-NIC support: fully supports virtual machines with complex storage and networking setups, ensuring consistent and complete migration.
-
Operating system compatibility: supports a broad range of guest OSes compatible with virt-v2v.
Access Your Lab Environment
-
Access to the bastion executing the following command:
ssh {bastion_ssh_user_name}@{bastion_public_hostname} -p {bastion_ssh_port}
SSH password is
{bastion_ssh_password}
. The uuid of your lab is:my-guid
-
Optionally copy your public SSH key to the bastion allowing you to authenticate with the server without entering a password every time you connect:
ssh-copy-id -p {bastion_ssh_port} {bastion_ssh_user_name}@{bastion_public_hostname}
If needed, you can navigate to the OpenShift console URL: {openshift_cluster_console_url}[{openshift_cluster_console_url}^] using user
admin
and password{openshift_cluster_admin_password}
Be sure to review all commands carefully both for functionality and syntax!