From owner-freebsd-stable@FreeBSD.ORG Wed Jan 17 14:25:58 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26C4E16A494 for ; Wed, 17 Jan 2007 14:25:58 +0000 (UTC) (envelope-from dkirhlarov@oilspace.com) Received: from office.oilspace.com (ns2.oilspace.com [194.129.65.230]) by mx1.freebsd.org (Postfix) with ESMTP id E776A13C4D0 for ; Wed, 17 Jan 2007 14:25:56 +0000 (UTC) (envelope-from dkirhlarov@oilspace.com) Received: from dkirhlarov.mow.oilspace.com (mos.oilspace.com [81.222.156.189]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by office.oilspace.com (Postfix) with ESMTP id 20FFB136D10 for ; Wed, 17 Jan 2007 14:25:55 +0000 (GMT) Received: from dkirhlarov.mow.oilspace.com (localhost [127.0.0.1]) by dkirhlarov.mow.oilspace.com (8.13.8/8.13.8) with ESMTP id l0HEPsDd004653 for ; Wed, 17 Jan 2007 17:25:54 +0300 (MSK) (envelope-from dkirhlarov@oilspace.com) Received: (from dkirhlarov@localhost) by dkirhlarov.mow.oilspace.com (8.13.8/8.13.8/Submit) id l0HEPrdC004652 for freebsd-stable@freebsd.org; Wed, 17 Jan 2007 17:25:53 +0300 (MSK) (envelope-from dkirhlarov) Date: Wed, 17 Jan 2007 17:25:53 +0300 From: Dmitriy Kirhlarov To: freebsd-stable@freebsd.org Message-ID: <20070117142552.GC1225@dkirhlarov.mow.oilspace.com> Mail-Followup-To: freebsd-stable@freebsd.org References: <1169038057.23831.24.camel@richard02> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1169038057.23831.24.camel@richard02> X-Mailer: Mutt-ng devel (2005-03-13) based on Mutt 1.5.9 X-Operating-System: FreeBSD 6.2-PRERELEASE User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: Re: Failover-HA-Setup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 14:25:58 -0000 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