From: Fabio M. Di Nitto Date: Wed, 05 Aug 2009 21:32:04 +0200 Subject: [Cluster-devel] waiting in init.d/cman In-Reply-To: <20090805182054.GC17292@redhat.com> References: <20090805161239.GA17292@redhat.com> <1249493154.23450.119.camel@cerberus.int.fabbione.net> <20090805182054.GC17292@redhat.com> Message-ID: <1249500724.23450.124.camel@cerberus.int.fabbione.net> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, 2009-08-05 at 13:20 -0500, David Teigland wrote: > On Wed, Aug 05, 2009 at 07:25:53PM +0200, Fabio M. Di Nitto wrote: > > I can see the possibility to block the boot for quorum when quorum might > > never be available. As above, I don't mind to add that to the init > > script, but it will need yet another timeout. > > Sure, but as I mentioned, if cman doesn't wait for quorum, then clvmd, > rgmanager or gfs mount will... and those don't time out and sometimes can't be > cancelled, whereas cman_tool wait -q can be. During the boot process you can't issue ctrl+c no matter what. IIRC somebody suggested to use boot options. Perhaps forcing a wait for quorum in our init script is sensible if we allow a boot option to not run cman at all. The other daemons will fail if cman is not there and boot would be "unblocked". > The no wait option is good, it could make sense in some cases, like when no > other init scripts follow cman that depend on quorum. It's a rare case since our init script itself fires up different daemons automatically. A bit offtopic but perhaps it might be the case to revive the idea that mount.gfs2 should spawn gfs_controld if required and not running and libdlm would spawn dlm_controld. Fabio