01-28-2014 01:39 PM
When Resource goes offline unexpectedly, agent monitor the resource and run clean entry point to bring resource offline and make it into Faulted state. My quesitons is before it brings it into Faulted state, can we restrat the resouce?
Solved! Go to Solution.
01-28-2014 06:26 PM
Hi,
You very well can but would you be able to get the specific time window to restart the resource ? Resource offline, clean will happen in within of minutes (depending on how MonitorInterval, MonitorTimeout, RestartLimit) is set.
If a resource is in transitioning state (onlining or offlining), you can flush (hagrp -flush) the service group so that tranistioning of resources stops & then you can take the manual action.
G
01-29-2014 12:57 AM
I agree with Gaurav.
Increase RestartLimit. The default for most resource types is 0.
You may want to read through this section in VCS Admin Guide:
Controlling VCS behavior at the resource level
Extract:
01-29-2014 12:59 AM
I'm not sure if you are asking if "you" can start it or if "VCS" can restart it:
If "you" restart resource before VCS detects it is down, then resource will not be marked as faulted, but if you are intentionally restarting, you should "freeze" service group so VCS does not interfere with your restart
If RestartLimit is set to greather than zero, then VCS will restart resource and will not mark as faulted unless all restarts fail.
Mike
01-31-2014 12:55 AM
First the agent will call clean entry point to make ensure that the resource is completely offline. After that the agent will call the online entry point to restart the resource as per the RestartLimit attribute.
This is also mentioned in the description of RestartLimit attribute pasted by Marianne above.
01-31-2014 04:10 AM
Thank you very much for all of your input. Sorry for asking stupid basic queston.
We don't mind basic questions - all of us were new at one stage and back then there was no Symantec Connect to ask. So, we had to read manuals.
We do hope that you will read manuals when we point out the name of a manual and the relevant section.
You will see that I quoted from the manual 2 days ago:
01-28-2014 06:26 PM
Hi,
You very well can but would you be able to get the specific time window to restart the resource ? Resource offline, clean will happen in within of minutes (depending on how MonitorInterval, MonitorTimeout, RestartLimit) is set.
If a resource is in transitioning state (onlining or offlining), you can flush (hagrp -flush) the service group so that tranistioning of resources stops & then you can take the manual action.
G
01-29-2014 12:57 AM
I agree with Gaurav.
Increase RestartLimit. The default for most resource types is 0.
You may want to read through this section in VCS Admin Guide:
Controlling VCS behavior at the resource level
Extract:
01-29-2014 12:59 AM
I'm not sure if you are asking if "you" can start it or if "VCS" can restart it:
If "you" restart resource before VCS detects it is down, then resource will not be marked as faulted, but if you are intentionally restarting, you should "freeze" service group so VCS does not interfere with your restart
If RestartLimit is set to greather than zero, then VCS will restart resource and will not mark as faulted unless all restarts fail.
Mike
01-30-2014 07:23 AM
Thank you very much for all of your input. Sorry for asking stupid basic queston.
When Resource goes offline unexpectedly, agent call clean function to make offline. If we set RestartLimit non zero value. Which one will be caled first? Clean action or restart? What I am trying to understand is that after agent make faulted, then agent call Restart?
01-31-2014 12:55 AM
First the agent will call clean entry point to make ensure that the resource is completely offline. After that the agent will call the online entry point to restart the resource as per the RestartLimit attribute.
This is also mentioned in the description of RestartLimit attribute pasted by Marianne above.
01-31-2014 04:10 AM
Thank you very much for all of your input. Sorry for asking stupid basic queston.
We don't mind basic questions - all of us were new at one stage and back then there was no Symantec Connect to ask. So, we had to read manuals.
We do hope that you will read manuals when we point out the name of a manual and the relevant section.
You will see that I quoted from the manual 2 days ago:
02-05-2014 07:44 AM
Thank you very much all of you.