Re: [Pacemaker] Problems settings up MySQL failover

2010-02-22 Thread Lior Marantenboim
Apparently commiting even if it complains that the slb resource does not exist, works. I have it working now with SLB instead of ocf: heartbeat. The next thing I'm trying to do is that if the cluster detects that the primary node has MySQL down, to switch it's service IP to the other node. Is ther

Re: [Pacemaker] Problems settings up MySQL failover

2010-02-22 Thread Dejan Muhamedagic
Hi, On Fri, Feb 19, 2010 at 02:19:15PM -0300, Lior Marantenboim wrote: > Hello everyone > > I've having trouble trying to set up a simple MySQL failover (make Pacemaker > start it on one node, and if it shuts down, start it on the other). CRM > shows as if MySQL is not running but it actually is,

Re: [Pacemaker] Problems settings up MySQL failover

2010-02-22 Thread Dejan Muhamedagic
Hi, On Fri, Feb 19, 2010 at 03:08:00PM -0300, Javier Charne wrote: > Lior Marantenboim escribió: > >Hello everyone > > > >I've having trouble trying to set up a simple MySQL failover (make > >Pacemaker start it on one node, and if it shuts down, start it on > >the other). CRM shows as if MySQL is

Re: [Pacemaker] Problems settings up MySQL failover

2010-02-22 Thread Lior Marantenboim
Yes, both scripts work perfectly well manually. (the ones that come on /usr/lib/ocf/resource.d/heartbeat/) 2010/2/19 Angie T. Muhammad > > > On Fri, Feb 19, 2010 at 7:19 PM, Lior Marantenboim wrote: > >> Hello everyone >> >> I've having trouble trying to set up a simple MySQL failover (make >> P

Re: [Pacemaker] Problems settings up MySQL failover

2010-02-19 Thread Angie T. Muhammad
On Fri, Feb 19, 2010 at 7:19 PM, Lior Marantenboim wrote: > Hello everyone > > I've having trouble trying to set up a simple MySQL failover (make > Pacemaker start it on one node, and if it shuts down, start it on the > other). CRM shows as if MySQL is not running but it actually is, and since > i

Re: [Pacemaker] Problems settings up MySQL failover

2010-02-19 Thread Lior Marantenboim
I actually tried doing that, but I don't seem to have lsb installed (it says that I don't have the script installed), even though a "crm ra list lsb" shows that I supposedly do: hpblade02:~# crm ra list lsb acpid atdbootlogd bootmisc.shcheckfs.sh

Re: [Pacemaker] Problems settings up MySQL failover

2010-02-19 Thread Javier Charne
Lior Marantenboim escribió: Hello everyone I've having trouble trying to set up a simple MySQL failover (make Pacemaker start it on one node, and if it shuts down, start it on the other). CRM shows as if MySQL is not running but it actually is, and since it doesn't see it that way, it tries t

[Pacemaker] Problems settings up MySQL failover

2010-02-19 Thread Lior Marantenboim
Hello everyone I've having trouble trying to set up a simple MySQL failover (make Pacemaker start it on one node, and if it shuts down, start it on the other). CRM shows as if MySQL is not running but it actually is, and since it doesn't see it that way, it tries to start it on the other node as w