[Pacemaker] question about placement of resources

Andrew Beekhof andrew at beekhof.net
Thu Aug 14 07:36:31 UTC 2014


On 14 Aug 2014, at 2:58 pm, Alex Samad - Yieldbroker <Alex.Samad at yieldbroker.com> wrote:

> Hi
> 
> pcs status
> Online: [ alcdmz1 gsdmz1 ]
> 
> Full list of resources:
> 
> dnsip-a        (ocf::yb:namedVIP):     Started alcdmz1 
> dnsip-b        (ocf::yb:namedVIP):     Started gsdmz1 
> squidip-a      (ocf::yb:squidVIP):     Started gsdmz1 
> squidip-b      (ocf::yb:squidVIP):     Started alcdmz1
> 
> 
> 
> So if I want to preference where resources run so if I want squidip-a to prefer alcdmz1 but still allow it to fail over to gsdmz1 I would a score less than INFINITE.
> 
> Is it better to slightly preference a node or to unprefer another ?

slightly prefer.  as soon as the preference for a node goes negative, the node is ineligible.

> 
> Alex
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140814/8c3443d3/attachment-0004.sig>


More information about the Pacemaker mailing list