<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thank you !<br>
    <br>
    Le 18/02/2012 23:28, Serge Dubrouski a &eacute;crit&nbsp;:
    <blockquote
cite="mid:CADT7cy0vFzYcHs6bgFgf8OnX8x-kAuCTTOg4zYcgQ0-LEoggLQ@mail.gmail.com"
      type="cite"><br>
      <a moz-do-not-send="true"
href="http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-failure-migration.html">http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-failure-migration.html</a><br>
      <br>
      <br>
      <div class="gmail_quote">On Sat, Feb 18, 2012 at 3:21 PM,
        S&eacute;bastien ROHAUT <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:sebastien.rohaut@free.fr">sebastien.rohaut@free.fr</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          Hi,<br>
          <br>
          I have a very basic pacemaker conf, with two resources
          (ipaddr2 and apache) in the same group.<br>
          <br>
          If I kill my httpd process, the cluster respawn it on the same
          node :<br>
          <br>
          Feb 18 23:06:15 node1 pengine: [1173]: notice:
          common_apply_stickiness: apacheServer can fail 999999 more
          times on node2 before being forced off<br>
          ...<br>
          Feb 18 23:06:16 node1 crmd: [1174]: info: match_graph_event:
          Action apacheServer_start_0 (10) confirmed on node2 (rc=0)<br>
          <br>
          Is it possible to make the resource automatically move to the
          other node when process is killed ? How ?<br>
          <br>
          My conf :<br>
          node node1<br>
          node node2<br>
          primitive apacheIP ocf:heartbeat:IPaddr \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;params ip="192.168.1.80" cidr_netmask="32" nic="eth0" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;op monitor interval="30s" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;meta target-role="Started"<br>
          primitive apacheServer ocf:heartbeat:apache \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;params httpd="/usr/sbin/httpd"
          configfile="/etc/httpd/conf/httpd.conf" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;op monitor interval="60s" start="40s" stop="60s" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;meta target-role="Started"<br>
          group webserver apacheIP apacheServer<br>
          property $id="cib-bootstrap-options" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;dc-version="1.1.6-4.fc16-89678d4947c5bd466e2f31acd58ea4e1edb854d5"
          \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;cluster-infrastructure="openais" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;expected-quorum-votes="2" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;stonith-enabled="false" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;no-quorum-policy="ignore" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;last-lrm-refresh="1329602712"<br>
          rsc_defaults $id="rsc-options" \<br>
          &nbsp; &nbsp; &nbsp; &nbsp;resource-stickiness="100"<br>
          <br>
          Thanks for your help.<br>
          <br>
          _______________________________________________<br>
          Pacemaker mailing list: <a moz-do-not-send="true"
            href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
          <a moz-do-not-send="true"
            href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker"
            target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
          <br>
          Project Home: <a moz-do-not-send="true"
            href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
          Getting started: <a moz-do-not-send="true"
            href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf"
            target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
          Bugs: <a moz-do-not-send="true"
            href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Serge Dubrouski.<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>