frozen service Service group offline after reboot
Hi
I have a service group named redsg running which is online on node1 and and offline on node 2.
I froze resg and ran hastop -all -force ,and started it back again on both nodes
the service group state is online now on node1 and offline on node2 as earlier
But when i reboot the node the service group goes to offline on both nodes.
Any idea what makes this difference.
Thanks
dilip
As for the action taken before, hastop -all -force brings down only the cluster process (HAD) and leaves the clustered application in the exisiting state. Therefore when you restarted HAD with hastart, it found the application as you left it, online.
A few points:
- If you freeze a service group, then when you reboot the node the frozen group is online on (uncleanly where rc scripts are not run) then the "Frozen" state prevents the service group from failing over to the alternate node, else the group would failover to another node.
- If you reboot cleanly (where rc scripts ARE run), then the "Frozen" state will prevent VCS stopping (if the frozen group is online on the node being rebooting) and therefore the reboot will not complete (it will hang trying to stop VCS)
- When you start VCS, if a service is frozen, then the group will NOT autostart, else if the node VCS is being started on is in the AutoStartList, the group will online when VCS starts (if it is not already online on another node)
- If you are only rebooting one node at a time, then whether the group is frozen persistently or temporary, makes not difference.
- If you run hastop [-all | -local ] -force, then service groups are left in the state they are currently in.
- If you start VCS on a node where the resource component for a service group are already online on that node (i.e you stopped VCS when group was online using "-force"), then VCS sees the group is online when it starts, (whether it is frozen or not) and so does nothing to the group.
Hence when you reboot a node where the group is online and frozen, the frozen state prevents the group switching to other node when server goes down and prevents the group being started when the server comes back up.
Mike
- If you freeze a service group, then when you reboot the node the frozen group is online on (uncleanly where rc scripts are not run) then the "Frozen" state prevents the service group from failing over to the alternate node, else the group would failover to another node.