Doug Knight wrote:
> I've asked this question before, but have not gotten an answer:
>
> Can you have a location *constraint* to set the resource to prefer
> running the master on one node vs the other (and still have the slave
> running too)?
Yes, but I don't know how for sure ;-). Here's my guess from reading
the DTD... I believe that this score would be applied to determine
which resource should be promoted to master.
<rsc_location id="my_resource:location rsc="my_ms_resource">
<rule id="my_resource:location:rule" role="master">
<expression/>
</rule>
</rsc_location>
See http://linux-ha.org/CategoryMissingIdiom :-D
http://linux-ha.org/CIB/Idioms/MasterConstraints
http://linux-ha.org/CIB/Idioms/SlaveConstraints
http://linux-ha.org/CIB/Idioms
--
Alan Robertson <[EMAIL PROTECTED]>
"Openness is the foundation and preservative of friendship... Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/