Red Hat Enterprise Virtualization HA [ha ha]

The previous post in this series on Red Hat Enterprise Virtualization (RHEV), explained that the RHEV Manager is not just a mission critical component of the infrastructure — it’s a huge single point of failure as well.

What happens when the other major component of a RHEV infrastructure fails?  Can you rely on RHEV High Availability (HA) to quickly and reliably restart affected VMs when a RHEV Hypervisor fails? It depends — as you will see.

First, let’s make sure everyone is up to speed on HA capabilities provided by the gold standard in virtualization:

VMware HA

VMware HA is a robust feature that was first introduced with Virtual Infrastructure 3 in 2006.

VMware vCenter Server is required to configure HA options and add VMware ESX hosts to a cluster, but after that vCenter is hands-off — ESX hosts communicate among themselves to reliably restart virtual machines.  In fact, VMware HA can even restart vCenter Server if it is running inside a protected VM — wrap your head around that one.

Powerful options are available for administrators, such as specifying the restart priority of virtual machines and whether or not to force VMs to power off if a host becomes isolated from the rest of the cluster.

VMware has heavily invested in this technology, reducing risk  for customers that virtualize with vSphere.  For even more information on VMware HA, take a look at Duncan Epping’s HA Deep Dive.

RHEV HA [ha ha]

Looking at this Red Hat Enterprise Virtualization competitive comparison, you’d might assume that RHEV and vSphere are on equal footing when it comes to protecting virtual machines with HA:

Unsightly details behind the marketing

RHEV HA sounds great in the marketing brochure, but there are a few problems with the execution.  RHEV Manager is a single point of failure — running on a physical Windows box — and it’s also the actual brain behind HA.  Yes, RHEV-M is responsible for restarting virtual machines when a host fails.  If the manager is down, no HA for you!

That alone makes RHEV HA something less than “HA” for most production environments, but there are a few other key weaknesses:

  • HA must be manually enabled for each virtual machine — no cluster-wide settings
  • No cluster admission control — administrators must manually ensure sufficient capacity would be available in a cluster to accommodate a host failure
  • No VM restart priority to ensure the most critical workloads and dependencies are brought online first
  • Primitive split-brain protection requires IPMI or other out-of-band management interface to force a host shutdown
  • Cannot protect the RHEV Manager itself — chicken-and-egg situation

Wow, I didn’t notice those details in the comparison brochure.


Whether your datacenter is running Windows Server or the mighty Red Hat Enterprise Linux, doesn’t it makes sense to trust the proven leader in virtualization?  VMware vSphere is simply the most reliable platform for consolidating workloads and building your private cloud.  Going beyond exceptional HA is VMware FT — mirroring mission-critical VMs on backup hosts means zero downtime from host failures.

(Visited 5,171 times, 1 visits today)
This entry was posted in Virtualizationism and tagged , . Bookmark the permalink.

