Neil, Unfortunately, I was not able to receive your scripts as it was filter by the mail servers. However, I have tried your suggestion that Pacemaker 1.0.1 and DRBD 8.2 works. With Pacemaker 1.0.1 and DRBD 8.2, I was able to add the DRBD resource into a master-slave resource in Pacemaker. I just couldn't get the resource to migrate. This is probably due to configuration settings that I am missing. I will send more info on my next post. By the way, can you try resending the scripts the a tar file?
Thank you in advance. Regards, Jerome -----Original Message----- From: [email protected] [mailto:[email protected]] 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 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 what is going on in the drbd OCF script at debug level. You probably want to change your loggging to debug to get all the output while trying to figure this out. However, the errors I got from the script were very different from yours: I was getting errors from drbdadm, not failures to load the driver. The other thing I did was run the OCF scripts "by hand" (you have to set a bunch of env variables). I can't find the script I used to test drbd, but I've attached one I used for mysql; you should be able to adapt it to your use. As always, remember "bash -x" is your friend. Neil Jerome Yanga wrote: > Hi Neil! > > Yes. DRBD works outside of Pacemaker. When I do a "service drbd start" on > each node, drbd runs properly and are both "Secondary". > > jerome > > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
