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

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

              Industry Events (Sponsor Hosted)

              • Oct
                13

                Transitioning from CJIS to FERPA: Essential Audit Evidence for Compliance

                10/13/202601:00 PM ET
                • Oct
                  15

                  Risk in Real Time Demo Series: Virtual Patching: Protection at the Speed of Exploitation

                  10/15/202611:00 AM ET
                  • Oct
                    20

                    Harnessing Data Governance for AI with Cyera and Snowflake

                    10/20/202611:00 AM ET
                    More events

                    Upcoming Webinar Calendar

                    • 10/13/2026
                      01:00 PM
                      10/13/2026
                      Transitioning from CJIS to FERPA: Essential Audit Evidence for Compliance
                      https://www.truthinit.com/index.php/channel/2159/transitioning-from-cjis-to-ferpa-essential-audit-evidence-for-compliance/
                    • 10/15/2026
                      11:00 AM
                      10/15/2026
                      Risk in Real Time Demo Series: Virtual Patching: Protection at the Speed of Exploitation
                      https://www.truthinit.com/index.php/channel/1372/risk-in-real-time-demo-series-the-autonomous-era-orchestrating-a-resilient-enterprise/
                    • 10/20/2026
                      11:00 AM
                      10/20/2026
                      Harnessing Data Governance for AI with Cyera and Snowflake
                      https://www.truthinit.com/index.php/channel/2137/harnessing-data-governance-for-ai-with-cyera-and-snowflake/
                    • 10/27/2026
                      11:00 AM
                      10/27/2026
                      Maximize Security, Value, and Returns on Your Microsoft Investment
                      https://www.truthinit.com/index.php/channel/2178/maximize-security-value-and-returns-on-your-microsoft-investment/
                    • 10/27/2026
                      01:00 PM
                      10/27/2026
                      The HUMAN Experience: Real-Time Insights into Page Intelligence
                      https://www.truthinit.com/index.php/channel/2139/the-human-experience-real-time-insights-into-page-intelligence/
                    • 11/04/2026
                      11:00 AM
                      11/04/2026
                      Leveraging CISA’s Zero Trust Maturity Model in an AI-Driven Landscape
                      https://www.truthinit.com/index.php/channel/2149/leveraging-cisas-zero-trust-maturity-model-in-an-ai-driven-landscape/
                    • 11/04/2026
                      11:00 AM
                      11/04/2026
                      Aligning Agentic Intent: Understanding Your Agents' Purpose vs. Their Actions
                      https://www.truthinit.com/index.php/channel/2158/aligning-agentic-intent-understanding-your-agents-purpose-vs-their-actions/
                    • 11/05/2026
                      02:00 PM
                      11/05/2026
                      HUMAN Dialogue: Embracing the Rise of the Agentic Consumer in AI
                      https://www.truthinit.com/index.php/channel/2160/human-dialogue-embracing-the-rise-of-the-agentic-consumer-in-ai/
                    • 11/05/2026
                      02:00 PM
                      11/05/2026
                      Reclaim Your Evenings: Leverage Data Intelligence to Minimize Risk and Boost AI Adoption
                      https://www.truthinit.com/index.php/channel/2172/reclaim-your-evenings-leverage-data-intelligence-to-minimize-risk-and-boost-ai-adoption/
                    • 11/19/2026
                      01:00 PM
                      11/19/2026
                      360View: Govern, Secure & Recover Your Microsoft 365 Environment
                      https://www.truthinit.com/index.php/channel/2076/360view-govern-secure-recover-your-microsoft-365-environment/
                    Truth in IT
                    • Sponsor
                    • About Us
                    • Terms of Service
                    • Privacy Policy
                    • Contact Us
                    • Preference Management
                    Desktop version
                    Standard version