[Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-04 Thread Jerome Yanga
Hi! I am having issues with getting DRBD to work with Pacemaker. I can get Pacemaker and DRBD run individually but not DRBD managed by Pacemaker. I tried following the instruction in the site below but the resources will not go online. http://clusterlabs.org/wiki/DRBD_HowTo_1.0 Below is my

Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-04 Thread Neil Katin
Does drbd work outside of pacemaker? I suspect perhaps not from these lines in your log: Mar 4 14:27:59 nomen modprobe: FATAL: Module drbd not found. Mar 4 14:27:59 nomen lrmd: [29900]: info: RA output: (drbd0:0:start:stdout) Could not stat("/proc/drbd"): No such file or directory do you ne

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-04 Thread Jerome Yanga
f Of Neil Katin Sent: Wednesday, March 04, 2009 4:00 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker Does drbd work outside of pacemaker? I suspect perhaps not from these lines in your log: Mar 4 14:27:59 nomen modprobe: FATAL: M

Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-04 Thread Neil Katin
OK. I notice you're running drbd 8.3. The scripts distributed with pacemaker 1.0.1 only worked with 8.2 (I'm not sure about 1.0.2). I made a few tiny changes to the drbd script so it would run with 8.3. I've attached the changed script. I also added more logging so you can see exactly wha

Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-04 Thread Dominik Klein
Hi Jerome Yanga wrote: > Hi! I am having issues with getting DRBD to work with Pacemaker. I can get > Pacemaker and DRBD run individually but not DRBD managed by Pacemaker. I > tried following the instruction in the site below but the resources will not > go online. > > http://clusterlabs.o

Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-05 Thread Brian R. Hellman
04, 2009 4:00 PM > To: General Linux-HA mailing list > Subject: Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker > > > Does drbd work outside of pacemaker? I suspect perhaps not from these lines > in your log: > > Mar 4 14:27:59 nomen modprobe: FATAL: Module d

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-06 Thread Jerome Yanga
-ha.org] On Behalf Of Brian R. Hellman Sent: Wednesday, March 04, 2009 4:52 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker DRBD needs to be running prior to starting pacemaker, it should be in secondary/secondary mode. When you stop

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-06 Thread Jerome Yanga
-ha.org] On Behalf Of Brian R. Hellman Sent: Wednesday, March 04, 2009 4:52 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker DRBD needs to be running prior to starting pacemaker, it should be in secondary/secondary mode. When you stop

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-06 Thread Jerome Yanga
ux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Neil Katin Sent: Wednesday, March 04, 2009 10:27 PM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker OK. I notice you're running drbd

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-06 Thread Jerome Yanga
unction for read child took too long to execute: 70 ms (> 50 ms) (GSource: 0x94add68) Mar 6 12:56:17 nomen lrmd: [14509]: info: Resource Agent output: [] Regards, jerome -Original Message- From: linux-ha-boun...@lists.linux-ha.org [mailto:linux-ha-boun...@lists.linux-ha.org] On Behalf Of Domi

Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-09 Thread Dominik Klein
Hi Jerome Yanga wrote: > Dominik, > > As usual, you are right on the money. I should have caught that myself. > Thank you for catching that for me. What happened was that I used a > different server to compile DRBD and I had assumed that Nomen and Rubic (my > test nodes) were on the same ke

RE: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-11 Thread Jerome Yanga
Behalf Of Dominik Klein Sent: Monday, March 09, 2009 12:05 AM To: General Linux-HA mailing list Subject: Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker Hi Jerome Yanga wrote: > Dominik, > > As usual, you are right on the money. I should have caught that myself. > T

Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-11 Thread Andrew Beekhof
On Wed, Mar 11, 2009 at 18:41, Jerome Yanga wrote: > Thank you all.  I have been happy with the functionality of the setup that > you guys helped build. > > For reference, here are the versions that I am running. > > drbd-8.2.7-3 > drbd-debuginfo-8.2.7-3 > drbd-km-2.6.18_128.1.1.el5-8.2.7-3 > hea

Re: [Linux-HA] Having issues with getting DRBD to work with Pacemaker

2009-03-11 Thread Neil Katin
Andrew Beekhof wrote: On Wed, Mar 11, 2009 at 18:41, Jerome Yanga wrote: I have tried DRBD 8.3.0 but the DRBD OCF Agent of Pacemaker 1.0.2-11.1 does not seem to work well with it. technically speaking, the agent comes from heartbeat not pacemaker - maybe there is an update... Here are