Try using IPAddr2<div><br></div><div>-Shravan<br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 8:01 AM, Stephan-Frank Henry <span dir="ltr"><<a href="mailto:Frank.Henry@gmx.net">Frank.Henry@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello again,<br>
<br>
I am having some possible problems with Corosync and IPAddr.<br>
To be more specific, when I do a /etc/init.d/corosync stop, while everything shuts down more or less gracefully, the virtual ip never is released (still visible with ifconfig).<br>
<br>
if I do a 'sudo ifdown --force eth0:0' it works. So there should be no direct reason for this.<br>
<br>
This might not by itself be a problem, but I fear it could also be related to a 'split-brain' corosync handling due to network cable disconnect.<br>
Though that might be something else, I'd rather remove all other problems and then see if it fixes itself.<br>
<br>
I have checked syslog, but nothing really jumps out.<br>
Are there any other logs or places where I can look?<br>
<br>
thanks everyone!<br>
<br>
Frank<br>
<br>
(pls scream if more or other info is needed)<br>
<br>
-------------------------------------------------------------<br>
<br>
OS: Debian Lenny 64bit, kernel version: 2.6.33.3<br>
Corosnyc: 1.2.1-1~bpo50+1<br>
cluster-glue: 1.0.6-1~bpo50+1<br>
libheartbeat2: 1:3.0.3-2~bpo50+1<br>
<br>
relevant cib.xml entry:<br>
<primitive id="ip_resource" class="ocf" type="IPaddr" provider="heartbeat"><br>
<instance_attributes id="virtual-ip-attribs"><br>
<attributes><br>
<nvpair id="virtual-ip-addr" name="ip" value="150.158.183.30"/><br>
<nvpair id="virtual-ip-addr-nic" name="nic" value="eth0"/><br>
<nvpair id="virtual-ip-addr-netmask" name="cidr_netmask" value="22"/><br>
</attributes><br>
</instance_attributes><br>
<operations><br>
<op id="virtual-ip-monitor-10s" interval="10s" name="monitor"/><br>
</operations><br>
</primitive><br>
<br>
here is a reduced log (only the ip stuff):<br>
Feb 7 13:39:40 serverA pengine: [8695]: notice: unpack_rsc_op: Operation ip_resource_monitor_0 found resource ip_resource active on serverA<br>
Feb 7 13:39:40 serverA pengine: [8695]: notice: native_print: ip_resource#011(ocf::heartbeat:IPaddr):#011Started serverA<br>
Feb 7 13:39:40 serverA pengine: [8695]: info: native_merge_weights: ms_drbd0: Rolling back scores from ip_resource<br>
Feb 7 13:39:40 serverA pengine: [8695]: info: native_merge_weights: ms_drbd0: Rolling back scores from ip_resource<br>
Feb 7 13:39:40 serverA pengine: [8695]: info: native_merge_weights: ip_resource: Rolling back scores from fs0<br>
Feb 7 13:39:40 serverA pengine: [8695]: info: native_color: Resource ip_resource cannot run anywhere<br>
Feb 7 13:39:40 serverA pengine: [8695]: notice: LogActions: Stop resource ip_resource#011(serverA)<br>
Feb 7 13:39:40 serverA crmd: [8696]: info: do_state_transition: State transition S_POLICY_ENGINE -> S_TRANSITION_ENGINE [ input=I_PE_SUCCESS cause=C_IPC_MESSAGE origin=handle_response ]<br>
Feb 7 13:39:42 serverA crmd: [8696]: info: te_rsc_command: Initiating action 33: stop ip_resource_stop_0 on serverA (local)<br>
Feb 7 13:39:42 serverA lrmd: [8693]: info: cancel_op: operation monitor[7] on ocf::IPaddr::ip_resource for client 8696, its parameters: CRM_meta_interval=[10000] ip=[150.158.183.30]<br>
Feb 7 13:39:42 serverA crmd: [8696]: info: do_lrm_rsc_op: Performing key=33:13:0:0dff3321-22f5-411c-a50a-e95fcfa4dd6f op=ip_resource_stop_0 )<br>
Feb 7 13:39:42 serverA lrmd: [8693]: info: rsc:ip_resource:14: stop<br>
Feb 7 13:39:42 serverA crmd: [8696]: info: process_lrm_event: LRM operation ip_resource_monitor_10000 (call=7, status=1, cib-update=0, confirmed=true) Cancelled<br>
Feb 7 13:40:02 serverA lrmd: [8693]: WARN: ip_resource:stop process (PID 10541) timed out (try 1). Killing with signal SIGTERM (15).<br>
Feb 7 13:40:02 serverA lrmd: [8693]: WARN: operation stop[14] on ocf::IPaddr::ip_resource for client 8696, its parameters: ip=[150.158.183.30] cidr_netmask=[22] CRM_meta_timeout=[20000]<br>
Feb 7 13:40:02 serverA lrmd: [8693]: info: record_op_completion: cannot record operation stop[14] on ocf::IPaddr::ip_resource for client 8696: the client is gone<br>
Feb 7 13:40:02 serverA lrmd: [8693]: WARN: notify_client: client for the operation operation stop[14] on ocf::IPaddr::ip_resource for client 8696, its parameters: ip=[150.158.183.30]<br>
<br>
--<br>
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!<br>
Jetzt De-Mail-Adresse reservieren: <a href="http://portal.gmx.net/de/go/demail" target="_blank">http://portal.gmx.net/de/go/demail</a><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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</blockquote></div><br></div>