59 Responses to Red Hat Enterprise Virtualization HA [ha ha]

  1. Pingback: Tweets that mention RHEV HA is not equivalent to VMware HA - do not believe the marketing | VCritical --

  2. Tony says:

    Can’t argue with your findings here, but I can argue with this:

    “Going beyond exceptional HA is VMware FT – mirroring mission-critical VMs on backup hosts means zero downtime from host failures.”

    You mean mirroring mission-critical 1vCPU, VM’s….

    • I have some mission critical apps that consume about 400-500 MHz and 3.0GHz CPUs.
      You forgot that 1 core of top Nehalem is slightly more powerful than Pentium 2.

  3. nate says:

    Hmm, looking at the vmware pricing PDF, it seems that “HA” is available in “Standard” edition, it’s also available in the higher end versions of essentials, for smaller installs I believe.

    Good post though, I’ve been a devoted vmware fan/user for about 11 years now, though mid-longer term I have grave concerns about where EMC is trying to take them, I plan to stick with vSphere for at least v4, and re-evaluate options again in 2011/2012 whenever the next refresh comes around.

  4. TimC says:

    You must be deathly afraid of RHEV with all this bashing…

    VMware HA is nothing more than a rebirth of Legato AAM with some tweaks for esx.

    Unless something has changed, your comment “ESX hosts communicate among themselves to reliably restart virtual machines.” isn’t entirely accurate unless you add a caveat of “under most conditions”. They can only reliably restart virtual machines if a primary node is still alive.

    Marcel has done a good job of covering the basics:

    • Fernando says:

      Yes …. you need a primary node … so, if you have bad luck enough to lost all the 5 primary nodes at the same time, than HA will not work.
      Very likely situation uh ???

      • TimC says:

        Depends on the definition of “likely situation”. Depending on the size of the cluster, the type of servers, etc., yes, it’s an entirely realistic scenario.

        If your definition is “happens on a weekly basis” then the answer is no. But with that sort of approach, why have redundant power, raid-6, or redundant fabrics? Screw it, let’s just pretend there’s no failure modes and hope customers never ask.

        • Fernando says:

          So, you are suggesting that losing 5 ESX hosts at the same time, is realistic, and might happen anytime ?

          • TimC says:

            You’re suggesting a blade enclosure has never failed in the field, never will, and if it does happen, it’ll be during a scheduled outage?

            I’m not sure if you’re trolling or just have 0 experience in a datacenter. Either way, yes, I’m saying it’s entirely possible to lose 5 servers in one shot. I hope you aren’t in charge of architecture.

            • Fernando says:

              No personal offenses please, let’s maintain professional discussions here.
              It is an very known best practice to spread blades across difference enclosures to avoid this problem.

              Blade enclosure failures are rare, a minimal possibility. If that happens, even with HA, you are in serious trouble, since you will loose many, many hosts at the same time, and capacity will be an issue here (unless you have let’s say, 40/50% idle capacity on your cluster).

              • TimC says:

                So why exactly do you find it important to spread blades across enclosures, but find it completely unimportant to inform end-users of the primary node issue? It would seem to me those two actions/beliefs are entirely in conflict with one another.

                Lots of things are “rare”, that doesn’t mean they should be ignored or dismissed with a sarcastic response, as you chose to do.

                • Fernando says:

                  Again, this is a very known practice to spread blades across enclosures, what is your concern here ?

                  You pointed a possible problem, and I showed that well designed environments will never suffer from it.

                  This primary node “issue” is not a secret, it is very well known. This will happen very, very rarely, you cannot say it is a general problem that will hit everyone.

                  And again, blade enclosures failure rates are minimal to none, given you have a decente datacenter infra.

                • Maybe I missed something, but as Fernando said primary nodes issue is not a secret and I saw no efforts to conceal it from end users.
                  Actually if end user admin is not too lazy to open google he would know that. If admin is not too lazy to search through internet what “slot size” mean in HA Runtime Info he would know how exactly HA works, what is primary node and what is HA slot.

            • Tony says:

              LOL…I’ve seen a chassis die, which is why I balance ESX hosts across 2 chassis 🙂

              I’ve seen facilities electricians cut UPS shutoff switch lines, entire racks blow BOTH circuits, sewer lines back up and flood raised floors. I dunno maybe I just have bad luck, but ANYTHING is possible!

              • Fernando says:

                Agree ! But in this case, HA will not save you !!!

              • Eric Gray says:

                I wasn’t supposed to disclose this, but… the next version of vSphere will have an optional accessory (USB) that monitors sewage levels beneath datacenter floors. Once the configurable threshold is exceeded, an alarm sounds and a thin membrane is automatically deployed that surrounds each rack, activating a bilge pump to bring sewage down to acceptable levels (typically 1-3 cm max).

                • Fernando says:

                  Looks like the ultimate feature to enhance HA !

                • nate says:

                  Per the “losing 5 servers at once” argument I recall seeing someone blog not too long ago about trying to get vSphere to be “aware” of the underlying hardware, that is say for example you have a pair of blade enclosures which are backups for each other or something, apparently vSphere has no idea of the underlying design of the system so it could in fact put all 5 primary nodes on the same enclosure, in the unlikely event that enclosure suffered a hard fault then HA would not work.

                  Myself I have not used HA, all of my systems are either free ESXi, or vSphere standard/essentials. For the most part “HA” is provided by redundant VMs and load balancers, with few exceptions(few DB servers and stuff, DB servers have standbys as well). I actually tried turning on HA at one point for some systems but it wouldn’t let me – not enough capacity or something. I didn’t investigate it much but what I would want to do is turn on HA for specific VMs rather than cluster wide, and only those VMs that don’t have redundant counterparts on other servers. I don’t know if that is possible or not in vSphere. Wherever possible I will always opt for redundant VMs and load balancing, more scalable, (usually) simpler to manage, you often have the ability of active-active traffic serving, and it mixes well with the physical environment as well.

                  I kind of get annoyed when people/organizations come out with some fancy new tool or process/procedure and then say OH, well it doesn’t work if your not fully virtualized, as if running a physical environment parallel to a virtual one is like running a mainframe next to your linux servers or something. (yes I know some still run mainframes today:) )

                  Then again I’ve NEVER (honestly never) had a ESX host fail, ever in the past 3-4 years I’ve been using it (3.0.2 is when I first started using ESX I believe). Maybe I’ve been lucky..

                  My virtual environment is very similar to my physical one whether it’s the tools I manage them with(cfengine), the tools I monitor them with (cacti+nagios), etc. I suppose I could “get more” out of my virtual infrastructure if I took to learning powershell and the like, but I just don’t see the benefits from my own environmental standpoint.

                  • Eric Gray says:


                    Thanks for bringing in that additional perspective — nice pragmatic approach to integrating virtualization with your existing systems management.

                    In vSphere it is possible to tune HA so individual VMs respond differently to failures; you can probably get it configured the way you like with a little research. The other issue you mention has to do with capacity reserves — vCenter prevents you from powering on more VMs than you would be able to run effectively if a host dies.


              • HA was not designed to save you from evil electrician with BIG scissors 🙂

      • If all 5 primary nodes goes down at the same time there should be more serious stuff like whole datacenter power outage. Actually even blade enclosure can’t just go down. At least my blade enclosure with 6 Hot-Swap PS from 2 different sources.

  5. John L says:

    My Red Hat KVM clusters are completely bulletproof (unless we lose both geographically separated datacenters).

    I use LVM for my virtual disks and mirror them to storage at the other datacenter, create bonded links across PCI network NICs to seperate switchs and create my cluster with blades in diffferent chassis’ at both locations.

    And, by the way, you don’t need IPMI or out-of-band mgmt interfaces to fence nodes. SCSI persistent reservations isolate physical machines from shared storage quite elegantly.

    Think about this scenario though. Let’s assume you have an HA VMware VM running web services and the VM is fine, but the HTTP service on the guest crashes. For my KVM clusters, I can configure a cluster of virtual machines running XVM fencing and configure a clustered HTTP service, using shared storage, on them. This way, even if my KVM guests are all healthy from an OS perspective, my HTTP services migrate automatically on failure. I could also just run the HTTP directly on the physical blades using the same cluster and shared storage as my HA KVM guests.

    Everything I need for this, from nuts to bolts on the software side, you get with Red Hat. That means I have one support channel to deal with. This is really the beauty of it all.

    The per socket cost of VMware ESX is outrageously expensive when you consider the alternatives. Especially if you aren’t fully utilizing the ESX server. On top of the substantial cost of VMware, you still need to pony up for the OS and OS support you will need to put on your virtual guests. And if you have issues with your guests, don’t be surprised that if you call VMware they tell you you have an OS issue or vice versa from Microsoft, Red Hat, Sun, etc. Who needs a middle man?

    The support model for OS vendors creating their own virtualization technologies ends the finger pointing games, the bringing down of guests to install new versions of VMware tools, etc. In my opinion, VMware should be a bit nervous right now and they should be slashing the pricing model of their products to prevent further bleeding. When heavy hitters like IBM start using KVM/RHEV for their clouds like I was just reading about, the writing is on the wall.

  6. Deen says:

    Hey dude, what the fuck is wrong with you. RHEV-M is work in progress an cost on a friction of what vmware do. I suffered using vm infrastructure 3 but now the new vSphere is better. RHEV-M is still infant, give some time for the developer and then compare. Most of you facts is outdated. The latest RHEV comes with ksm and and other feature that work well for me. Are you using RHEV-M. I am. I implemented at least in 10 data center and all my customers are happy. So RHEV-M work and it is simple.

  7. Robert says:

    According to this document, RHEV-M can be HA’d

    It’s also possible to provide HA for RHEV-M using RHEL’s Cluster Manager.

  8. John L. says:

    On any RHEL server, KVM or RHEV-M, you can set up “shared nothing” HA clusters using DRBD (Disk Replicated Block Device)

    I used DRBD on a KVM cluster as the shared storage and I complete HA…not even shared storage. Since I have a complete copy of the data, I am literally sharing nothing. I am pretty sure that you can’t utilize DRBD on ESX because the VMKernel handles ALL access to the VMFS datastores. The Linux kenel for the SC can’t get to that data.

    So. for RHEV-M, just set DRBD on the raw partitions where the RHEV-M resides and you are all set…at the block level. You will have to have access to all the VLANs at both locations though if you want the KVM guests to have networking when you switch over.

  9. Deen says:

    Don’t just comment an not update. Who the hell ask you to compare with something in beta release. The brochure is for complete release 3.0. Things you said RHEV don’t have already there. It’s looks like every thing about vmware is the best. Are you paid by them to write this? Check the release update of RHEV and comment.

    • Eric Gray says:

      Uh… there are no beta products mentioned in this article and the current version of RHEV is 2.2 — not 3.0.

      • Deen says:

        3.0 will be the next release which RHEV-M will be running on linux platform. 2.2 is the current release. I am running 2.2 with failover RHEV-M setup. No chicken or egg problem.

      • Deen says:

        I have seen vmware promotion article saying vm esx server is not linux base. It is some special os created by vmware. Even presentation give by the vmware sales team syas the same thing. I don’t go around saying vmware not good because of such article. ARE you running RHEV. I am running 56 blades with over 150 os, no problem at all.

      • Deen says:

        I am running RHEV Manager on 2 virtual os… no problem at all…

  10. truth says:

    RHEV HA sounds great in the marketing brochure, but there are a few problems with the execution. RHEV Manager is a single point of failure — running on a physical Windows box — and it’s also the actual brain behind HA. Yes, RHEV-M is responsible for restarting virtual machines when a host fails. If the manager is down, no HA for you!
    >>> Incorrect, the manager can be made Highly avaiable.

    That alone makes RHEV HA something less than “HA” for most production environments, but there are a few other key weaknesses:

    * HA must be manually enabled for each virtual machine — no cluster-wide settings
    >>> So?

    * No cluster admission control — administrators must manually ensure sufficient capacity would be available in a cluster to accommodate a host failure
    >>> Are your administrators unable to perform the simple math necessary to determine if enough capacity exists to handle Virtual Machine HA?

    * No VM restart priority to ensure the most critical workloads and dependencies are brought online first
    >>> Yes, in RHEV 2.2 which is released now

    * Primitive split-brain protection requires IPMI or other out-of-band management interface to force a host shutdown
    >>> Fencing a physical host is something that is used in many cluster solutions. How is this primitive?

    * Cannot protect the RHEV Manager itself — chicken-and-egg situation
    >>> You can cluster a Windows virtual machine using KVM and Red Hat Cluster Suite to provide a highly available Manager. You could also cluster the application server and database to provide HA at that layer.

    Wow, I didn’t notice those details in the comparison brochure.
    >>> You also didn’t mention that it’s 25% the price of VMWare, the next version of the hypervisor scales to 4096 cores , and is going to leverage SELinux, something that VMWare will never do.

    Have a nice day! 🙂

    • Deen says:

      Thanks Bro.. Finally somebody who understand RHEV. You forgot to mention, it is also OPEN SOURCE. You can request for the source code from REDHAT, something VMWARE will never do.


    • Eric Gray says:

      The version of RHEV available when this article was written — and the one with which Red Hat was boldly claiming vSphere parity — was 2.1; the features of 2.1 as described above are 100% accurate.

      Maybe Red Hat should have waited to get all of the features actually in a shipping product before their CEO started firing shots at VMware.

      If you think capacity management is simple arithmetic, you are entitled to your opinion.

      Since VMware ESXi is a small-footprint hypervisor that contains no Linux, I would have to agree with the point about VMware not leveraging SELinux.

  11. Vishal Bhatia says:

    Point is every organization makes tall claims about their Product’s features and no-one highlights the weaknesses.

    VMWare claims FT to be such an important feature. How many times the customer is actually told :
    That it can have only 1 vCPU and that too with upto 20% overhead. I’ve heard of VMWare claims that FT can make RAC redundant. Imagine running a DB VM with a single vcpu and upto 20% overhead 😀
    That it requires a dedicated Gigabit Ethernet network between the physical servers, 10 Gigabit Ethernet should be considered if VMware FT is enabled for many virtual machines on the same host.
    That you can’t use memory over-commit, thin provisioning, hot-plugging of devices and even snapshots with FT. All the features that VMWare claims are critical for a virtual environment and charges you $$$s for.

    Xen 4.0 also provides FT and possibly with a lot less overhead and multiple vcpu support

  12. jlchannel says:

    RHEVM is really suck and I would said stupid product.

  13. IanH says:

    If only that were true.. There is this wonderful thing called human error, like the DC engineer who throws the wrong circuit breaker after a power feed failure and turns your entire rack off and off goes your fancy blade enclosure (and I had this happen last week so it does happen!)

  14. buraq says:

    Hi Eric, love your blog!

    Silly question, how do you make this images/screenshots look like this ?
    like it’s some paper been cut 🙂


  15. buraq says:

    Thank you Eric.

  16. Krish says:

    Guys, I hope the argument between RedHat vs VMware is still alive here since i need to take a decision on the same. I have some critical web servers internal to my business that would have squid-apache-mysql installed. I am looking for a HA solution either from RedHat or VMware HA/DRS but i m not too sure which one to consider looking at the reliability, cost for licenses, response to which the fail over of services can be triggered. I proposed RHEL cluster with two servers hosting ESX in which VMs would be running so that one HW can fail over to the other in the event of a HW failure etc., but i had one VMware guy propose HA/DRS solutions. Let me know honestly which one i should go with … mainly with complexities of implementing them, reliability/stability and response


    • Eric Gray says:


      If you’re just getting started with virtualization, you may be interested in vSphere Essentials Plus – it can be installed on up to three 2-socket physical machines and will run dozens of VMs. HA is part of the solution and it’s very easy to set it all up.

      Hope that helps.


      • Krish says:

        Eric,Thanks for your quick reply. My requirement is RHEL 64bit VM with services like apace,squid, mysql to be installed. and i must have a pretty good Load Balancing mechanism as well , currently we rely on Squid for the same. Do you recommend vSphere Essentials to have two VMs on a physical hardware underlying ESX on it which does these things u mean ? How about the physical HA capability to the identical hardware having a similar setup like this, possible to achieve through vSphere Essentials ? I just need some insight to square off the product so that i can investigate further on that hoping it would help my requirement. Any help is much appreciated. thanks.

        • Eric Gray says:

          vSphere HA works by restarting a VM if the physical host fails (or other conditions that you can specify) on a remaining physical host. It’s very easy to enable and requires no additional configuration on the guest RHEL VM. Please see for more info.

          If you have two physical servers available and some shared storage (NFS works fine) you can download a 60-day trial of vSphere Enterprise Plus and install ESXi on the physical hosts. Then you just need to set up vCenter Server either in a VM or on another host to create the cluster and enable features like vMotion and HA.

          • John says:

            Looks like VSphere HA is good for operating system failures but I can’t find anything to suggest it could monitor your mysql, http or squid services. If this is the case, you’d probably be better off with two physical servers running Red Hat clustered KVM guests. You could then set up a cluster on the guests and use the supplied http, squid and mysql modules to monitor your services. You could alternatively use VSphere HA and then set up your cluster on your VMware guests using VMware fencing. I think the TCO on the all Red Hat solution will come in lower unless you currently have VSphere set up with some excess capacity. I have also found KVM and Red Hat virtualization to be far more “Linux Friendly” then VMware. It appears most of the development and marketing at VMware is geared towards Windows. Of course, this is just my opinion.

            Also, Eric says “NFS works fine” which is puzzling to me as this creates a single point of failure for your whole set up. If the NFS server goes down, your finished. Best bet is shared storage on a dependable SAN backend which is orders of magnitude less likely to fail than an NFS server. A good SAN backend is usually engineered for redundancy.

            • nate says:

              It’s true Vmware HA does not do anything to protect against software failures in the OS such as MySQL, etc. It’s mainly for host failures, or if you enable guest monitoring(I wouldn’t do this myself given the number of times I’ve seen vCenter complain about losing communication with the agent when the system is fine) it could capture guest OS failures.

              I had one issue recently where a pair of VMs ran out of memory causing the paravirtualized network driver to fail (memory allocation error) – never seen that before, wouldn’t expect the driver to have to allocate more ram (it should allocate it up front!), of all the times I have gotten OOM, I’ve never seen a NIC driver fail till this time.

              setting up clustering sounds like a real PITA to me – I generally try to avoid it, and instead use load balancers (preferably good ones – I like F5, Citrix and even Zeus though it’s called something other than Zeus now I would NOT use the Linux LVS or whatever it’s called – F5/Citrix/Zeus all have VM appliances that can run in common hypervisor environments – Zeus is the most flexible as you can install it on any generic linux host), not only provides fail over protection but load balancing too of course. Some load balancers are better than others for certain protocols (Citrix for example is the only one I know of that has MySQL protocol-level intelligence). Load balancers do introduce another layer of cost of course, at least in the environments I work in which are always HA, load balancers are a requirement regardless of what sort of server/apps/clustering/whatever is used.

              I think when people say “NFS is fine” they assume your running NFS on a HA setup of some kind, maybe some canned enterprise offering or perhaps something lower tier like Nexenta and their active/passive “clustering”, I don’t think anyone runs stand alone NFS services to support a HA VMware (or any other environment) outside of basic labs and stuff. If they do they should be shot.

              It is true that most of the tools in VMware are geared towards Windows though it seems to be changing a bit, for example their vCenter appliance is linux based (not that I’d use it yet it’s too limited from what I’ve read).

              I am pretty excited about the new stuff coming out of Red Hat and hope to try it soon. I’ve been a Linux user for 16 years, though VMware has provided an awesome hypervsior for me(I haven’t used their other addons much yet and am not planning to) during much of that time (going back to ’99 when VMware was just vmware and only ran on linux).

  17. Arthur says:

    RHEV is fully capable for HA for both guest level, as a feature, and on managment level, env. design

  18. Oldskool says:

    Bottom line: VMware is Virtualization for Dummies (with alot of money to waste). KVM/RHEV is for real admins/engineers who know how to do stuff. It is infinitely more configurable than vmware with its Windoze-style pull-down menus and check boxes – it even has a native virtualization shell so you can script virt. related stuff (virsh). Try that vmware (and no, that vmware-cli crap is not native). Dont know what – if anything – vmware is doing with powershell, but Im sure it will be windows-style retarded.

    I have watched vmware go from a pretty open platform running on linux to a sort of vm-hosting appliance running on a crippled linux base. Vmware is on the forefront of dumbing down system admin (a trail microsoft blazed in the 90s), and thus chasing away real admins who have technical prowess and ability to do stuff competently on an enterprise level (see former unix admins like myself :). I forsook (past tense of forsake 🙂 vmware as soon as I saw the brilliance and true ‘nix-type brilliance of KVM. Nuff said. JG

  19. Jaime Tan says:

    with the latest version 3.3 no longer applies this article. There is already the option of priority, to choose any hypervisor server also now the manager is Linux not Windows.

Comments are closed.