Link to home
Start Free TrialLog in
Avatar of joaotelles
joaotellesFlag for United States of America

asked on

VMware and Application HA

Hi,

I have a virtual env with 2 VMs (or the same host)  in which I run several application on top of a RHEL OS.

What I was looking for is what are the options (maybe pros/cons) to achive app. HA between the VMs.

In order to have, in case a appl. fails on the VM#1, it would automatically failover to the VM#2 (even if the VM#2 is on the same host or not).

I checked the VCS (Veritas) for ESX and the App HA.... but I dont know much about them...

Can you guys maybe point out reliable articles and if in your opinion one is better than the other in terms of easy to implement, less cost, more reliabel..etc?

Tks,
JT
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of joaotelles

ASKER

Just a side note (not sure if relevant) but I only have one vCenter that manages theses VMs.
Clustering would be a good idea.... like having Veritas on top of the VMware (n ot sure if that what you meant)... but I think in terms of cost would be more expensive in order to achieve basically the same thing....

The goal here is to have HA for the apps... by HA I mean if the application fails on the VM#1, the Syamntec HA (that I already have) would try to start the appl on the same VM 3 times (as per my configuration). And if its still failing, them something else (maybe  this vSphere App HA) to have the app starting in a VM#2.

If the host fails the vMotion would take care of it failing over the whole VM to the other host.

Thats my take on it... not sure if its correct or the most efficient one.....

Maybe I dont even need the Symantec HA that I already have....

Tks,
JT
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes I do (evaluation period).

The thing with the Symantec HA is that it only restarts the Appl. on the same VM.

So, I was looking for something that would failover the Appl. from VM#1 on VM#2.

Lets say the appl. has a problem in the VM#1 and crashes (but the VM is still On)... with the Symantec HA, the Appl will try to restart X times on the same VM, and if for whatever reason it cant make it, it will be in the 'failed' state and nothing else will be done...

With vMotion (my understanding). If a VM fails on the Host#1, then the whole VM will be migrated to the Host#2. Its a dif. "layer" of HA compared to the Appl. HA Im talking about... (maybe this is the VMware HA you were talking about and I misunderstood it for the vMotion)

Talking about the VMware vSphere App HA, my understanding is that with it, if the Appl (not the VM), fails on the VM#1, it would failover to the VM#2. Only the Appl., not the whole VM.

It would have the same "effect" as the Veritas Cluster Service, that when a Appl. fails on the Node1, it fails over to the Node2.

If that is not the case... then what Im looking for is the VCS implemented for virtual envs (VMware) and if there is any VMware product that would do the similar job as the VCS does for the applications. (which is fail it over to another VM (node) in case of a crash).

Tks,
JT
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also, I could not find any "updated" document that would point out if the RHEL7 is compatible with any VCS version running in a VM.,,, DO you know if this would be a problem...
Tks for the reply.

Have you ever worked with these? VMware HA - VM and Application Monitoring ...

Any input by comparing VCS w/ vmware and this VMware HA - VM and Application Monitoring ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Tks!

I have a shared storage... Not sure about the budget yet..

Checking the options and per what I understood here is my summary:

1- vSphere App HA - which is essentially the same thing as the Symantec HA. But also - if you are running one of the supported applications - then App HA will recognize that a service has failed, it will try and restart that service (X amount of times - according to your settings) and if that does not work, it will restart the machine.

2- VMware HA - VM and Application Monitoring :

For the HA VM monitoring, it will restart a VM if:
a- That VMs VMware Tools heartbeats are not received in a set period of time (see below for details)
b- The VM isn’t generating any storage or network IO (for 120 seconds by default, though this can be changed using the following advanced cluster level setting: das.iostatsInterval)

For the Application Monitoring, it was confusing for me to see if the App HA and this Application monitoring are actually the same thing or not...

I found this statement in one of the docs:
"To enable Application Monitoring, you must first obtain the appropriate SDK (or be using an application that supports VMware Application Monitoring) and use it to set up customized heartbeats for the applications you want to monitor. After you have done this, Application Monitoring works much the same way that VM Monitoring does. If the heartbeats for an application are not received for a specified time, its virtual machine is restarted."

So I think its essentially the same thing...

3- the VCS for VMware, which would give me basically all the functionalities I have for Appl failover..etc... but maybe the most expensive solution...

====

Is this a right undertanding of the #1 and #2 (The VMware products?)

I will also check the Double take products.

Tks,
JT
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Tks! I will try all these methods and decide from there afterwards...

I have to check which method my applications complies best as well...