From owner-freebsd-stable@FreeBSD.ORG Wed Jan 17 14:36:39 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 7A93216A412 for ; Wed, 17 Jan 2007 14:36:39 +0000 (UTC) (envelope-from lists@leewelle.de) Received: from mail.verwayen.com (mail.verwayen.com [88.198.161.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4010D13C469 for ; Wed, 17 Jan 2007 14:36:39 +0000 (UTC) (envelope-from lists@leewelle.de) Received: from localhost (localhost [127.0.0.1]) by mail.verwayen.com (Postfix) with ESMTP id 410B15844A for ; Wed, 17 Jan 2007 14:38:25 +0000 (UTC) Received: from mail.verwayen.com ([127.0.0.1]) by localhost (mail.verwayen.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04863-07 for ; Wed, 17 Jan 2007 14:38:17 +0000 (UTC) Received: from [10.3.1.11] (gate.sntt.de [217.86.154.151]) by mail.verwayen.com (Postfix) with ESMTP id 7DB7958399 for ; Wed, 17 Jan 2007 14:38:17 +0000 (UTC) From: Richard To: freebsd-stable@freebsd.org In-Reply-To: <20070117142552.GC1225@dkirhlarov.mow.oilspace.com> References: <1169038057.23831.24.camel@richard02> <20070117142552.GC1225@dkirhlarov.mow.oilspace.com> Content-Type: text/plain Date: Wed, 17 Jan 2007 15:36:30 +0100 Message-Id: <1169044590.23831.38.camel@richard02> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit 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:36:39 -0000 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