On 2007-04-06T15:15:38, Alan Robertson <[EMAIL PROTECTED]> wrote:
> 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>
Barring crm_master values dictating a preference for one, yes.
Sincerely,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/