On 2012-02-06T22:13:20, Mayank <[email protected]> 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
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems