<div dir="ltr"><div>pcs resource update p_clusterip ip=a.b.c.d <br><br></div><div>OR<br></div><div><br>crm resource edit p_clusterip <br></div><div>( vi .. :wq ) <br></div><div><br></div>should work ?! <br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/7/4 Andrew Beekhof <span dir="ltr">&lt;<a href="mailto:andrew@beekhof.net" target="_blank">andrew@beekhof.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On 04/07/2013, at 8:37 PM, Leon Fauster &lt;<a href="mailto:leonfauster@googlemail.com">leonfauster@googlemail.com</a>&gt; wrote:<br>
<br>
&gt; Am 04.07.2013 um 12:02 schrieb andreas graeper &lt;<a href="mailto:agraeper@googlemail.com">agraeper@googlemail.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; i tried to change the IPaddr2 parameter ip<br>
&gt;&gt;<br>
&gt;&gt; 1) crm resource edit &lt;rsc&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2)  pcs resource update &lt;rsc&gt; &lt;attr&gt;=&lt;value&gt;<br>
&gt;&gt;<br>
&gt;&gt; in both cases the cib is modified (`crm configure show` shows)<br>
&gt;&gt; but old ip only is pingable and all depending resources are stopped<br>
&gt;&gt;<br>
&gt;&gt; crm resource stop p_clusterip  # does not stop that resource ?!<br>
&gt;&gt; crm resource start p_clusterip<br>
&gt;&gt;<br>
&gt;&gt; after<br>
&gt;&gt; crn resource cleanup p_clusterip<br>
&gt;&gt; i can ping both (new and old) ip<br>
&gt;&gt;<br>
&gt;&gt; `ip addr show`<br>
&gt;&gt;    inet <a href="http://172.27.10.91/16" target="_blank">172.27.10.91/16</a> brd 172.27.255.255 scope global eth0<br>
&gt;&gt;    inet <a href="http://172.27.10.199/16" target="_blank">172.27.10.199/16</a> brd 172.27.255.255 scope global secondary eth0<br>
&gt;&gt;    inet <a href="http://172.27.10.90/16" target="_blank">172.27.10.90/16</a> brd 172.27.255.255 scope global secondary eth0<br>
&gt;&gt; maybe ip_stop() / delete_address() did not succeed ?<br>
&gt;&gt;<br>
&gt;&gt; how this is done correctly ?<br>
&gt;<br>
&gt;<br>
&gt; stop resource<br>
&gt; change resource<br>
&gt; start resource<br>
<br>
</div>Shouldn&#39;t be necessary.<br>
The cluster /should/ detect the change and perform a stop (with the old values) and a start (with the new).<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/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/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" target="_blank">http://bugs.clusterlabs.org</a><br>
</div></div></blockquote></div><br></div>