Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2007 09:51:18 +0100
From:      Richard <lists@leewelle.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: Failover-HA-Setup
Message-ID:  <1169110278.20706.58.camel@chaffinch>
In-Reply-To: <45AE68DF.5010700@FreeBSD.org>
References:  <1169038057.23831.24.camel@richard02> <20070117142552.GC1225@dkirhlarov.mow.oilspace.com> <1169044590.23831.38.camel@richard02> <!&!AAAAAAAAAAAYAAAAAAAAAE09%2B/5QgBZBvgbigfttNszCgAAAEAAAAKqgNmKe9jZJqVaT8G8LCA8BAAAAAA==@milfordmail.com> <45AE68DF.5010700@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2007-01-17 at 10:20 -0800, Doug Barton wrote:
> Bill Milford wrote:
> 
> > You can modify the keyword section of the
> > /usr/local/etc/rc.d/mysql-server(.sh) and add "nostart"  This 
> > allows you to start it manually with
> > /usr/local/etc/rc.d/mysql-server start, but it will not start at
> > boot time as rcorder skips files with the nostart keyword.  The
> > startup variable can then be in /etc/rc.conf
> 
> There is no need to make any changes to the script. Put whatever other
>  options you want for mysql in rc.conf, and set the _enable variable
> to no. Then you can run /usr/local/etc/rc.d/mysql-server onestart and
> it will start normally just one time.

Yes, and mysql will be started at bootup time on both nodes, wouldn't
it? So one node would fail miserably since the lack of mounted
diskspace...

But the "nostart"-solution sounds like working...


RIchard




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1169110278.20706.58.camel>