Truth in IT
    • Sign In
    • Register
        • Videos
        • Channels
        • Pages
        • Galleries
        • News
        • Events
        • All
Truth in IT Truth in IT
  • Data Management ▼
    • Converged Infrastructure
    • DevOps
    • Networking
    • Storage
    • Virtualization
  • Cybersecurity ▼
    • Application Security
    • Backup & Recovery
    • Data Security
    • Identity & Access Management (IAM)
    • Zero Trust
    • Compliance & GRC
    • Endpoint Security
  • Cloud ▼
    • Hybrid Cloud
    • Private Cloud
    • Public Cloud
  • Webinar Library
  • TiPs
  • DRAW
  • CPE

VMware to OpenNebula Migration with OneSwap Tool

Open Nebula
10/07/2026
0 (0%)
Share
  • Comments
  • Download
  • Transcript
Report Like Favorite
  • Share/Embed
  • Email
Link
Embed

Transcript


In this screencast, we will show how to migrate a virtual machine from the existing VMware infrastructure to OpenNebula. OneSwap covers different migration possibilities, however, in the scope of this demonstration, we are going to cover only one. While we are covering the migration from a live infrastructure, OneSwap supports the import of OVA and VMDK disks as well. OpenNebula relies on the contextualization package to manage the virtual machines. To avoid issues in the future, this package is going to be injected into the virtual machine during the migration process. Additionally, OneSwap can remove the VMware tools to avoid running unnecessary processes. You can pass parameters to the command line either inline or in a form of configuration file. There is a default configuration file, however, you can create your own and pass the path as the additional inline parameter. There are different use cases when it comes to migration. If the virtual machine is mission critical, you can leverage the Delta mode to minimize the downtime and migrate the virtual machine while it's running. The demo environment is the following. A VMware environment that has a vCenter that manages the ASXI hosts. OpenNebula frontend that is managing the KVM hosts to run workloads after the migration. The frontend node is going to run OneSwap. However, in your environment, you can also leverage another node and dedicate it to solely run the OneSwap tool. There is a virtual machine that we are going to migrate. Currently, it's running on the ASXI node and is rather tiny to speed up the migration process. Note that the migration time heavily depends on the size of the disks and connectivity between the nodes. The frontend node can communicate with the vCenter API. In the scope of this demonstration, we will migrate a virtual machine via the vCenter API. Please refer to the official OneSwap documentation to learn more and leverage other modes. OneSwap package is not installed yet, thus we must install and configure it. OneSwap is available in the official OpenNebula repository, so no additional source configurations are needed. Please note that if you are migrating Windows-based virtual machines, you'll need to have some extra toolset. This part is being covered in our documentation. Once the OneSwap tool has been installed, edit the etc.one-swap.yml config file with your preferred text editor. There are a variety of configuration options available, but since the demonstration is going to leverage the API migration, we only need to set the administrator user, vCenter IP or FQDN, and the password. Alternatively, you can provide the necessary credentials inline, but we'd like to avoid storing credentials in the command line history. Additionally, the configuration file makes the command shorter and cleaner. First let's set the vCenter FQDN. In this environment, the admin username is equal to administrator at vSphere.local, thus we only need to uncomment the parameter. Lastly, the password. Set the one that corresponds to your environment and save the changes. Before performing the conversion, let's make sure that the connection can be established and there are no errors with credentials or name resolution. Execute either of the list commands. We're going to use the OneSwap list datacenters. As seen on the screen, the command executes correctly and there are no errors in the output. The virtual machine that will be the target to migration is running the Ubuntu 24.04 operating system. It's plain and lightweight, perfect to demonstrate the capabilities of the OneSwap command line tool. To migrate the virtual machine via the API, we must power down the virtual machine first. Once the virtual machine is powered down, switch to the command line, in this case OpenAble Frontend. Now when credentials and connectivity have been tested successfully, let's execute the conversion. It's worth mentioning that conversion is safe and OneSwap isn't going to delete the original source VM from vCenter, so you can verify whether the conversion has been executed correctly before cutting over. It may take time depending on a multitude of factors such as the size of the disk, network speed, and the method that has been chosen. Once all disks have been converted, it's time to switch to Sunstone and verify that the disk and the virtual machine template have been created. The image has been added, and the virtual machine template as well. Let's instantiate the virtual machine template to verify that the virtual machine can be launched and that it also has the context package injected. Press the Instantiate button. Keep the resource assignment as is and proceed to the next step. Let's also attach the virtual machine to the virtual network. This is going to be the best indicator that the context package has been injected and is running successfully. The network parameters such as IP address, NATmask, DNS, and gateway are configured by the contextualization package, and if it works incorrectly or is missing, the virtual machine is not going to be reachable via the network. Additionally to that, the user's secure shell public key will be added to the authorized keys file. This is the part that also is handled by the context package. Select the routable virtual network and proceed with attaching the network card. Once attached, there are no more adjustments needed to verify the virtual machine. Press the Finish button to finalize the deployment. Virtual machine is in the process of deployment. Wait until the virtual machine is in the running state. Once in the running state, switch to the command line from where you can connect to the IP of a VM. Launch the secure shell connection to the converted virtual machine. Since we are running this test on a front-end node, the oneVM command line is very helpful. As seen on the screen, the connection was established, meaning that the IP was configured successfully and authorized keys file was populated with the correct public key. And this concludes the screencast where we have shown how to convert a virtual machine from a live VMware environment to the OpenNebula environment using the AwantSwap migration tool and leveraging the vCenters API. Thank you for watching and see you in the next screencast.

