From owner-freebsd-stable@FreeBSD.ORG Wed Jan 17 15:01:18 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 5952C16A407 for ; Wed, 17 Jan 2007 15:01:18 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from arwen.teledomenet.gr (arwen.teledomenet.gr [213.142.128.58]) by mx1.freebsd.org (Postfix) with ESMTP id DC76A13C4BA for ; Wed, 17 Jan 2007 15:01:17 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by arwen.teledomenet.gr (8.12.10/8.12.10) with ESMTP id l0HE6Am1018476; Wed, 17 Jan 2007 16:06:10 +0200 From: Nikos Vassiliadis To: freebsd-stable@freebsd.org Date: Wed, 17 Jan 2007 16:08:55 +0200 User-Agent: KMail/1.9.1 References: <1169038057.23831.24.camel@richard02> In-Reply-To: <1169038057.23831.24.camel@richard02> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701171608.55482.nvass@teledomenet.gr> Cc: Richard 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 15:01:18 -0000 On Wednesday 17 January 2007 14:47, Richard wrote: > Hi there! > > I am looking for a solution for a small problem regarding a high > availability setup. > I am running heartbeat on a STABLE-system, the failover works fine for > IP-adresses and I am able to see that a > '/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. > > So my question: How to set those rc.conf-variables in order to start > services in such an setup? Or is there a better solution? Which service is highly available in this setup? MySQL? How do you sync the data? ggate? I remember that heartbeat can call any script you it tell to. So, you have to let heartbeat start MySQL. rc will just start heartbeat. Nikos