[Linux-HA] prevent resource switching

Rainhard linux-ha at mynx.org
Thu Dec 20 10:25:53 MST 2007


Quoting Dejan Muhamedagic <dejanmm at fastmail.fm>:

> Hi,
>
> On Thu, Dec 20, 2007 at 08:31:16AM -0500, Scott Mann wrote:
>> On Thu 12/20/2007 2:50 AM, linux-ha at mynx.org 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).
>

Will try that out.
Thanks

Rainhard


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the Linux-HA mailing list