{"id":393,"date":"2021-02-14T14:54:00","date_gmt":"2021-02-14T20:54:00","guid":{"rendered":"http:\/\/blog.miguelsarmiento.com\/?p=393"},"modified":"2021-02-15T10:32:44","modified_gmt":"2021-02-15T16:32:44","slug":"esxi-vmware-kvm-proxmox-oh-my","status":"publish","type":"post","link":"https:\/\/blog.miguelsarmiento.com\/?p=393","title":{"rendered":"ESXi, VMware, KVM, Proxmox, Oh My!"},"content":{"rendered":"<p>Hello again,<\/p>\n<p>I have used virtualization for a while now in the enterprise.<\/p>\n<p>Mostly using Esxi and vSphere, using servers with 256 GB of memory and Terabytes of backend space (iSCSI, Fiber, NFS, etc.).&nbsp; Also, some KVM setups when Open Source was the only viable option due to pricing, etc.<\/p>\n<p>At home, I have used either the free version of VM-workstation or VirtualBox.<\/p>\n<p>I have not needed something more powerful. Just enough to test a new Linux distro for example, or run a KVM image.<\/p>\n<p>However, I started to use GNS3 to run big labs at work. Then I switched to EVE-NG. This was not an issue of course since I had the virtual resources.<\/p>\n<p>At home, it was a different story could not run big labs just the simplest ones.<\/p>\n<p>Thus, I started to look to get some computer power. I could have got a server of e-bay for some decent price. However, they are noisy as hell.<\/p>\n<p><!--more--><\/p>\n<p>About a couple of years ago I found a nice bargain, a gaming PC that was marketed to beginners, I was not going to use it as such what caught my eye is that to it had 4&#215;2 CPU AMD cores. <\/p>\n<p>The whole setup included 8 GPUs was about 300 bucks!\n<\/p>\n<p>It only had 8 G of memory but I could get 2&#215;16 G memory modules, which would give it 32 G of memory, and it could become my virtual server and also file server since I had about two TBytes of space that I exported via NFS.<\/p>\n<p>So I got it, then I paid for the VMware workstation pro appliance and I was set.<\/p>\n<p>This setup served me well for a bit. I was able to run NFS, and then run this blog and another server having WI-FI using Hostapd on it. Also, I was able to test several distros and other stuff.<\/p>\n<p>Installed the EVE-NG server on it and was able to run bigger labs also. <\/p>\n<p>However, the bigger the labs and the more appliances I was running I started to notice EVE-NG could not cope.<\/p>\n<p>It was odd since the virtual guests that I had run without issues on workstation pro. Running Cisco IOL or something like that also did not create issues. I run into problems trying to run the bigger KVM images like FMC or trying to run a Linux image inside EVE-NG.<\/p>\n<p>Obviously, virtualization inside virtualization was taxing EVE-NG.<\/p>\n<p>I decided to move EVE-NG.<\/p>\n<h2>KVM<\/h2>\n<p>Thus, I decided to run EVE-NG as a KVM image. Technically, they do not support it. However, a few people have done it.<\/p>\n<p>I figured that the CPUs on my AMD machine would have enough juice to run both VMware and EVE-NG.<\/p>\n<p>Thus, converted my EVE-NG VMware image to KVM and proceeded to install it.<\/p>\n<p>After getting it up and running, I restored the labs of the old EVE-NG image, and voila, I had it running.<\/p>\n<p>Not so fast, while the labs run fine all of the KVM images could only start without KVM acceleration.<\/p>\n<p>Tested some images and the performance was good, although not as fast as with KVM acceleration.<\/p>\n<p>After poking a bit, I realized that EVE-NG was not detecting the AMD virtualization thus it was not allowing acceleration, weird.<\/p>\n<p>It was weird because the AMD server had it enabled, I was passing it to the KVM image.<\/p>\n<p>I could have settled for this. I decided to try something else.<\/p>\n<h2>Proxmox.<\/h2>\n<p>Proxmox is an open-source alternative to Esxi. I read good things about it so I decided to try it.<\/p>\n<p>Once again found a great bargain, a Lenovo 4&#215;2 Intel CPU with 32 G of memory refurbished.<\/p>\n<p>Got Proxmox installed. I added EVE-NG and did add my NFS mount points as data stores.<\/p>\n<p>So far so good.<\/p>\n<p>I run into an issue out of the box, even though Proxmax has the ability to use thin provisioning on local stores, it cannot do it on NFS data stores. Not a showstopper, it would have been nice though. I was able to stand up a couple of Linux guests quick.<\/p>\n<p>Run into a more serious issue, once again EVE-NG did not recognize virtualization.<\/p>\n<p>More troublesome, some of the KVM images on EVE-NG would not even run.<\/p>\n<p>Too bad, Proxmox showed promise.<\/p>\n<h2>ESXi.<\/h2>\n<p>This time I decided to use Esxi, got the free version and a license.<\/p>\n<p>I installed ESXi and then EVE-NG on it and added my NFS mount points as data stores. Hopefully this time it was going to be a charm.<\/p>\n<p>Well not so fast, running EVE-NG of the local data store was fine; NFS on the other hand had terrible issues. Read and write access was slow as molasses.<\/p>\n<p>Try several things some would not work even though the motherboard on my Lenovo was supported by VMware. I could not set the right parameters on the NIC to fix the NFS issue for example.<\/p>\n<p>Windows 10 guests would use 100% of disk access, Linux guests were better but you could tell performance was not quite right.<\/p>\n<p>I could stand up a Linux Ubuntu in minutes on my NFS server but on the Esxi server it would take a couple of hours and Windows forget it.<\/p>\n<p>On the other hand, EVE-NG was purring along nicely.<\/p>\n<p>I was surprised at the speed at which KVM images would run on EVE-NG, it should not have been a surprise, 4&#215;2 CPU Intel cores is more than enough.<\/p>\n<h2>Moral of the story.<\/h2>\n<p>Well, there is no moral.<\/p>\n<p>I knew that I was using a workstation as a substitute for an enterprise server.<\/p>\n<p>Doing research for the NFS issue, you can fix it by changing a couple of settings on your NIC. Unfortunately, as I stated Esxi could not make the changes.<\/p>\n<p>The disk issue is also well known, VMware claims it is fixed in release 7.0, I did upgrade and it did not solve the issue.<\/p>\n<p>The two issues basically do not allow me to run guests of NFS mounts.<\/p>\n<p>I do not have iSCSI running on my home setup, perhaps that will be the next step since the implication is that in that kind of scenario there are no issues.<\/p>\n<p>Having said that EVE-NG is working fine and now I can run some complicated labs with the memory and speed that I have.<\/p>\n<p>Running guests of the local store is also fast.<\/p>\n<p>I still have my NFS server with enough disk space to run other guests using workstation pro and that should not be a problem.<\/p>\n<p>It was a fun weekend if you think doing this sort of thing is fun.<\/p>\n<p>Take care.<\/p>\n<p>Ciao.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello again, I have used virtualization for a while now in the enterprise. Mostly using Esxi and vSphere, using servers with 256 GB of memory and Terabytes of backend space (iSCSI, Fiber, NFS, etc.).&nbsp; Also, some KVM setups when Open Source was the only viable option due to pricing, etc. At home, I have used &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.miguelsarmiento.com\/?p=393\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ESXi, VMware, KVM, Proxmox, Oh My!&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-393","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/posts\/393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=393"}],"version-history":[{"count":14,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/posts\/393\/revisions"}],"predecessor-version":[{"id":413,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=\/wp\/v2\/posts\/393\/revisions\/413"}],"wp:attachment":[{"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=393"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=393"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.miguelsarmiento.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}