📜 ⬆️ ⬇️

Free virtualization - practical applicability

No, the name I didn’t mean to say that this is a bad technology, on the contrary, it is beautiful, but its implementation is very different. There are a lot of resources on this topic on the Internet, and everyone considers it his duty to make a comparison, and with a bunch of charts and official reclamations. Well, that means my duty too. The only difference is that my comparison will include those aspects that were significant for me (for example, USB devices to guest systems and the convenience of implementing a software router), and I will be too lazy to give official tables, which means my comparison will be shorter, tied to one of the practical tasks. And most importantly, since the enterprise in which I work very sparingly for the development of IT infrastructure, the discussion will be conducted around free products. So, in the course of domestic and professional activities, I had to deal with such systems as VMWare vSphere, Microsoft Hyper-V and KVM. Consider them in the order of my acquaintance:


VMWare vSphere (ESXi)


About VMWare products have always been of a better opinion and this platform has become a favorite, but under one condition - HCL (hardware compatibility list). That is, if the “hardware” of the host does not respond to HCL, then we can only hope that the controllers themselves will coincide with those used in components from HCL and drivers for them will appear in vSphere. If not, then you will not see this platform on the host. This is the main disadvantage of the platform, which follows from the main advantage - it is complete. That is, you do not need to cut, plan and run with a tambourine. If she gets up, then she gets up. That is, with half a punch and ready for use in a production environment. Can be installed on a flash drive, connects almost all possible storage systems (local, NFS, iSCSI, FC).

Understand the correct hardware RAID without problems, does not understand the "wrong" in principle. Very powerful management features for virtual network adapters. I don’t know what’s really there in the Nexus 1000 paid virtual switch, but it’s free — quite a L2 switch. In particular, my main and auxiliary network needs are fulfilled with a bang, namely:

1) the main one is the network bridge (seemingly so called this functionality), that is, to allow the dedicated virtual interface to work as if a wire is directly connected to it. I don’t know how best to explain this, in fact, quite an expected function, for example, the gateway works, an interface with a connection to the provider is given to it, the registered interface is assigned a registered MAC by means of vSphere and the gateway receives an IP from the provider, installs the PPPoE channel and everything that sort of thing
')
2) Auxiliary - L2 switch with support for tagged and untagged ports. Thanks to this, the gateway perfectly routes the VLANs of the network, being connected to only one physical interface.
Well, for dessert - a full-fledged probros USB devices in guest systems (for example, hardware USB keys) and good free solutions for migration and backups. Veeam Backup & Replicate in free edition implements even hot storage vMotion. Native conversion utility allows you to easily convert images of physical machines and other virtual machines into working vSphere images. If you add to this a paid but adorable vmware workstation, which, being a very good second-level hypervisor, can connect to the vSphere host and manage its virtual systems, then the picture looms right away. Payments here only saw two at the moment: HCL and RAID.

Microsoft Hyper-V Server


How much he can according to official press releases. Collecting a home server, I certainly hoped for this platform, because my platform did not get into HCL vmware. The first thing that caught my eye - you need a tambourine, and only a brand in order to run it. Without "half a liter" or good leadership is not enough (by the way, the first acquaintance with vSphere happened without manuals, tambourines and prompts, only at an intuitive level). Well, in order to at least tolerably perform the initial post-installation setup, you have to use unofficial (amateur) utilities. Even after finding a good manual, I had to think for a long time why no network card is displayed among the possible interfaces, despite the newly installed drivers. The answer was that until you insert the cable, the system does not display the physical network interface. The interface is very scanty, the settings for virtual machines and the hypervisor are smaller, but judging by the advertisements, the functions are more, they are simply more carefully hidden. I started naturally from the gateway and ... Hyper-V did not cope with the network task # 1. Moreover, USB probros from the host to the guest system in version 3 is not yet possible, but there is no newer one. But instead of recognizing this flaw, representatives of MS in some resources indicate that this function is not yet available due to a number of technological limitations, and vmware doesn’t implement it correctly - oh, what a great job. Installation on a flash drive seems to be possible, but again only with the "half-liter", and you can sleep even earlier than the platform will work. But the wrong RAID is not a hindrance.

So, what we have in the dry residue? Omnivorous in relation to the "iron" and omnivorous in relation to RAID. Plus, the quality utilities of Veeam should work, but I could not verify this - I quickly decided to look for a replacement for it.

KVM


