On Fri, Jul 11, 2008 at 10:29:55AM +0200, Thibaut Perrin wrote: > I have one more question, my guess would be using colocation, but > I'm not sure : > > I have 2 nodes on my cluster, and for the moment I have 1 IP > addresse resource and 1 apache resource. > > I have set the stickiness scores to 100. > > When I standby the default node, the 2 resources switch to the > second node, which is what I want. > > When I turn my first node up, sometimes the 2 resources stay on > the same node, which is OK, but sometimes, only the apache > resource switches back. I am guessing I have to "link" these two > resources. Is it really done by colocation ?
You can use colocation rules, but the easiest way would be probably be to create a resource group, which does that and more for you. http://www.linux-ha.org/ClusterInformationBase/ResourceGroups Quoting: Resource groups are essentially a shortcut for creating a set of resources that need to: * be started on the same node, and * started and stopped sequentially _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
