Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
RHOSP version | Supported ? |
---|---|
OpenStack version | Supported ? |
---|---|
OpenStack version | Supported ? |
---|---|
Refer to the "Supporting Conversions" section of this document.
17.1
16.1
16.2
2024.1 Caracal
2023.2 Bobcat
2023.1 Antelope
Zed
Bobcat Jammy
Antelope Jammy
Check the supported OpenStack distributions here and follow their deployment guides to install or upgrade to the latest version of T4O.
Follow below steps to enable Migration Tab on Horizon.
Login to horizon container.
set DISABLED = False
in following panel files.
These files can be found at <openstack_dashboard_installed_package_path>/enabled/
Example: /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/
for RHOSP17.1
Restart horizon container.
Trilio uses a widely used tool virt-v2v
for migration which is one of the open-source tools by Red Hat. The below-mentioned limitations are from this tool and thus a limitation for Trilio as well:
virt-v2v
cannot change the default kernel in the GRUB2 configuration, and the kernel configured in the VM is not changed during the conversion, even if a more optimal version of the kernel is available on the VM.
After converting a virtual machine to KVM, the name of the VM's network interface may change, and thus requires manual configuration.
Trilio does not support nested virtualization OpenStack deployments for VMware migration.
For Windows VMs, post migration all the non system disk would be in offline state. You would need to login to the guest VM and manually bring all the attached disk online, follow the below steps:
Windows VMs migrated with the Dry-Run type won't be bootable on OpenStack, as complete boot information won't be available until the guest VM is shut down.
Please refer to Post-Conversion Tasks for more information.
Other Limitations specific to VM Migration:
If any VM is having independent (i.e. not mounted on "/")
/usr partition, then migration of such VM will fail with below error:
VM Migration Tool is a stand alone utility provided by Trilio for effective migration of VMs from VMWare to OpenStack. This will assist users in planning the migration, creating any missing artifacts, and providing a holistic view of the migration process at an organizational level.
Current document provides the steps to be followed for deploying respective tool.
A Linux VM (CentOS OR Ubuntu will do) with docker
installed on it.
2.1] Clone public repository triliovault-cfg-scripts on the standalone VM (at any convenient location) created for deploying the VM Migration tool.
For actual value {{ trilio_branch }}, please refer resources page against respective release.
2.2] On the VM, copy nginx, env, docker-compose.yml & vmosmapping.conf from triliovault-cfg-scripts to /opt directory.
2.3] Set values against params in /opt/env file.
2.4] Set values against params in /opt/vmosmapping.conf file.
3.1] To deploy the VM Migration Tool on standalone VM, please execute below command in background mode.
3.2] Deployment checks
Run docker ps -a
; 4 containers should be running, viz redis, nginx, trilio_vm2os & opt-worker-1.
Sample output below (Forwarded port number can be different as per the value provided in /opt/env
file)
Respective Migration tool can be accessed with URL : <VM_IP>:<NGINX_PORT> Example
For logging into dashboard, use the credentials provided under [user] section in /opt/vmosmapping.conf
file
You will need to be ready with below-mentioned resources before starting with the deployment:
vCenter access URL
vCenter access Username and Password
SSL certificate for secured connection to VCenter (if not available, the SSL verification has to be marked false during configuration)
The minimum set of permissions required for a vCenter user to successfully migrate VMs are as follows:
Privilege Level | Required Permissions |
---|---|
Trilio requires this kit for the VM migration feature to work. You can download it from the VMware Customer Connect portal by accessing the below link
Make sure you download the below-mentioned file
Product | VMware vSphere Virtual Disk Development Kit 7.0 |
---|---|
VMware tools need to be installed and should be in running state on all the windows VMs which are to be migrated. Alternatively, the guest OS may be shutdown but they should not be in power off state
For migrating UEFI booted VMware VMs, the OpenStack requires to have the instances with UEFI boot information and so as Trilio.
So before doing the migration, the user needs to create a Glance image (any image) with following metadata properties:
set hw_firmware_type
property to UEFI
set hw_machine_type
property to q35
This is not required for BIOS booted VMware VMs
Trilio does not create any flavor for the migrating VMs instead it uses the available flavors.
To avoid any booting issues post-migration, the user needs to have the correct flavors created and available for selection while initiating the migration.
To leverage the Dry-run and Warm migration features, the vCenter and ESXi should support the Change Block Tracking(CBT) feature. Make sure that all the data disks attached to the VM, have the CBT enabled.
To enable the CBT, follow the instructions at VMware Knowledge Base
Also understand the limitations Trilio has described in this page.
Parameter | Description | Sample/Default Value |
---|---|---|
Parameter | Description |
---|---|
TRILIO_IMAGE_TAG
Tag of the image as provided by Trilio. Refer resources page against respective release.
trilio/trilio-migration-vm2os:5.2.4
NGINX_PORT
Port on which nginx should run. Please ensure that the port is free.
Default : 5085
REDIS_PORT
Port on which redis should run. Please ensure that the port is free.
Default : 6379
host
vCenter host address from where VMs have to be migration into OpenStack.
admin
Admin user login name for vCenter
password
Admin user password for vCenter
ssl_verify
To be set to True or False as needed
keystone_url
Keystoner URL of the OpenStack where VMs from vCenter have to be migrated
admin_user
Admin user login name for OpenStack
admin_password
Admin user password for OpenStack
admin_project
Project/Tenant of OpenStack
admin_domain
Domain of OpenStack
region_name
Region of OpenStack
ssl_verify
To be set to True or False as needed
hypervisor
To be set as "RHEL 9"
username
OpenStack user which is having same role as the user (having trustee role)
mentioned in wlm.conf file. This will be used to log into VM Migration Tool Dashboard.
Email of the VM Migration Tol user
password
password for logging into VM Migration Tool Dashboard
Datastore
Browse datastore
Low level file operations
Sessions
Validate session
Virtual machine / Interaction
Guest operating system management by VIX API
Power off
Power on
Virtual machine / Provisioning
Allow disk access
Allow read-only disk access
Allow virtual machine download
Virtual machine / Snapshot management
Create snapshot
Remove snapshot
Version
7.0
Release Date
2020-04-02
Build Number
15832853
File Name
VMware-vix-disklib-7.0.0-15832853.x86_64.tar.gz
Many organizations are looking to modernize their data centers and migrate from technologies like VMware to OpenStack. Although historically, VMware has been a dominant virtualization platform, trusted by many organizations for running mission-critical applications, the rapidly evolving technology landscape has already delivered the next generation of virtualization technologies. OpenStack and Kubernetes are setting the stage for edge computing and Hybrid & Multi-Cloud to emerge as industry standards.
Migrating from VMware to OpenStack offers compelling benefits:
Cost Savings: OpenStack significantly reduces licensing fees.
Vendor Independence: Avoid vendor lock-in and make choices based on how they favor your business.
Innovation and Collaboration: Open-source fosters rapid advancements.
Scalability and Elasticity: Automatically scale resources on demand
Multi-Cloud Support: Manage multiple clouds and data centers from one interface.
Integration with Open Source: Seamlessly integrate with Kubernetes and other open-source tools.
Community Support: Active community provides resources and expertise
By embracing OpenStack, you gain cost savings, flexibility, scalability, and a vibrant community, empowering your cloud infrastructure.
Migrating VMs from VMware to OpenStack has traditionally been a people-intensive and complex process requiring an "expert-intensive" investment.
Organizations must engage in detailed planning, consult experts, and consider utilizing tools and technologies to facilitate smooth migrations. Because each migration scenario is unique, it has been difficult to come up with best `practices and/or automation. This page is about how Trilio’s Intelligent Recovery https://trilio.io/ Platform can help simplify and automate the migration process.
Trilio’s backup and recovery solution is an OpenStack native service similar to Nova, Cinder, Glance, etc. This software-only solution can be deployed using OpenStack distribution-specific DevOps scripts. For example, Trilio’s solution is native to the RHOSP platform and can be deployed and managed using Red Hat Director.
We extended Trilio’s architecture to support migration at scale. Since Trilio migrates the VM from VMware ESXi to the OpenStack compute node, the solution scales with your VMware/OpenStack without suffering from performance bottlenecks.
The process of migration usually involves moving virtual machines from a source platform to a target platform, however, the strategy to achieve this should be considered carefully.
If the migration process is initiated from the target platform, it is called inline migration. Trilio advocates inline migration as it helps map organizational structures such as data centers/clusters/folders in VMware to regions/domains/projects in OpenStack.
A project owner with sufficient privileges to their VMware resources can migrate the VMs to their project. If every project owner can migrate their resources from VMware, it provides better control to cloud architects to orchestrate the migration.
If the migration process is initiated from an outside source or target platform, it is called out-of-band migration. Out-of-band demands a centralized approach and places constraints on how cloud architects can design their OpenStack clouds.
A very intuitive tenant dashboard for the tenant to manage their migrations. If you want to migrate to KubeVirt, Red Hat’s MTV solution can be helpful.
The sub-commands for the migration feature are available as:
Migration APIs look and feel like OpenStack API. Each tenant can source their cloud rc and start using migration cli commands. CLI also helps users to extend their Ansible scripting for migration.
Trilio migration functionality supports three types of migrations
Dry-run lets users create the VMs on OpenStack with storage volumes, networking, and security groups attached. It does a migration of VM data from VMware to OpenStack by taking a snapshot of the VM without shutting it down and hence, does not guarantee the data/application consistency. Unlike Cold and Warm migration, there is no disruption to the VMware VMs during this migration. It is a handy feature for users to test VMs and their interconnectivity before completely migrating VMs.
Cold migration shuts down the VMware VMs and migrates the VMs to OpenStack. Depending on the size of the data to migrate, cold migration can take minutes to hours to complete, and during the entire duration, the applications are unavailable. Cold migration is more disruptive than warm migration.
Warm migration leverages VMware snapshot and the Change Block Tracking functionality to migrate VMs with less disruption. It first takes the VM snapshot and copies the full snapshot data to OpenStack. Depending on the size of the data, this upload operation may take a few minutes to a few hours. During this period the VM may have written a few more blocks of data, which then gets uploaded by taking a second snapshot of the VM. It then shutdowns the VM, takes another snapshot of the VM, copies the blocks that were changed since the last snapshot, and reboots OpenStack VMs. So warm migration incurs less disruption compared to cold migration.
Trilio's support for migrating VMware VMs to OpenStack is recognized as an industry-leading solution. Its scalability and ability to be deployed organization-wide scale make it a valuable choice for businesses. The self-paced approach provided by Trilio allows application owners to experiment with migration options and gain confidence before performing the final migration. In the context of businesses transitioning from vendor lock-in to open-source technologies, Trilio's migration feature can be a helpful tool in accelerating the transition process.