Another vaunted platform. I read about its capabilities and could not resist the desire to test it, especially since I needed an omnivorous replacement of Hyper-V. And here I realized that this is just an inverted vSphere in every sense. The first thing I encountered was a lot of different options for deploying this platform. That is, it is assumed that a person should try them all, analyze and draw a conclusion as more correct in his case. Somehow it is unusual when applied to servers. In addition, I did not find official best practices for installation - really, who is in that much. One says that you have to do everything manually through libvirt, the other one is enough to install VirtManager, and then everything becomes automatic, the third one says that it is better to roll ProxMox on Debian. Bottom line: the desire to try resulted in the study of available deployment tools and the selection of the best. These are in my opinion bare metal variations that do not require a pre-installed and prepared system - the package must be fitted, so to speak, "the suit should sit." And from all it came out that the distributions of ProxMox and OpenNode deserve attention. The first one on Debian, the acquaintance with which is old and superficial, the second one on CentOS, which I use in more than one instance, I consider to be synonymous with stability and of course the heir to the RedHat way, from which I began my acquaintance with Linux.

Opennode


OpenNode already counted the 6th version of the release and therefore was perceived by me as a serious application for the platform for the production environment and even more so for the home. The installation presented a surprise - I could not go through the initial setup of the network interface: I drive in all the settings, then the installer tries to apply them and gives an error, which I don’t remember. After a lot of options, I put the cable into the interface and ... here it is - the reason. Almost like in Hyper-V, the installer does not let you go further in configuring the network interface until you give it an active link. Eh forgotten the times when RedHat was installed from three disks to a computer, around which there was no Internet and network anywhere within a radius of 2 kilometers. Okay, they put up with it, the system was installed, they launched a console UI, which fell out with an error when creating the storage. Okay, let's see the GUI, which is a VirtualManager on the server without X. Unusually, but the solution turns out to be, and even under Windows. Download and install Xming (port of the X-server), connect via SSH and launch VirtualManager, which starts in our port X-s. Despite the fact that I usually do not pay attention to the visibility of the interfaces of serious products, but even this one I mentioned with the word “Miserable”, and yet the year 2013 is still outside (it happened back in 2013). Okay, my eyes quietly close on this, create a virtual machine in the standard storage (because the other is not created and falls out with an error) and at some point VirtualManager falls out with an error and does not start anymore. Reboot does not help him. I think there are all sorts of manuals on how to manually finish libvirt, find in the logs by the error code the reason why VirtualManager does not work, fix it in configs and make it work ... I think it is possible, but there is no desire.

Proxmox


The 6th release of OpenNode did not make the proper impression. The last hope remains - ProxMox, Is there really only vSphere with my Wishlist in this world - then they can safely consider themselves monopolists. I put ProxMox, I did not check the stage with the interface settings, since the link was already there, the installation went without problems. Little had to suffer with the reconfiguration of network interfaces - apparently bad knowledge of Debian affected. The first difference that catches the eye is that not the VirtualManager is used here, but the web panel. It even makes me happy, because I begin to love more and more control over the web. The configuration of network interfaces is a bit complicated, but you can even figure it out intuitively. Why the reconfiguration did not give effect without rebooting. Minus, but still tolerable. I didn’t go to the console to fix it for 2 reasons: 1) I don’t know Debian well 2) I’m looking at the product, and all the controls are in the control panel, everything in the console is, let's say, “undocumented features”. In addition, without "undocumented features" there is no support for networks in the VLAN. Finally, I create a virtual machine, an installation image is available to download directly through the webmord, which is admirable after Hyper-V and OpenNode (in your favorite vSphere this is of course). MAC addresses are assigned to virtual adapters, the connection to the ISP is thrown into the virtual machine, I proceed to the installation and ... the Java RE of the older version does not allow doing anything, only the Error window pops up to the security warning ignorers. Will have to update. Updated, connected to the console, but after a week this version of Java did not allow me to reconnect because a new version was released. My network test # 1 did not cause problems. The basic functions for managing virtual machines are quite suitable, the functionality for the vSphere alternative in this market is quite good, the ability to change the hardware of the VM, the ways of virtualization of KVM and openVZ (containers). Statistics, backups, snapshots, LDAP / AD authorization support, built-in databases, storage connections: RBD, iSCSI, NFS and others that I’ve not heard about, updated and as I understand ready downloadable openvz virtual appliances packages. And now let's remember for a moment that this is an add-on over Debian and then it becomes clear that if you connect the “half liter” and tambourine, then installation on the wrong raid and even soft raid becomes possible, delivery of the Spice desktop (I have not tried it yet, I cannot tell ), forwarding of USB devices from the host (unfortunately the address of the device being forwarded changes after a reboot), forwarding of PCI cards - and here a bummer was waiting for me - the processor does not support passthrough. As you can see there are a lot of possibilities, but with more dopilku But deal with the fact that this will work, and what is not only you. A sort of designer, with a good starting set and the possibility of finishing.

Finally, my rating is:

1: VMWare vSphere
2: Top Mix: ProxMox
3: Hyper-V
Outsider: OpenNode.

PS: Of course, this is an amateur review and the criteria were tasks that are not paramount for everyone. But on this side, products are rarely compared and the choice becomes difficult.

Source: https://habr.com/ru/post/218461/


All Articles