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

              XStreaminars (watch here)

              • Dec
                09

                Beyond Continuous Compliance: Getting Ready to Detect, Recalculate, and Adapt

                12/09/202601:00 PM ET
                More events

                Industry Events (Sponsor Hosted)

                • Dec
                  02

                  Skylight en acción: resguardando la IA más allá del usuario.

                  12/02/202604:00 AM ET
                  • Dec
                    03

                    CISO Insights: Steering Cybersecurity Strategies in an AI-Driven Era

                    12/03/202601:00 PM ET
                    • Dec
                      09

                      Strategies for Safeguarding Endpoints in the Agentic Era with Cyera

                      12/09/202602:00 PM ET
                      • Dec
                        10

                        Retaining Control: The On-Prem Solution to Cloud Migration Pressure

                        12/10/202601:00 PM ET
                        • Jan
                          19

                          Skylight in Aktion: Gewährleisten Sie KI-Schutz über den Benutzer hinaus

                          01/19/202704:00 AM ET
                          More events

                          Upcoming Webinar Calendar

                          • 12/02/2026
                            04:00 AM
                            12/02/2026
                            Skylight en acción: resguardando la IA más allá del usuario.
                            https://www.truthinit.com/index.php/channel/2147/skylight-en-acción-resguardando-la-ia-más-allá-del-usuario/
                          • 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/
                          • 12/09/2026
                            01:00 PM
                            12/09/2026
                            Beyond Continuous Compliance: Getting Ready to Detect, Recalculate, and Adapt
                            https://www.truthinit.com/index.php/channel/2250/beyond-continuous-compliance-getting-ready-to-detect-recalculate-and-adapt/
                          • 12/09/2026
                            02:00 PM
                            12/09/2026
                            Strategies for Safeguarding Endpoints in the Agentic Era with Cyera
                            https://www.truthinit.com/index.php/channel/2256/strategies-for-safeguarding-endpoints-in-the-agentic-era-with-cyera/
                          • 12/10/2026
                            01:00 PM
                            12/10/2026
                            Retaining Control: The On-Prem Solution to Cloud Migration Pressure
                            https://www.truthinit.com/index.php/channel/2267/retaining-control-the-on-prem-solution-to-cloud-migration-pressure/
                          • 01/19/2027
                            04:00 AM
                            01/19/2027
                            Skylight in Aktion: Gewährleisten Sie KI-Schutz über den Benutzer hinaus
                            https://www.truthinit.com/index.php/channel/2176/skylight-in-aktion-gewährleisten-sie-ki-schutz-über-den-benutzer-hinaus/
                          • 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/
                          • 03/18/2027
                            01:00 PM
                            03/18/2027
                            Securing Access for People, Partners and AI Agents
                            https://www.truthinit.com/index.php/channel/2251/securing-access-for-people-partners-and-ai-agents/
                          • 06/17/2027
                            01:00 PM
                            06/17/2027
                            Stop the Leak: Data Loss Prevention for the AI Era
                            https://www.truthinit.com/index.php/channel/955/360view-stop-the-leak-data-loss-prevention-for-the-ai-era/
                          • 08/19/2027
                            01:00 PM
                            08/19/2027
                            Who Has Access to What...and Should They?
                            https://www.truthinit.com/index.php/channel/2252/who-has-access-to-what-and-should-they/
                          • 10/21/2027
                            01:00 PM
                            10/21/2027
                            After VMware: Building the Private Cloud You Actually Want
                            https://www.truthinit.com/index.php/channel/2253/after-vmware-building-the-private-cloud-you-actually-want/
                          • 11/18/2027
                            01:00 PM
                            11/18/2027
                            Assume Breach, Prove Recovery
                            https://www.truthinit.com/index.php/channel/2254/assume-breach-prove-recovery/
                          • 12/16/2027
                            01:00 PM
                            12/16/2027
                            The Self-Running Service Desk
                            https://www.truthinit.com/index.php/channel/2255/the-self-running-service-desk/
                          Truth in IT
                          • Sponsor
                          • About Us
                          • Terms of Service
                          • Privacy Policy
                          • Contact Us
                          • Preference Management
                          Desktop version
                          Standard version