VMware Cloud Community
Matthydras
Enthusiast
Enthusiast
Jump to solution

How to unprotected HA VM

Hello everybody

I have configure a cluster with 2 esxi with the version 5.5u2 and a vcenter server on which I have activate the vSphere HA.

By default, all the virtual machines associated to the cluster are protected (monitored) by the vSphere HA (using the cluster HA default options).

How can i configured an unprotected virtual machine ??

For do it, i used the web client, select the Cluster / Manage / Configuration and VM overrides. I add the VM and the "VM restart priority" and "VM monitoring" to disabled.

After I go on the summary of the VM i can see the logo "Protected by Vmware HA".

Finally, on the cluster / Monitor / vSphere HA Configuration Issues, I see the total number virtual machines associated to protected.

Thanks in advance for your help

Best Regards

Matt

Tags (1)
1 Solution

Accepted Solutions
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

Even though you disable VM restart priority" and "VM monitoring", until VM is in powered ON state, vSphere is going to say "VM" is protected.


1. if VM restart policy is disabled & VM monitoring is enabled: Host is up and VM is up, vSphere HA will keep in protected list.

              >> when host fails, VM can not be restarted on other available host. Even If failed host comes back, still VM will not be restarted, it will be powered OFF and now vSphere HA will remove that VM from protected list.

             >>When Guest OS fails, HA will restart that Guest on the same host and HA continue to keep in protected list.


2. if VM restart policy is disabled & VM monitoring is disabled: Host is up and VM is up, vSphere HA will keep in protected list.

      

             >> when host fails, VM can not be restarted on other available host. Even If failed host comes back, still VM will not be restarted, it will be powered OFF and now vSphere HA will remove that VM from protected list.

             >>When Guest OS fails, HA can not  restart that Guest on the same host but as VM itself does not have any issue (VM is ON but you can not access Guest), HA continue to keep that VM in protected list.


3.if VM restart policy is Enabled & VM monitoring is disabled: Host is up and VM is up, vSphere HA will keep in protected list.


           >> When host fails, VM will be restarted on other available host. , After restart , it will be powered ON and HA continue to keep that VM in protected list

             >>When Guest OS fails, HA can not  restart that Guest on the same host but as VM itself does not have any issue (VM is ON but you can not access Guest), HA continue to keep that VM in protected list


Note that there is difference between VM failure and GOS failure.


let me know if you have any doubt.



----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

View solution in original post

4 Replies
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

Even though you disable VM restart priority" and "VM monitoring", until VM is in powered ON state, vSphere is going to say "VM" is protected.


1. if VM restart policy is disabled & VM monitoring is enabled: Host is up and VM is up, vSphere HA will keep in protected list.

              >> when host fails, VM can not be restarted on other available host. Even If failed host comes back, still VM will not be restarted, it will be powered OFF and now vSphere HA will remove that VM from protected list.

             >>When Guest OS fails, HA will restart that Guest on the same host and HA continue to keep in protected list.


2. if VM restart policy is disabled & VM monitoring is disabled: Host is up and VM is up, vSphere HA will keep in protected list.

      

             >> when host fails, VM can not be restarted on other available host. Even If failed host comes back, still VM will not be restarted, it will be powered OFF and now vSphere HA will remove that VM from protected list.

             >>When Guest OS fails, HA can not  restart that Guest on the same host but as VM itself does not have any issue (VM is ON but you can not access Guest), HA continue to keep that VM in protected list.


3.if VM restart policy is Enabled & VM monitoring is disabled: Host is up and VM is up, vSphere HA will keep in protected list.


           >> When host fails, VM will be restarted on other available host. , After restart , it will be powered ON and HA continue to keep that VM in protected list

             >>When Guest OS fails, HA can not  restart that Guest on the same host but as VM itself does not have any issue (VM is ON but you can not access Guest), HA continue to keep that VM in protected list


Note that there is difference between VM failure and GOS failure.


let me know if you have any doubt.



----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

Matthydras
Enthusiast
Enthusiast
Jump to solution

Hello vickyvision2020

Thanks you for your reply.

Your reply is the best explication that i can found.

Thanks you so much for your help

Have a good day

Matt

mjha
Hot Shot
Hot Shot
Jump to solution

Thanks a lot vicky for such a beautiful explanation.

Please consider marking this answer "correct" or "helpful" if you think your query have been answered correctly. Manish Jha | Operations Support Engineer | vCloud Air Operations vExpert 2015-17 | vExpert-NSX | vExpert-Cloud | VCAP6-DCV | VCP6-DCV | RHCE-7 Website : http://vstellar.com
0 Kudos
vThinkBeyondVM
VMware Employee
VMware Employee
Jump to solution

Thanks for the comments.

This thread motivated me to write one blog post on this. Please refer :vSphere HA VM protection when VM restart priority and VM monitoring are disabled | vThinkBeyondVM

It is much more detailed than what did I write on this thread.


----------------------------------------------------------------
Thanks & Regards
Vikas, VCP70, MCTS on AD, SCJP6.0, VCF, vSphere with Tanzu specialist.
https://vThinkBeyondVM.com/about
-----------------------------------------------------------------
Disclaimer: Any views or opinions expressed here are strictly my own. I am solely responsible for all content published here. Content published here is not read, reviewed or approved in advance by VMware and does not necessarily represent or reflect the views or opinions of VMware.

0 Kudos