[Pacemaker] Pacemaker Digest, Vol 66, Issue 58
Wolfgang Routschka
wolfgang.routschka at drumedar.de
Thu May 16 07:37:04 UTC 2013
Hi Andreas,
thanks for your answer,
crm_simulate -s -L (node2 is offline - r_postfix is running on node1)
native_color: r_haproxy allocation score on node1: -INFINITY
native_color: r_haproxy allocation score on node2: -INFINITY
crm_simulate -s -L (both nodes are online - r_postfix is running on node1)
native_color: r_haproxy allocation score on node1: -INFINITY
native_color: r_haproxy allocation score on node2: 0
with 2 colocation and we see that colocation with score 100 is not setting
colocation cl_r_haproxy_not_on_r_postfix -inf: r_haproxy r_postfix
colocation cl_r_haproxy_on_r_postfix 100: r_haproxy r_postfix
I don´t understand because score on node2 is 0
Regards,
Wolfgang
On 2013-05-15 21:30, Wolfgang Routschka wrote:
> Hi everybody,
>
> one question today about colocation rule on a 2-node cluster on
> scientific linux 6.4 and pacemaker/cman.
>
> 2-Node Cluster
>
> first node haproxy load balancer proxy service - second node with
> postfix service.
>
> colocation for running a group called g_ip-address (haproxy lsb-resouce
> and ipaddress resource) on the other node of the postfix server is
>
> cl_g_ip-address_not_on_r_postfix -inf: g_ip-address r_postfix
-INF == never-ever ;-)
>
> The problem is now that the node with haproxy is down pacemaker cannot
> move/migrate the services to the other node -ok second colocation with
> lower score but it doesn?t works for me
>
> colocation cl_g_ip-address_on_r_postfix -1: g_ip-address r_postfix
>
> Whats my fault in these section?
Hard to say without seeing the rest of your configuration, but you can
run "crm_simulate -s -L" to see all the scores taken into account.
Regards,
Andreas
--
Need help with Pacemaker?
http://www.hastexo.com/now
>
> How can I migrate my group to the other if the master node for it is dead?
>
> Greetings Wolfgang
>
>
>
>
> _______________________________________________
> 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: 287 bytes
Desc: OpenPGP digital signature
URL: <http://oss.clusterlabs.org/pipermail/pacemaker/attachments/20130515/2a392fa1/attachment.sig>
------------------------------
_______________________________________________
Pacemaker mailing list
Pacemaker at oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
End of Pacemaker Digest, Vol 66, Issue 58
*****************************************
More information about the Pacemaker
mailing list