Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 09:57:40 -0600
From:      "Bill Milford" <freebsd@milfordmail.com>
To:        <freebsd-stable@freebsd.org>
Subject:   RE: Failover-HA-Setup
Message-ID:  <!&!AAAAAAAAAAAYAAAAAAAAAE09%2B/5QgBZBvgbigfttNszCgAAAEAAAAKqgNmKe9jZJqVaT8G8LCA8BAAAAAA==@milfordmail.com>
In-Reply-To: <1169044590.23831.38.camel@richard02>
References:  <1169038057.23831.24.camel@richard02><20070117142552.GC1225@dkirhlarov.mow.oilspace.com> <1169044590.23831.38.camel@richard02>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd-stable@freebsd.org] On Behalf Of Richard
> Sent: Wednesday, January 17, 2007 8:37 AM
> To: freebsd-stable@freebsd.org
> Subject: Re: Failover-HA-Setup
> 
> Am Mittwoch, den 17.01.2007, 17:25 +0300 schrieb Dmitriy Kirhlarov:
> > Hi!
> >
> > On Wed, Jan 17, 2007 at 01:47:37PM +0100, Richard wrote:
> >
> > > I am running heartbeat on a STABLE-system, the failover works fine for
> > > IP-adresses and I am able to see that a
> >
> > Why you ignore carp(4) and ports/net/ifstated?
> I asked for a better solution in my OP...
> But since I am familiar with heartbeat on Linux, I thought I could give
> it a try...
> 
> >
> > > '/usr/local/etc/rc.d/mysql-server start' statement is issued. BUT since
> > > the variables for mysql are not set in rc.conf (Otherwise it would be
> > > started at startup), it isn't starting at all.
> >
> > You can use in /etc/rc.conf:
> >
> > [ -r /usr/local/etc/rc.mysql.conf ] && . /usr/local/etc/rc.mysql.conf
> >
> > and using this include for manipulate with mysql start variables.
> >
> > Your shared IP address moving with script, I think. This script can
> > modify /usr/local/etc/rc.mysql.conf also.
> At the moment, I am just using heartbeat which is capable of moving IPs
> and Services from one Node to the other.
> 
> 
> Thx!
> 
> Richard
> 
> _______________________________________________

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

Bill




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?!&!AAAAAAAAAAAYAAAAAAAAAE09%2B/5QgBZBvgbigfttNszCgAAAEAAAAKqgNmKe9jZJqVaT8G8LCA8BAAAAAA==>