07-18-2012 11:23 AM
I have several services that I am monitoring that are set to autofailover to a seconds system. It has some up that occasionally I need to restart a service without HA failing over to another system. I can disable the failover from happening using the following command
hagrp -modify App_Cluster AutoFailOver 0
However what happens is that if the service is stopped HA continues to shutdown all the other services that are up. I was researching and I cam across disabling the Evacuate on HA, but even with it disabled, it still shuts down the other services.
hagrp -modify App_Cluster Evacuate 0
I want the other services to continue to run even if one went down for some reason. What is the best way to accomplish this?
Solved! Go to Solution.
07-21-2012 12:16 AM
You need to run "hastatus -sum" - this should show a resource than is onlining or offlining. If it is onlining, then you can run "hagrp -flush grp_name -sys sys_name", but if it is offlining then you will need to stop the component manually (outside of VCS control)
Mike
07-18-2012 12:07 PM
If you occasionally need to restart a service without HA failing over to another system, then you should freeze service group:
hagrp -freeze App_Cluster
VCS will still then monitor all the components in App_Cluster, but if it notices one is down, it will not take any action to "clean" that component or offline other components.
When you have restarted component, you can then unfreeze service group:
hagrp -unfreeze App_Cluster
If you permantently don't want VCS to take action, you should set VCS resource to non-critical, but this will only work if the resource is at the top level in the resource tree - i.e no other resources depend on it.
Mike
07-20-2012 05:49 PM
07-21-2012 12:16 AM
You need to run "hastatus -sum" - this should show a resource than is onlining or offlining. If it is onlining, then you can run "hagrp -flush grp_name -sys sys_name", but if it is offlining then you will need to stop the component manually (outside of VCS control)
Mike
07-23-2012 10:11 AM