From owner-freebsd-stable@FreeBSD.ORG Wed Jan 17 14:10:41 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 9C6C516A47C for ; Wed, 17 Jan 2007 14:10:41 +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 5BB7E13C4B9 for ; Wed, 17 Jan 2007 14:10:41 +0000 (UTC) (envelope-from lists@leewelle.de) Received: from localhost (localhost [127.0.0.1]) by mail.verwayen.com (Postfix) with ESMTP id 3255F58413 for ; Wed, 17 Jan 2007 14:12:27 +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 04793-01 for ; Wed, 17 Jan 2007 14:12:17 +0000 (UTC) Received: from [10.3.1.11] (gate.sntt.de [217.86.154.151]) by mail.verwayen.com (Postfix) with ESMTP id 0101858399 for ; Wed, 17 Jan 2007 14:12:16 +0000 (UTC) From: Richard To: freebsd-stable@freebsd.org In-Reply-To: <6b3582f60701170547l13f387dalf594e2c0895a49d9@mail.gmail.com> References: <1169038057.23831.24.camel@richard02> <6b3582f60701170547l13f387dalf594e2c0895a49d9@mail.gmail.com> Content-Type: text/plain Date: Wed, 17 Jan 2007 15:10:29 +0100 Message-Id: <1169043029.23831.32.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:10:41 -0000 Am Mittwoch, den 17.01.2007, 17:47 +0400 schrieb Rauf Kuliyev: > Try '/usr/local/etc/rc.d/mysql-server forcestart' > > . > > 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. Hm, that's only a temporary solution. As a background: Heartbeat monitors the HA nodes via a UDP ping (or other method) and if one of the nodes goes down, it takes over a clustered IP and then starts services by issuing the corresponding scripts in [/usr/local|]/etc/rc.d with the argument start... So your solution will not really work.... With best regards Richard