[Pacemaker] how to prevent auto relocation of recources to old primary?

Dominik Klein dk at in-telegence.net
Wed Mar 18 05:18:16 EDT 2009


Juha Heinanen wrote:
> i tried the apache web server example of DRBD HowTo 1.0 with small changes:
> 
> 1) replaced "webserver" primitive with "mysqlserver" primitive
> 2) removed "location" primitive, since i don't care which node the resources
>    run.
> 
> when i shutdown the current primary, the resources get moved ok to secondary,
> but when the old primary comes back up, the resources are automatically
> relocated back to the it.  why is that and how to prevent it?

Sounds like you missed the order and colocation constraints. Please post
your configuration.

Regards
Dominik




More information about the Pacemaker mailing list