{"id":2221,"date":"2024-08-18T17:05:41","date_gmt":"2024-08-18T15:05:41","guid":{"rendered":"http:\/\/192.168.1.213:8088\/?p=2221"},"modified":"2024-10-02T08:29:06","modified_gmt":"2024-10-02T06:29:06","slug":"my-journey-from-esxi-to-proxmox","status":"publish","type":"post","link":"http:\/\/192.168.1.213:8088\/my-journey-from-esxi-to-proxmox\/","title":{"rendered":"My journey from ESXi to Proxmox"},"content":{"rendered":"\t\t
With this blog article I am creating a new category which is all about Home Lab deployments and related topics.<\/p>
It all started with a loud beeping sound in the middle of the night. My wife woke me up, understandably annoyed, and demanded to know what was causing the noise. Still half-asleep, I quickly realized it was coming from my office. My APC battery backup had failed, with the “battery replace” indicator flashing constantly.<\/p>
In a sleep-deprived state, I disconnected the APC and rewired my rack to draw power directly from the wall outlet. The result? An unplanned reboot of everything in my home lab.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t
Source: https:\/\/pve.proxmox.com\/pve-docs\/pve-admin-guide.html#chapter_pvecm<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t When my VMs running on VMware ESXi finally came back online, I noticed something important: my VMware license was about to expire. Rather than renewing, I took it as a sign to finally do what I’d been planning for a while\u2014migrate to Proxmox, an open-source hypervisor that I’d heard great things about.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t In my home lab, I am running two Intel NUC devices. The first thing I needed to do was migrate all workloads from one to another to free up the node to install Proxmox.\u00a0<\/p> Thats where my first problem started to begin. I created the bootable USB stick and wanted to start the installation process but no matter what installation option I chose the screen immediately went black and I had no output anymore. I tried different boot parameters in GRUB to define the screen resolution but nothing worked. So I thought great before my journey started it already end! But then I just tried to unplug and plug back in the HDMI cable (plug and prey) and … I finally had an output. If I try that earlier it saves me some hours.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t The migration itself, which I thought would be a major headache, turned out to be quite simple. I added my VMware storage to Proxmox and followed the steps in this guide<\/a>. Despite my 1Gbit network limiting transfer speeds, I successfully migrated all my VMs.<\/p> After the migration, I made sure to follow Proxmox’s best practices for VM configuration:<\/p> For the most part, the transition went smoothly, especially with my Ubuntu-based VMs. The only minor hiccup was updating the interface name in the network config due to a change in the naming convention.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t One of my VMs running Windows 11 wasn’t as cooperative. After the migration, I was greeted by the popular bluescreen. I tried safe mode, installed the QEMU driver, and rebooted\u2014only to be met with the same result. After some digging, I found the solution: set the CPU type to x86-64-v2-AES<\/strong>.<\/p> This simple change fixed the issue, and the VM booted without further problems.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t With the first NUC running smoothly, it was time to install Proxmox on the second one. The installation took some minutes, and I quickly set up a cluster. While a third node is typically recommended, I repurposed an old ESX node for the job.<\/p> Creating the cluster was surprisingly straightforward, and within an hour, everything was up and running.<\/p> To create a cluster just follow the instructions:<\/p> https:\/\/pve.proxmox.com\/pve-docs\/pve-admin-guide.html#pvecm_create_cluster<\/a><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t It was a matter of less than an hour to install my two nodes and create a cluster! Wow, I am amazed!\u00a0<\/p> Having a cluster is fine but I also should have a shared storage. So I created a NFS share on my old QNAP added it and migrated one VM to the NFS share which works okay but is not ideal due to the performance of the NAS.\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t Having a cluster is great, but it\u2019s essential to have shared storage for optimal performance. I created an NFS share on my QNAP NAS and migrated a VM over. Though the performance isn\u2019t great, it works for now.<\/p> Next, I explored Proxmox\u2019s built-in backup functions\u2014something that was long overdue in my home lab. Setting up scheduled backups to an NFS share was simple, and yes, I tested the restore process too. It worked like a charm.<\/p> Proxmox also offers a dedicated backup server with advanced features like deduplication. I added this to my setup, created a new backup schedule, and was impressed by how efficiently it worked.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t While I\u2019m overall happy with the setup, I did encounter some issues. Specifically, the VM running on NFS storage occasionally hangs right after a snapshot is taken.<\/p> The only solution so far has been to manually reboot the VM. I\u2019m still looking into a more permanent fix for this.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t While exploring Proxmox\u2019s features, I discovered its telemetry capabilities. You can connect Proxmox to an InfluxDB server and monitor the entire cluster via Grafana. By importing this dashboard, you can get detailed statistics on your cluster.<\/p> The level of insight this provides is incredible.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t If you want to import a VM from a vendor, they will most likely provide you with an OVA file. So, how do you import an OVA into Proxmox? Unlike ESX, the process isn’t as straightforward, but it’s manageable with the right steps.<\/p> Here\u2019s how I successfully imported some VMs for testing:<\/p> 1. Extract the OVA file<\/strong> Use the following command to extract the OVA file:<\/p> 2. Convert the VMDK to QCOW2 (optional)<\/strong><\/p> Proxmox works better with QCOW2 images, so it\u2019s recommended to convert the VMDK file.<\/p> 3. Create a new VM in Proxmox<\/strong><\/p> 4. Import the Disk to the VM<\/strong><\/p> 5. Attach the Disk to the VM<\/strong><\/p> 6. Adjust VM Configuration (optional)<\/strong><\/p> 7. Start the VM<\/strong><\/p> This migration journey has been full of learning experiences, some frustrating and others rewarding. Proxmox has proven to be a powerful and flexible platform for my home lab, offering features that make management and monitoring far more efficient than my previous setup.<\/p> Cost-Effective<\/strong>: Proxmox is an open-source hypervisor, meaning there are no licensing fees. This makes it a budget-friendly alternative to ESX, which requires a paid license for full functionality.<\/p><\/li> Flexibility and Freedom<\/strong>: Proxmox offers more flexibility, allowing you to avoid vendor lock-in. You can customize and configure the system to suit your specific needs without being tied to proprietary solutions.<\/p><\/li> Built-In Features<\/strong>: Proxmox comes with built-in features like backup and clustering, which are either not available or require additional licenses in ESX. This includes the ability to set up a cluster without needing a separate vCenter server.<\/p><\/li> Community Support and Documentation<\/strong>: As an open-source project, Proxmox benefits from a robust community that actively contributes to its development and offers extensive documentation. This can be invaluable when troubleshooting or exploring new features.<\/p><\/li> Ease of Migration<\/strong>: Despite initial concerns, migrating VMs from ESX to Proxmox proved to be straightforward, especially with the step-by-step guides available in the Proxmox community.<\/p><\/li> Integrated Monitoring<\/strong>: Proxmox integrates well with popular monitoring tools like Grafana and InfluxDB, allowing for detailed telemetry and performance monitoring out of the box.<\/p><\/li> Advanced Storage Options<\/strong>: Proxmox supports a wide range of storage types, including local storage, shared NFS, and more. It also provides advanced options like thin provisioning and deduplication when using the Proxmox Backup Server.<\/p><\/li> No Black Box<\/strong>: Unlike ESX, where some functions can feel like a black box, Proxmox is transparent, giving you full control and visibility over your virtualized environment.<\/p><\/li><\/ul> Stay tuned for more posts in this new Home Lab category as I continue to explore what Proxmox has to offer and share my experiences with you!<\/strong><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t Table of Contents The Wake-Up Call: A Beeping Sound in the Night With this blog article I am creating a new category which is all about Home Lab deployments and related topics. It all started with a loud beeping sound in the middle of the night. My wife woke me up, understandably annoyed, and demanded […]<\/p>\n","protected":false},"author":2,"featured_media":2250,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-2221","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-home-lab"],"_links":{"self":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/posts\/2221"}],"collection":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/comments?post=2221"}],"version-history":[{"count":25,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/posts\/2221\/revisions"}],"predecessor-version":[{"id":2285,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/posts\/2221\/revisions\/2285"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/media\/2250"}],"wp:attachment":[{"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/media?parent=2221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/categories?post=2221"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/192.168.1.213:8088\/wp-json\/wp\/v2\/tags?post=2221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}A Sign to Move On<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
First Hurdle: The Blackout<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Migration from VMware to Proxmox: Easier Than Expected<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Windows 11 Bluescreen: A Blast from the Past<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Building a cluster<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Shared Storage and Backup Solutions<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Backup Issues and Workarounds<\/h6>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Telemetry server<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Importing OVA<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
An OVA file is essentially a tar archive that contains a .vmdk file (the virtual disk) and an .ovf file (metadata). You need to extract these files first.<\/p>
Skip adding a disk during creation.<\/li><\/ul>
Replace <VM_ID> with the ID of your VM and local-lvm with your storage name.<\/li><\/ul>Conclusion<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
Pros of Using Proxmox Over ESX<\/h6>
References<\/h5>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t