<div dir="ltr"><div>Hi,<br><br>This is my first mail. I'm playing with active/active cluster with cman+pacemaker<br>I have 3 nodes working great. When I reboot one node, my IP resource move to another node, but when the rebooted node comes back, my IP resource doesn't move in again. I tried to move mannualy with pcs but I get the following error:<br>
<br>[root@www-proxylb01 ~]# pcs config<br>Corosync Nodes:<br> <br>Pacemaker Nodes:<br> www-proxylb01 www-proxylb02 www-proxylb03 <br><br>Resources: <br> Clone: ip-xxx.xxx.xxx.xxx-clone<br> Resource: ip-xxx.xxx.xxx.xxx (provider=heartbeat type=IPaddr2 class=ocf)<br>
Attributes: ip=xxx.xxx.xxx.xxx cidr_netmask=32 clusterip_hash=sourceip-sourceport <br> Operations: monitor interval=30s<br> Clone: fs-usr.share.haproxy-clone<br> Resource: fs-usr.share.haproxy (provider=heartbeat type=Filesystem class=ocf)<br>
Attributes: device=/dev/xvdc directory=/usr/share/haproxy/ fstype=gfs2 <br> Clone: haproxy-xxx.xxx.xxx.xxx-clone<br> Resource: haproxy-xxx.xxx.xxx.xxx (provider=heartbeat type=haproxy class=ocf)<br> Attributes: conffile=/etc/haproxy/haproxy.cfg <br>
Operations: monitor interval=30s<br><br>Location Constraints:<br>Ordering Constraints:<br> ip-xxx.xxx.xxx.xxx-clone then haproxy-xxx.xxx.xxx.xxx-clone<br> fs-usr.share.haproxy-clone then haproxy-xxx.xxx.xxx.xxx-clone<br>
Colocation Constraints:<br> haproxy-xxx.xxx.xxx.xxx-clone with ip-xxx.xxx.xxx.xxx-clone<br> haproxy-xxx.xxx.xxx.xxx-clone with fs-usr.share.haproxy-clone<br> fs-usr.share.haproxy-clone with ip-xxx.xxx.xxx.xxx-clone<br>
<br>Cluster Properties:<br> dc-version: 1.1.8-7.el6-394e906<br> cluster-infrastructure: cman<br> expected-quorum-votes: 2<br> stonith-enabled: false<br> resource-stickiness: 100<br><br><br>[root@www-proxylb01 ~]# pcs status<br>
Last updated: Thu Aug 8 15:17:09 2013<br>Last change: Wed Aug 7 16:32:10 2013 via crm_attribute on www-proxylb01<br>Stack: cman<br>Current DC: www-proxylb03 - partition with quorum<br>Version: 1.1.8-7.el6-394e906<br>3 Nodes configured, 2 expected votes<br>
9 Resources configured.<br><br><br>Online: [ www-proxylb01 www-proxylb02 www-proxylb03 ]<br><br>Full list of resources:<br><br> Clone Set: ip-xxx.xxx.xxx.xxx-clone [ip-xxx.xxx.xxx.xxx] (unique)<br> ip-xxx.xxx.xxx.xxx:0 (ocf::heartbeat:IPaddr2): Started www-proxylb01<br>
ip-xxx.xxx.xxx.xxx:1 (ocf::heartbeat:IPaddr2): Started www-proxylb01<br> ip-xxx.xxx.xxx.xxx:2 (ocf::heartbeat:IPaddr2): Started www-proxylb03<br> Clone Set: fs-usr.share.haproxy-clone [fs-usr.share.haproxy]<br>
Started: [ www-proxylb01 www-proxylb03 ]<br> Stopped: [ fs-usr.share.haproxy:2 ]<br> Clone Set: haproxy-xxx.xxx.xxx.xxx-clone [haproxy-xxx.xxx.xxx.xxx]<br> Started: [ www-proxylb01 www-proxylb03 ]<br> Stopped: [ haproxy-xxx.xxx.xxx.xxx:2 ]<br>
<br>[root@www-proxylb01 ~]# pcs resource move ip-xxx.xxx.xxx.xxx:1 www-proxylb02<br>Error moving/unmoving resource<br>Error performing operation: Update does not conform to the configured schema<br><br></div>Thanks a lot in advance<br>
<br>
<div><br clear="all"><div>Matías R. Cuenca del Rey</div>
</div></div>