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

Andrew Beekhof andrew at beekhof.net
Tue Oct 13 03:56:25 EDT 2009


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
>




More information about the Pacemaker mailing list