linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: John DeFranco <defranco@cup.hp.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] clvmd interface question
Date: Thu, 01 Dec 2005 16:15:12 -0800	[thread overview]
Message-ID: <438F9210.3000900@cup.hp.com> (raw)
In-Reply-To: <437D8D72.4050909@redhat.com>

Patrick Caulfield wrote:

>John DeFranco wrote:
>  
>
>>Hi, I'm looking for some information. I'm interested in learning more
>>about the clvmd daemon. I've search and found various pieces of info in
>>addition to looking at the code. Specifically I looking to for
>>information (a spec) on how one might be able to add a new cluster
>>manager plugin if you will (if that is even possible). I know that clvmd
>>interfaces with a couple of different cluster managers now but I'd like
>>to expland this if possible.
>>    
>>
>
>clvmd supports cman and gulm, it has it's own internal function switch that
>determines what to do for each cluster manager.
>
>To be honest it's not a good API as it was originally only designed to work with
>cman and the gulm support was bolted on later - so adding a new cluster manager
>might be a bit of work.
>
>Have a look at the bottom of LVM2/daemons/clvmd/clvmd-cman for the function switch.
>
>You'll also need to be aware that CMAN provides its own messaging system, which
>gulm does not. If your cluster manager provides a messaging system then I
>recommend you use it - otherwise you should be able to use the tcp-comms.c file
>with clvmd (that gulm support uses).
>
>Another way, that might be easier, is to patch clvmd with the libcman patch in
>head of cluster CVS (cluster/cman/lib/clvmd-libcman.diff) and write a library
>for your cluster manager that emulates libcman - that one is a nice simple API
>and it will be supported by future versions of cman too.
>
>  
>
Thanks for the info. I'll be looking into this.

-- 
==========
Cheers
   -jdf

      parent reply	other threads:[~2005-12-02  0:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-17 17:46 [linux-lvm] clvmd interface question John DeFranco
2005-11-18  8:14 ` Patrick Caulfield
2005-11-18 17:54   ` Jonathan E Brassow
2005-11-21  8:46     ` Patrick Caulfield
2005-12-02  0:15   ` John DeFranco [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=438F9210.3000900@cup.hp.com \
    --to=defranco@cup.hp.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).