From owner-freebsd-stable@FreeBSD.ORG Wed Jan 17 23:58:02 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 638E716A417 for ; Wed, 17 Jan 2007 23:58:02 +0000 (UTC) (envelope-from stable@museum.rain.com) Received: from ns.umpquanet.com (ns.umpquanet.com [63.105.30.37]) by mx1.freebsd.org (Postfix) with ESMTP id 48C9213C478 for ; Wed, 17 Jan 2007 23:58:02 +0000 (UTC) (envelope-from stable@museum.rain.com) Received: from ns.umpquanet.com (localhost [127.0.0.1]) by ns.umpquanet.com (8.13.8/8.13.8) with ESMTP id l0HNjoNQ038995; Wed, 17 Jan 2007 15:45:50 -0800 (PST) (envelope-from stable@museum.rain.com) Received: (from james@localhost) by ns.umpquanet.com (8.13.8/8.13.8/Submit) id l0HNjoYT038994; Wed, 17 Jan 2007 15:45:50 -0800 (PST) (envelope-from stable@museum.rain.com) Date: Wed, 17 Jan 2007 15:45:50 -0800 From: James Long To: freebsd-stable@freebsd.org, Richard Message-ID: <20070117234550.GA38730@ns.umpquanet.com> References: <20070117191646.8B90816A552@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070117191646.8B90816A552@hub.freebsd.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: 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 23:58:02 -0000 > Date: Wed, 17 Jan 2007 13:47:37 +0100 > From: Richard > Subject: Failover-HA-Setup > To: freebsd-stable@freebsd.org > Message-ID: <1169038057.23831.24.camel@richard02> > Content-Type: text/plain > > 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? > > > cu! > > Richard export mysql_enable="YES" && /usr/local/etc/rc.d/mysql-server start