Failover-HA-Setup
Bill Milford
freebsd at milfordmail.com
Wed Jan 17 16:24:31 UTC 2007
> From: owner-freebsd-stable at freebsd.org [mailto:owner-freebsd-stable at freebsd.org] On Behalf Of Richard
> Sent: Wednesday, January 17, 2007 8:37 AM
> To: freebsd-stable at 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
More information about the freebsd-stable
mailing list