34 points · by johnnycarcin · 10y ago · 30 comments
We are not looking to build a "cloud" or anything as most of our applications do not need architecture like that. Basically just a physical cluster we can deploy VMs to. We do use consul for service discovery so we essentially just need some type of solution that allows us to hit an API (or run a command locally) that will fire up a pre-defined virtual machine on one of our various servers. Performance of the virtual machines is our top priority with ease of management being a close second.
Currently we use salt which appears to have good support for working with KVM which is a major bonus but not something that ties us to KVM 100%
Anyone out there using barebones hypervisors in production who can share their experiences? Right now it honestly seems like a toss up from what I've been reading.
Hyper-V works, but has terrible admin tooling, especially if not on a domain
VMWare is a fine hypervisor and if you are happy with what it provides then ESXi free is hard to beat
But if you want a cluster on the cheap, with proper clustering support, XenServer is hard to beat. I use this extensively especially in SMB and also local dev environments - a couple of Xen Servers backed by fastish NFS SAN's. Easy to maintain and administer. Good tooling both from a GUI and CLI point of view, without actually having to dish out any money.
That said, if someone else was paying, ESX would be just as good if you needed vMotion/vStorageMotion etc.
I still use it begrudgingly though, because my dev machine is also a gaming machine, and Hyper-V GPU passthrough to the primary OS (Windows) is nigh seamless and doesn't require any configuration. Also, my dev machine also happens to be a laptop, and Hyper-V supports many advanced power management features (like connected standby), that are not well-supported on any other hypervisor as far as I'm aware of (many of them have trouble with even going into/resuming from sleep/hibernation in the first place when I last tried them).
ganeti is an alternative to libvirt.
You can look at https://project-fifo.net for managing smartos.
I'd be happy to discuss in detail if it looks interesting!
I have VPS's at Linode and Ramnode. Both these companies use KVM as well. Even if you're not deploying cloud, you might look at what the big VPS providers are using, as they're dependent on a sturdy hypervisor, so big VPS providers using a particular one is a good indicator.
I have worked at places that used VMware's hypervisors, and they worked fine. You'll be shelling out more money for the support and such though, although they do have some free options on the lower end. I am not up to date on VMware enough to know if there's any catches on the free VMware stuff now in 2016.
so you can provision VM with API.
They are developing for LXC which will give you better performance in the future.
They're SmartOS! They're on the Solaris codebase! They've had containers since 2005! Literally before it existed, it had containers!
I used QEMU sometimes because it has support for MIPS and SPARC emulation so that it can run old operating systems for those platforms on it.
I had a task to modify QEMU to get networking working on a Solaris 7 SPARC virtual machine, but there is a bug in the kernel that causes a crash with the NIC that is emulated in QEMU for SPARC and there used to be a Sun Y2K CD-ROM that fixed it and nobody seems to have it anymore. Anyway I couldn't modify QEMU in time to make it work and lost that gig. To be honest there are Russian Hackers trying to get Solaris 7 and older stuff working in QEMU and can't seem to get anywhere. But that was a few years ago and maybe someone made progress yet?
QEMU runs IBM OS/2 quite well.
It's open source and free, and is a tweaked Debian with KVM/QEMU virtualization and also LXC container support. It puts a nice web interface on top of it all, but the underlying OS and CLI is fully available too.
The hosts can be clustered and VMs can be migrated. It doesn't require shared storage but can use it if you have it. (You need shared storage for live migrations).
We pay for support since the cost is reasonable, but you don't have to.
I've considered putting the free hypervisor on a server here at home instead of using VirtualBox on my laptop for my test VMs but I'd want to be able to create/provision/etc. VMs using my own tools (and not have to fire up a Windows machine to run the vSphere client).
As that becomes less and less the case we may migrate or expand what we adopt.
Other than that whole AWS thing...
Successfully running Windows 10 on top of Arch, with my GTX 970 passed though. Works without a hitch.