• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 165
  • Last Modified:

VMware Application HA - How to test?

I have setup the 3 VMs required for vSphere App HA , including two which are part of vCenter Hyperic server. Have also installed Hyperic Agent on the IIS 8.5 VM that I want to monitor.

(Thanks to this link  -- http://blogs.vmware.com/vsphere/2014/02/installing-app-ha-pt1.html  -- given by A Hancock, which was great help, though it can be improved in a few places. The setup of App HA is certainly not easy, especially the Hyperic-server-related components!)

I have not been able to find any documentation or blog on how to test the App-HA setup. I stopped the www service on the IIS server and it did not get restarted by AppHA or Hyperic server which surprised me. In fact, I don't see any place where IIS related services are being monitored.

How may I test the setup?
(I am enclosing a few screen-shots to show what my setup looks like. Can provide more of those.) Thanks.

AK
vCenter-Server-Extension---AppHA-Unknown
Hyperic-Showing-AppHA-VC-Available.JPG
vSphere-AppHA---Connected-to-Hyperic.JPG
0
Akulsh
Asked:
Akulsh
  • 3
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Power Off the VM cause an uncontrolled shutdown or failure!

Do not shutdown host via VMware Tools.
0
 
AkulshAuthor Commented:
1. Shutdown the monitored VM from command line tool “shutdown /s”; nothing done by Hyperic server – it took it about 1 minute to even notice that ‘platform’ or VM is not available.
2. Stopped www (w3svc) service; nothing done by Hyperic server
3. Stopped both W3SVC and WAS services using IISreset; Hyperic took 2 minutes to notice it and did nothing to fix it.

And a basic question: How to associate a policy in App-HA with a VM? Is it automatic? Where can it be seen in Hyperic server? Thanks.
0
 
AkulshAuthor Commented:
I had asked: "How to associate a policy in App-HA with a VM? Is it automatic? Where can it be seen in Hyperic server?"

VMware Support showed me how to assign a Policy to a VM. (It is documented in their "AppHA-Users-Guide" but I had missed that section.) However, it is still unclear if the policy can be seen in the Hyperic server.

Once the policy was assigned, AppHA got working.
0
 
AkulshAuthor Commented:
I missed a step -- the very last step -- in the configuration. Only 2nd engineer of VMware support could spot it. I had asked a question related to that step here but it had remained unanswered. Thanks.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now