Red Hat High Availability 2 nodes 2 service groups failback behaviour
HI ,
I'm setting up a simple 2 node HA cluster with 2 service groups and struggling to achieve the behavior I want. I wonder if anyone else has experience or knows how to achieve this?
I'd like each service group to start up on its "home" or preferred node, be capable of failing over to the other node but NOT failback automatically after a failover.
I have settled on the following setup:
With a service group in each failoverdomain. This seems to achieve the effect that the service groups start up on the preferred nodes and are able to failover to the other node when something happens however even with nofailback set to 1 the service group will move back to the original node after it has been successfully fenced and comes back online.
If i change the config to :
Then the nofailback setting seems to work as expected however I noticed that when I start the cluster both service groups start on the same node. I can set the service groups not to auto start and then use clusvcadm -Fe to start them with respect to failoverdomain policies but that option seems to be deprecated and also prevent the service groups starting in the event of a crash.
Can anyone help?
Many thanks
Nick
Responses