TL;DR

  • OneSwap enables safe, non-destructive migration of VMs from VMware to OpenNebula, preserving original source VMs in vCenter for verification before cutover
  • The tool automatically injects OpenNebula's contextualization package during migration and can optionally remove VMware tools to eliminate unnecessary processes
  • Migration can be performed via vCenter API, OVA import, or VMDK disk import, with Delta mode available for mission-critical VMs to minimize downtime during live migration

Summary

This technical demonstration walks through the complete process of migrating a virtual machine from VMware infrastructure to OpenNebula using the OneSwap migration tool. The screencast covers the installation and configuration of OneSwap, establishing connectivity with vCenter API, and executing a full VM conversion from an ESXi host to a KVM-based OpenNebula environment. The demonstration uses a Ubuntu 24.04 VM to illustrate the migration workflow, including automatic injection of OpenNebula's contextualization package during the conversion process. The tutorial emphasizes that OneSwap is a non-destructive tool that preserves the original source VM in vCenter, allowing administrators to verify successful migration before decommissioning legacy infrastructure. Key technical aspects covered include credential configuration, connectivity testing, disk conversion mechanics, and post-migration validation through network configuration and SSH access verification.

Chapters

0:00 - Introduction and Overview
1:00 - Demo Environment Architecture
1:49 - Installing and Configuring OneSwap
3:02 - Testing vCenter Connectivity
3:20 - Executing VM Migration
4:12 - Verifying Migration in Sunstone
5:25 - Post-Migration Validation

Key Quotes

0:17 "While we are covering the migration from a live infrastructure, OneSwap supports the import of OVA and VMDK disks as well."
0:53 "If the virtual machine is mission critical, you can leverage the Delta mode to minimize the downtime and migrate the virtual machine while it's running."
3:50 "It's worth mentioning that conversion is safe and OneSwap isn't going to delete the original source VM from vCenter, so you can verify whether the conversion has been executed correctly before cutting over."

FAQ

Does OneSwap delete the original VM from VMware during migration?

No, OneSwap is non-destructive and preserves the original source VM in vCenter, allowing you to verify the migration was successful before decommissioning the VMware infrastructure.

What is the contextualization package and why is it important?

The contextualization package is OpenNebula's VM management agent that handles network configuration, user credentials, and system integration. OneSwap automatically injects this package during migration to ensure the VM functions properly in the OpenNebula environment.


Categories:
  • » Cybersecurity » Cloud Security
  • » Data Protection
Channels:
News:
Events:
Tags:
  • Cloud Security
  • Technical Deep Dive
  • Demo
  • How-To
  • VMware migration
  • OpenNebula
  • VM conversion
  • vCenter API
  • KVM virtualization
  • Infrastructure migration
  • Contextualization
  • OneSwap tool
Show more Show less

