Howdy! Thanks for the responses.  

Surprisingly, clvmd does work as-is in 11.1, as long as you have
openais and pacemaker installed and running already. However, it does
not (obviously) show up as a resource controlled by pacemaker in
crm_mon; "0 resources configured." ocfs2 also works, but has to be
started manually on reboot because obviously clvmd isn't running yet ...
(see below)   

I'm a newbie to pacemaker configuration, so I haven't yet figured out
how to get clvmd set up as a service with pacemaker. I have it started
manually right now. This obviously isn't proper, and some RTFM would
definitely solve the issue, but I'd like to go home at some point
tonight...  

Queries, some of which are ocfs2-specific and you can skip them if you
can't answer:  
1) Where are the dummy examples for adding clvmd to pacemaker? 
2) What other pieces do I need to add to /etc/init.d/ and set to start?
 
3) Right now, after starting clvmd I need to run pvscan and lvscan
before I can see the lvm2 volume, whereupon I can start ocfs2 and mount
the volume. How do I automate this process, or will pacemaker do it for
me once I have it configured properly?  
4) I'm using the standard o2cb cluster stack; do I need to change this
for pacemaker? (again, obviously it's working, but...)  
5) Fencing. Does ocfs2 handle the fencing, or do I need to find and
install a fencing manager that I haven't found so far? 

I sincerely apologize for the newbie questions, and I promise that "I'm
blogging this" and once I've got it working and repeatable, it'll be
googleable.  

-K 

>>> Lars Marowsky-Bree <l...@suse.de> 4/24/2009 6:24 AM >>>
On 2009-04-23T18:44:35, Karl Katzke <kkat...@tamu.edu> wrote:

>
> Howdy!
>
> I'm attempting to get CLVM set up on OpenSuSE 11.1 with pacemaker and
openais. So far I *seem* to have most things installed, but I'm having
difficulty getting the lvm groups to talk. 

I don't think cLVM in 11.1 works as-is. Which packages did you
install?

We fixed it in SLE11 HA, but that was post-11.1; though Factory should
have all the code, so should the openSUSE build service.

> Before I start reinventing the wheel and asking a whole load of
stupid
> questions, has anyone produced a howto on getting clvmd set up with
> lvm2? I did find an older howto;
> http://sources.redhat.com/cluster/doc/usage.txt -- but it seems to
be
> quite outdated at this point, and requires a bunch of packages and
> resources that aren't even available in the OpenSuSE tree. 

It is quite simple; change the locking type in lvm.conf to 3, add the
ocf:pacemaker:controld and ocf:lvm2:clvmd resources as clones to the
configuration, and then vgcreate -c etc will simply start working.

It's also documented in the SLE11 HA docs; they are LGPL, but due to
the
release pressure, we've not yet sync'ed the latest copy to the outside
I
think.


Regards,
    Lars

--
SuSE Labs, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar
Wilde

_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to