<div dir="ltr"><div>[root@www-proxylb01 ~]# rpm -qi pcs<br>Name        : pcs                          Relocations: (not relocatable)<br>Version     : 0.9.26                            Vendor: CentOS<br>Release     : 10.el6_4.1                    Build Date: Mon 18 Mar 2013 11:39:25 AM ART<br>

Install Date: Tue 04 Jun 2013 05:19:49 PM ART      Build Host: <a href="http://c6b10.bsys.dev.centos.org">c6b10.bsys.dev.centos.org</a><br>Group       : System Environment/Base       Source RPM: pcs-0.9.26-10.el6_4.1.src.rpm<br>

Size        : 254791                           License: GPLv2<br>Signature   : RSA/SHA1, Mon 18 Mar 2013 12:01:56 PM ART, Key ID 0946fca2c105b9de<br>Packager    : CentOS BuildSystem <<a href="http://bugs.centos.org">http://bugs.centos.org</a>><br>

URL         : <a href="http://github.com/feist/pcs">http://github.com/feist/pcs</a><br>Summary     : Pacemaker Configuration System<br>Description :<br>pcs is a corosync and pacemaker configuration tool.  It permits users to<br>

easily view, modify and created pacemaker based clusters.<br><br><br>[root@www-proxylb01 ~]# rpm -qi pacemaker<br>Name        : pacemaker                    Relocations: (not relocatable)<br>Version     : 1.1.8                             Vendor: CentOS<br>

Release     : 7.el6                         Build Date: Fri 22 Feb 2013 02:07:28 AM ART<br>Install Date: Tue 04 Jun 2013 04:32:24 PM ART      Build Host: <a href="http://c6b9.bsys.dev.centos.org">c6b9.bsys.dev.centos.org</a><br>

Group       : System Environment/Daemons    Source RPM: pacemaker-1.1.8-7.el6.src.rpm<br>Size        : 1269655                          License: GPLv2+ and LGPLv2+<br>Signature   : RSA/SHA1, Sat 23 Feb 2013 02:41:32 PM ART, Key ID 0946fca2c105b9de<br>

Packager    : CentOS BuildSystem <<a href="http://bugs.centos.org">http://bugs.centos.org</a>><br>URL         : <a href="http://www.clusterlabs.org">http://www.clusterlabs.org</a><br>Summary     : Scalable High-Availability cluster resource manager<br>

Description :<br>Pacemaker is an advanced, scalable High-Availability cluster resource<br>manager for Linux-HA (Heartbeat) and/or Corosync.<br><br>It supports "n-node" clusters with significant capabilities for<br>

managing resources and dependencies.<br><br>It will run scripts at initialization, when machines go up or down,<br>when related resources fail and can be configured to periodically check<br>resource health.<br><br>Available rpmbuild rebuild options:<br>

  --with(out) : heartbeat cman corosync doc publican snmp esmtp pre_release<br><br><br>[root@www-proxylb01 ~]# rpm -qi corosync<br>Name        : corosync                     Relocations: (not relocatable)<br>Version     : 1.4.1                             Vendor: CentOS<br>

Release     : 15.el6_4.1                    Build Date: Tue 14 May 2013 06:09:27 PM ART<br>Install Date: Tue 04 Jun 2013 04:32:24 PM ART      Build Host: <a href="http://c6b7.bsys.dev.centos.org">c6b7.bsys.dev.centos.org</a><br>

Group       : System Environment/Base       Source RPM: corosync-1.4.1-15.el6_4.1.src.rpm<br>Size        : 438998                           License: BSD<br>Signature   : RSA/SHA1, Tue 14 May 2013 08:03:55 PM ART, Key ID 0946fca2c105b9de<br>

Packager    : CentOS BuildSystem <<a href="http://bugs.centos.org">http://bugs.centos.org</a>><br>URL         : <a href="http://ftp.corosync.org">http://ftp.corosync.org</a><br>Summary     : The Corosync Cluster Engine and Application Programming Interfaces<br>

Description :<br>This package contains the Corosync Cluster Engine Executive, several default<br>APIs and libraries, default configuration files, and an init script.<br><br><br></div>Thanks,<br><br></div><div class="gmail_extra">

<br clear="all"><div>Matías R. Cuenca del Rey</div>
<br><br><div class="gmail_quote">On Thu, Aug 8, 2013 at 7:44 PM, Chris Feist <span dir="ltr"><<a href="mailto:cfeist@redhat.com" target="_blank">cfeist@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="HOEnZb"><div class="h5">On 08/08/2013 01:25 PM, Matias R. Cuenca del Rey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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<br>
another node, but when the rebooted node comes back, my IP resource doesn't move<br>
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<br>
clusterip_hash=sourceip-<u></u>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.<u></u>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>
</blockquote>
<br></div></div>
Which version of pcs, pacemaker and corosync are you running?<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Error moving/unmoving resource<br>
Error performing operation: Update does not conform to the configured schema<br>
<br>
Thanks a lot in advance<br>
<br>
<br>
Matías R. Cuenca del Rey<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>