Hi, Quoting Dejan Muhamedagic <[EMAIL PROTECTED]>:
> Hi, > > On Thu, Dec 20, 2007 at 08:31:16AM -0500, Scott Mann wrote: >> On Thu 12/20/2007 2:50 AM, [EMAIL PROTECTED] said: >> >> > >> >Hi everyone! >> > >> >I have a question about switching resources. >> >Cluster consist of 2 nodes, one fails and the other one takes over. >> >Lets say the failed one come up again, is there a way to prevent that >> >the failed one takes the resources over again? >> >I tried the default_resource_stickiness parameter, but if I use the >> >value "INFINITY" >> >there is no way to manually switch the resource. > > Yes, there is. You can use crm_resource -M -r ... Once the > resources moved, you can remove the constraint crm_resource > created and everything should stay put (again). > So I tried that but didn't work as expected. Got a httpd resource, disconnected the network on node1, resource has switched on node2. Node1 come up again, showed up as online in the cluster, did "crm_resource -M -r httpd -H node1" but didn't worked. Seems to get ignored if "default-resource-stickiness" is "INFINITY". Any suggestions? Regards, Rainhard _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
