[Pacemaker] /etc/init.d/heartbeat stop hangs (pacemaker1.0.5/heartbeat3/RHEL5.3)

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Sep 23 08:12:38 UTC 2009


Hi,

On Tue, Sep 22, 2009 at 07:43:08PM -0500, Li, Ling (Ling) wrote:
> FYI: it took 36 minutes for /etc/init.d/heartbeat stop to finish
> 
> ________________________________
> From: Li, Ling (Ling)
> Sent: Tuesday, September 22, 2009 8:38 PM
> To: 'pacemaker at clusterlabs.org'
> Subject: /etc/init.d/heartbeat stop hangs (pacemaker1.0.5/heartbeat3/RHEL5.3)
> 
> Hi,
> 
> I loaded  rpms  from
> http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_5/x86_64/
> 
> The new features such as migration-threshold and resource-set work beautifully (Many thanks to those who created pacemaker1.0.5).
> We have one issue: /etc/init.d/heartbeat stop simply hangs.
> Gdb shows that heartbeat -k in sleep.
> What could cause heartbeat -k into sleep mode?

You'd have to show the logs. This is typically caused by some
resource actions not finishing. Are all your resources properly
stopped on heartbeat stop? If you think so, then please open a
bugzilla and include hb_report.

Thanks,

Dejan

> We have total 16 resources in a cluster of two nodes.
> 
> + RC=0
> + case "$1" in
> + RunStartStop pre-stop
> + '[' -f /etc/ha.d/resource.d/startstop ']'
> + /etc/ha.d/resource.d/startstop pre-stop
> + StopHA
> + EchoNoNl 'Stopping High-Availability services: '
> + Echo 'Stopping High-Availability services: '
> + echo 'Stopping High-Availability services: '
> Stopping High-Availability services:
> + /usr/lib64/heartbeat/heartbeat -k
> ----------
> Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
> Loaded symbols for /lib64/ld-linux-x86-64.so.2
> Reading symbols from /lib64/libpthread.so.0...done.
> [Thread debugging using libthread_db enabled]
> [New Thread 0x2b2ea2799d30 (LWP 11346)]
> Loaded symbols for /lib64/libpthread.so.0
> Reading symbols from /usr/lib64/heartbeat/plugins/InterfaceMgr/generic.so...done                        .
> Loaded symbols for /usr/lib64/heartbeat/plugins/InterfaceMgr/generic.so
> 0x0000003f0c699720 in __nanosleep_nocancel ()
>    from /lib64/libc.so.6
> (gdb) bt
> #0  0x0000003f0c699720 in __nanosleep_nocancel () from /lib64/libc.so.6
> #1  0x0000003f0c699574 in sleep () from /lib64/libc.so.6
> #2  0x000000000040ebea in main ()
> (gdb)
> 
> Thank you in advance
> 
> Ling Li

> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker





More information about the Pacemaker mailing list