Browse videos

  • Related
  • Featured
  • By date
  • Most viewed
  • Top rated
  •  

              Video's comments: VMware to OpenNebula Migration with OneSwap Tool

              View CPE Certificates

              Upcoming 360 View Events

              • Nov
                19

                Securing the Microsoft Enterprise: Strengthening Configuration Management, Identity Security, and Data Protection

                11/19/202601:00 PM ET
                More events

                XStreaminars (watch here)

                • Nov
                  10

                  Zendesk: From AI Readiness to Results: A Framework for Transforming IT Service

                  11/10/202601:00 PM ET
                  • Nov
                    12

                    Leaving VMware Means Leaving vSAN: Your VMware Exit Is Really a Storage Decision

                    11/12/202601:00 PM ET
                    More events

                    Industry Events (Sponsor Hosted)

                    • Nov
                      10

                      Agentic Shopping Trends: Insights for the 2026 Holiday Season

                      11/10/202601:00 PM ET
                      • Nov
                        12

                        Practical Session: Connecting On-Prem Data to Databricks via MinIO AIStor (Americas)

                        11/12/202601:00 PM ET
                        • Nov
                          18

                          Hands-On Workshop: Connecting On-Prem Data to Databricks via MinIO AIStor (International)

                          11/18/202608:00 AM ET
                          • Nov
                            19

                            Zendesk Deep Dive: Get the work done faster with Employee Service AI Agents

                            11/19/202601:00 PM ET
                            • Nov
                              19

                              A Deep Dive into Muse, Dots, and Duet's Impact on Your Website

                              11/19/202601:00 PM ET
                              More events

                              Upcoming Webinar Calendar

                              • 11/10/2026
                                01:00 PM
                                11/10/2026
                                Zendesk: From AI Readiness to Results: A Framework for Transforming IT Service
                                https://www.truthinit.com/index.php/channel/2191/zendesk-from-ai-readiness-to-results-a-framework-for-transforming-it-service/
                              • 11/10/2026
                                01:00 PM
                                11/10/2026
                                Agentic Shopping Trends: Insights for the 2026 Holiday Season
                                https://www.truthinit.com/index.php/channel/2219/agentic-shopping-trends-insights-for-the-2026-holiday-season/
                              • 11/12/2026
                                01:00 PM
                                11/12/2026
                                Leaving VMware Means Leaving vSAN: Your VMware Exit Is Really a Storage Decision
                                https://www.truthinit.com/index.php/channel/2192/leaving-vmware-means-leaving-vsan-your-vmware-exit-is-really-a-storage-decision/
                              • 11/12/2026
                                01:00 PM
                                11/12/2026
                                Practical Session: Connecting On-Prem Data to Databricks via MinIO AIStor (Americas)
                                https://www.truthinit.com/index.php/channel/2202/practical-session-connecting-on-prem-data-to-databricks-via-minio-aistor-americas/
                              • 11/18/2026
                                08:00 AM
                                11/18/2026
                                Hands-On Workshop: Connecting On-Prem Data to Databricks via MinIO AIStor (International)
                                https://www.truthinit.com/index.php/channel/2194/hands-on-workshop-connecting-on-prem-data-to-databricks-via-minio-aistor-international/
                              • 11/19/2026
                                01:00 PM
                                11/19/2026
                                Securing the Microsoft Enterprise: Strengthening Configuration Management, Identity Security, and Data Protection
                                https://www.truthinit.com/index.php/channel/2076/securing-the-microsoft-enterprise-strengthening-configuration-management-identity-security-and-data-protection/
                              • 11/19/2026
                                01:00 PM
                                11/19/2026
                                Zendesk Deep Dive: Get the work done faster with Employee Service AI Agents
                                https://www.truthinit.com/index.php/channel/2181/zendesk-deep-dive-get-the-work-done-faster-with-employee-service-ai-agents/
                              • 11/19/2026
                                01:00 PM
                                11/19/2026
                                A Deep Dive into Muse, Dots, and Duet's Impact on Your Website
                                https://www.truthinit.com/index.php/channel/2228/a-deep-dive-into-muse-dots-and-duets-impact-on-your-website/
                              • 12/03/2026
                                01:00 PM
                                12/03/2026
                                CISO Insights: Steering Cybersecurity Strategies in an AI-Driven Era
                                https://www.truthinit.com/index.php/channel/2231/ciso-insights-steering-cybersecurity-strategies-in-an-ai-driven-era/
                              • 01/19/2027
                                02:00 PM
                                01/19/2027
                                HUMAN Dialogue: Embracing the Rise of the Empowered AI Consumer.
                                https://www.truthinit.com/index.php/channel/2160/human-dialogue-embracing-the-rise-of-the-empowered-ai-consumer/
                              Truth in IT
                              • Sponsor
                              • About Us
                              • Terms of Service
                              • Privacy Policy
                              • Contact Us
                              • Preference Management
                              Desktop version
                              Standard version