From owner-freebsd-stable@FreeBSD.ORG Thu Jan 18 08:51:51 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 45A2816A47C for ; Thu, 18 Jan 2007 08:51:51 +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 01D2213C45E for ; Thu, 18 Jan 2007 08:51:50 +0000 (UTC) (envelope-from lists@leewelle.de) Received: from localhost (localhost [127.0.0.1]) by mail.verwayen.com (Postfix) with ESMTP id BC9A658476 for ; Thu, 18 Jan 2007 08:53:41 +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 11009-01 for ; Thu, 18 Jan 2007 08:53:32 +0000 (UTC) Received: from [192.168.223.8] (u6-52.dsl.vianetworks.de [194.231.186.52]) by mail.verwayen.com (Postfix) with ESMTP id C612458467 for ; Thu, 18 Jan 2007 08:53:31 +0000 (UTC) From: Richard To: freebsd-stable@freebsd.org In-Reply-To: <45AE68DF.5010700@FreeBSD.org> References: <1169038057.23831.24.camel@richard02> <20070117142552.GC1225@dkirhlarov.mow.oilspace.com> <1169044590.23831.38.camel@richard02> <45AE68DF.5010700@FreeBSD.org> Content-Type: text/plain Date: Thu, 18 Jan 2007 09:51:18 +0100 Message-Id: <1169110278.20706.58.camel@chaffinch> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port 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: Thu, 18 Jan 2007 08:51:51 -0000 On Wed, 2007-01-17 at 10:20 -0800, Doug Barton wrote: > Bill Milford wrote: > > > You can modify the keyword section of the > > /usr/local/etc/rc.d/mysql-server(.sh) and add "nostart" This > > allows you to start it manually with > > /usr/local/etc/rc.d/mysql-server start, but it will not start at > > boot time as rcorder skips files with the nostart keyword. The > > startup variable can then be in /etc/rc.conf > > There is no need to make any changes to the script. Put whatever other > options you want for mysql in rc.conf, and set the _enable variable > to no. Then you can run /usr/local/etc/rc.d/mysql-server onestart and > it will start normally just one time. Yes, and mysql will be started at bootup time on both nodes, wouldn't it? So one node would fail miserably since the lack of mounted diskspace... But the "nostart"-solution sounds like working... RIchard