<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Ok, I understand. Thank you for your explanation.<br>
<br>
Le 20/02/2012 15:05, Andreas Kurz a écrit :
<blockquote cite="mid:4F42530C.7030004@hastexo.com" type="cite">
<pre wrap="">Hello,
On 02/18/2012 03:15 PM, Sébastien ROHAUT wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I'm using Pacemaker 1.1.6 and corosync 1.4.2 under Fedora Core 16, using
default rpms from repositories.
I'm trying to get a working Pacemaker cluster and I'm testing it by
creating the "cluster from cratch configuration" from
<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>.
<a class="moz-txt-link-rfc2396E" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf"><http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf></a>
I already worked with pacemaker 1.0.x two years ago, and it worked well
(with the older documentation).
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.
</pre>
</blockquote>
<pre wrap="">
Without any constraints the cluster is free to move/locate resources
wherever it likes ... base policy is to balance all resources evenly
over available nodes ... you only have one resource -- cluster decides
to leave it as it is.
</pre>
<blockquote type="cite">
<pre wrap="">
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 ?
How to make it working ?
</pre>
</blockquote>
<pre wrap="">
Define a location constraint, preferring node1.
Regards,
Andreas
</pre>
<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>