Date: Wed, 17 Jan 2007 16:10:17 +0100 From: Richard <lists@leewelle.de> To: Nikos Vassiliadis <nvass@teledomenet.gr> Cc: freebsd-stable@freebsd.org Subject: Re: Failover-HA-Setup Message-ID: <1169046617.23831.46.camel@richard02> In-Reply-To: <200701171608.55482.nvass@teledomenet.gr> References: <1169038057.23831.24.camel@richard02> <200701171608.55482.nvass@teledomenet.gr>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Nikos! Am Mittwoch, den 17.01.2007, 16:08 +0200 schrieb Nikos Vassiliadis: > > 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 am using a "shared" SCSI-Storage inbetween these servers. The acive node mounts a Volume and the service is started. (Yes, I know, it isn't really HA since there is still a SPOF) > > 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. Yes, you are right, and exactly that was my problem. It didn't start. I worked around it by copying the startup-scripts from /usr/local/etc/rc.d to /usr/local/etc/ha.d/resource.d/ and removed the critical test which ask for the variables set in rc.conf. Thanks for all your help! Richard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1169046617.23831.46.camel>