<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Anyone ?<br>
    <br>
    Le 18/02/2012 15:15, Sébastien ROHAUT a écrit :
    <blockquote cite="mid:4F3FB283.8060702@free.fr" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      Hi,<br>
      <br>
      I'm using Pacemaker 1.1.6 and corosync 1.4.2 under Fedora Core 16,
      using default rpms from repositories.<br>
      <br>
      I'm trying to get a working Pacemaker cluster and I'm testing it
      by creating the "cluster from cratch configuration" from <br>
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <a moz-do-not-send="true"
        href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf.</a><br>
      <br>
      I already worked with pacemaker 1.0.x two years ago, and it worked
      well (with the older documentation).<br>
      <br>
      I'm encountering a problem. I added my IPAddr resource and tried
      failvover/failback. So I stop my first node, and my resource moves
      to node2. After a minute I restart node1, but my resource doesn't
      come back, my resource stays on node2.<br>
      <br>
      As explained page 49, my resource should go back to node1. I
      didn't apply any stickiness value to my resource or in
      rsc_default. Did the behavior changed in this release ?<br>
      <br>
      How to make it working ?<br>
      <br>
      Thanks for your help.<br>
      <br>
      S. ROHAUT<br>
      <br>
      ptest result :<br>
      # ptest -sL<br>
      Allocation scores:<br>
      native_color: apacheIP allocation score on node1: 0<br>
      native_color: apacheIP allocation score on node2: 0<br>
      <br>
      <br>
      Here is my actual conf :<br>
      # crm configure show<br>
      node node1<br>
      node node2<br>
      primitive apacheIP ocf:heartbeat:IPaddr \<br>
              params ip="192.168.1.80" cidr_netmask="32" nic="eth0" \<br>
              op monitor interval="30s" \<br>
              meta target-role="Started"<br>
      property $id="cib-bootstrap-options" \<br>
             
      dc-version="1.1.6-4.fc16-89678d4947c5bd466e2f31acd58ea4e1edb854d5"
      \<br>
              cluster-infrastructure="openais" \<br>
              expected-quorum-votes="2" \<br>
              stonith-enabled="false" \<br>
              no-quorum-policy="ignore"<br>
      <br>
      In XML :<br>
      # crm configure show xml<br>
      <?xml version="1.0" ?><br>
      <cib admin_epoch="0" cib-last-written="Sat Feb 18 13:10:33
      2012" crm_feature_set="3.0.5" dc-uuid="node1" epoch="34"
      have-quorum="1" num_updates="87" update-client="cibadmin"
      update-origin="node1" validate-with="pacemaker-1.2"><br>
        <configuration><br>
          <crm_config><br>
            <cluster_property_set id="cib-bootstrap-options"><br>
              <nvpair id="cib-bootstrap-options-dc-version"
      name="dc-version"
      value="1.1.6-4.fc16-89678d4947c5bd466e2f31acd58ea4e1edb854d5"/><br>
              <nvpair
      id="cib-bootstrap-options-cluster-infrastructure"
      name="cluster-infrastructure" value="openais"/><br>
              <nvpair
      id="cib-bootstrap-options-expected-quorum-votes"
      name="expected-quorum-votes" value="2"/><br>
              <nvpair id="cib-bootstrap-options-stonith-enabled"
      name="stonith-enabled" value="false"/><br>
              <nvpair id="cib-bootstrap-options-no-quorum-policy"
      name="no-quorum-policy" value="ignore"/><br>
            </cluster_property_set><br>
          </crm_config><br>
          <nodes><br>
            <node id="node1" type="normal" uname="node1"/><br>
            <node id="node2" type="normal" uname="node2"/><br>
          </nodes><br>
          <resources><br>
            <primitive class="ocf" id="apacheIP" provider="heartbeat"
      type="IPaddr"><br>
              <instance_attributes
      id="apacheIP-instance_attributes"><br>
                <nvpair id="apacheIP-instance_attributes-ip"
      name="ip" value="192.168.1.80"/><br>
                <nvpair
      id="apacheIP-instance_attributes-cidr_netmask" name="cidr_netmask"
      value="32"/><br>
                <nvpair id="apacheIP-instance_attributes-nic"
      name="nic" value="eth0"/><br>
              </instance_attributes><br>
              <operations><br>
                <op id="apacheIP-monitor-30s" interval="30s"
      name="monitor"/><br>
              </operations><br>
              <meta_attributes id="apacheIP-meta_attributes"><br>
                <nvpair id="apacheIP-meta_attributes-target-role"
      name="target-role" value="Started"/><br>
              </meta_attributes><br>
            </primitive><br>
          </resources><br>
          <constraints/><br>
        </configuration><br>
      </cib><br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pacemaker mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>

Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://bugs.clusterlabs.org">http://bugs.clusterlabs.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>