Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2007 17:25:53 +0300
From:      Dmitriy Kirhlarov <dimma@higis.ru>
To:        freebsd-stable@freebsd.org
Subject:   Re: Failover-HA-Setup
Message-ID:  <20070117142552.GC1225@dkirhlarov.mow.oilspace.com>
In-Reply-To: <1169038057.23831.24.camel@richard02>
References:  <1169038057.23831.24.camel@richard02>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

> '/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.

WBR.
Dmitriy



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