[Pacemaker] openais not being correctly stopped upon shutdown/reboot on RH systems

Nikola Ciprich extmaillist at linuxbox.cz
Tue Oct 13 08:14:13 UTC 2009


Hi Andrew,
thanks a lot, I've fixed it myself already, just wanted to report the problem.
Good to hear it's been already reported and fixed :)
have a nice day.
nik.

On Tue, Oct 13, 2009 at 09:56:25AM +0200, Andrew Beekhof wrote:
> Patch is here:
>    https://lists.linux-foundation.org/pipermail/openais/2009-October/013126.html
> 
> Need to get it into the build service packages
> 
> On Tue, Oct 13, 2009 at 9:24 AM, Nikola Ciprich <extmaillist at linuxbox.cz> wrote:
> > Hello,
> > I noticed that when I type poweroff/reboot on any of my cluster nodes,
> > the node always changes state to UNCLEAN in crm_mon of other nodes.
> > While looking into it, I've discovered that there is quite serious
> > problem which prevents openais stop from being executed while switching
> > runlevels.
> > It seems that redhat systems execute stop actions only when proper lock
> > exists at /var/lock/subsys. The lock must have the same name as the service,
> > ie openais. This is not the case of openais packages available at clusterlabs
> > repo (actually I think this is also problem of upstream packages, I haven't checked
> > yet).
> > When I changed openais initscript to create /var/lock/subsys/openais lock upon startup
> > and remove it at shutdown, things started working correctly...
> > or am I doing something wrong?
> > regards
> > nik
> >
> >
> > --
> > -------------------------------------
> > Nikola CIPRICH
> > LinuxBox.cz, s.r.o.
> > 28. rijna 168, 709 01 Ostrava
> >
> > tel.:   +420 596 603 142
> > fax:    +420 596 621 273
> > mobil:  +420 777 093 799
> > www.linuxbox.cz
> >
> > mobil servis: +420 737 238 656
> > email servis: servis at linuxbox.cz
> > -------------------------------------
> >
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 

-- 
-------------------------------------
Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799
www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis at linuxbox.cz
-------------------------------------




More information about the Pacemaker mailing list