[Linux-cluster] dlm-pcmk-3.0.17-1.fc14.x86_64 and gfs-pcmk-3.0.17-1.fc14.x86_64 woes

Andrew Beekhof andrew at beekhof.net
Wed Mar 9 15:54:42 UTC 2011


On Wed, Mar 9, 2011 at 4:33 PM, Gregory Bartholomew
<gregory.lee.bartholomew at gmail.com> wrote:
> Arrr ... I was just starting to get all this figured out and you've gone and
> changed EVERYTHING!!! :-)

Very little is actually changed :-)
These days cman is mostly just a small corosync plugin.

I'm not sure if this was the case back when we ported Pacemaker to
corosync, but it would have simplified a lot if we'd sucked in that
little plugin instead of writing our own.

>
> Since I'm now using cman, should I favor the RA's that are listed by "crm ra
> list ocf redhat" (ocf:redhat:ip.sh instead of ocf:heartbeat:IPaddr2,
> ocf:redhat:apache.sh instead of ocf:heartbeat:apache, etc.)?

No, we're only using cman for its quorum and membership information.
And the only reason for doing that is so that everything is getting it
from the same source (and the "native" pcmk variants aren't widely
available).

Everything else is unchanged.

>
> gb
>
> On 03/09/2011 02:48 AM, Andrew Beekhof wrote:
>>
>> On Tue, Mar 8, 2011 at 8:55 PM, Fabio M. Di Nitto<fdinitto at redhat.com>
>>  wrote:
>>>
>>> On 03/08/2011 08:53 PM, Gregory Bartholomew wrote:
>>>>
>>>> Hi Fabio M. Di Nitto,
>>>>
>>>> FYI, I was just trying to set up gfs2 under pacemaker on Fedora 14
>>>> X86_64 and although yum provides '*/gfs_controld.pcmk' showed that I
>>>> needed the dlm-pcmk-3.0.17-1.fc14.x86_64 and
>>>> gfs-pcmk-3.0.17-1.fc14.x86_64 packages, yum install dlm-pcmk gfs-pcmk
>>>> would simply report "Nothing to do".  rpm -q showed that I didn't have
>>>> the packages installed.  I tried installing the cman package but that
>>>> didn't help.  I finally got it working by downloading the packages with
>>>> wget and installing them with rpm -ivh.
>>>>
>>>> FYI, the dlm-pcmk and gfs-pcmk packages seem to be broken in the Fedora
>>>> 14 x86_64 database at the moment.
>>>
>>> No, those packages have been removed intentionally since pacemaker now
>>> supports cman cluster manager and they become obsoleted.
>>>
>>> So very short summary:
>>>
>>> configure cman for clusternodes
>>> start cman (including dlm/gfs controld)
>>> tell pacemaker to use cman
>>> configure fencing and all services.
>>
>> A week or so ago I added a big warning to the bottom of:
>>
>>  http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratch/ch08s02.html
>>
>> and an appendix for configuring cman+pacemaker.
>> Hopefully it will be of some help.
>




More information about the Linux-cluster mailing list