[Linux-HA] Antw: Re: FW: How DC is selected?

Lars Marowsky-Bree lmb at suse.com
Mon Feb 6 09:46:11 MST 2012


On 2012-02-06T22:13:20, Mayank <mayank.mittal.1982 at hotmail.com> wrote:

> <rsc_colocation id="pgsql_vip_colocation" rsc="virtua_ip" score="INFINITY"
> with-rsc="pgsql9" with-rsc-role="Master"/>
> 
> The intention behind defining such constraints is to make sure that the
> postgre should always run in the master role on the node which is a DC.
> 
> Is something wrong with this?

There's nothing wrong with it on this level, except that it is pointless
(and causes fail-overs you don't like). You're tieing the master role of
postgres to an internal detail that has no relevance to it; why?


Regards,
    Lars

-- 
Architect Storage/HA
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde



More information about the Linux-HA mailing list