<div dir="ltr"><div><div><div><div><div>hi and thanks,<br></div>works great!<br></div>what i was wondering about: when i stop IPaddr2 the crm_mon tells it is started ( cib .. target-role=stopped ) and `ip addr show` tells that the old secondary ip is still active.<br>
.. <br></div>maybe i have to wait more patiently for ipaddr2 to be stopped ?! <br></div><br>thanks <br></div>andreas<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/4 Leon Fauster <span dir="ltr"><<a href="mailto:leonfauster@googlemail.com" target="_blank">leonfauster@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 04.07.2013 um 12:02 schrieb andreas graeper <<a href="mailto:agraeper@googlemail.com">agraeper@googlemail.com</a>>:<br>
<div class="im">><br>
> i tried to change the IPaddr2 parameter ip<br>
><br>
> 1) crm resource edit <rsc><br>
><br>
</div><div class="im">> 2) pcs resource update <rsc> <attr>=<value><br>
><br>
> in both cases the cib is modified (`crm configure show` shows)<br>
> but old ip only is pingable and all depending resources are stopped<br>
><br>
> crm resource stop p_clusterip # does not stop that resource ?!<br>
> crm resource start p_clusterip<br>
><br>
> after<br>
> crn resource cleanup p_clusterip<br>
> i can ping both (new and old) ip<br>
><br>
> `ip addr show`<br>
> 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>
> 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>
> 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>
> maybe ip_stop() / delete_address() did not succeed ?<br>
><br>
> how this is done correctly ?<br>
<br>
<br>
</div>stop resource<br>
change resource<br>
start resource<br>
<br>
<br>
--<br>
LF<br>
<br>
<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>
</blockquote></div><br></div>