Skip to contentSkip to conversation

CLVM

linux-lvm admin 3 participants 3 messages Jan 9, 2008

lore
Share & tools
lore

admin

author
#0 lore raw

Hi,
I wan't to use clvm but without cman and related packages, is this possible. When i was trying to compile lvm to use clvm i need to add --with-clvmd but there were problem with dependencies so I need to compile cluster first. I'm using debian and don't need cluster and gfs, only clvm.

Please help!!!

Best Regards
Bart

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · admin

Hi,
I wan't to use clvm but without cman and related packages, is this possible. When i was trying to compile lvm to use clvm i need to add --with-clvmd but there were problem with dependencies so I need to compile cluster first. I'm using debian and don't need cluster and gfs, only clvm.

The clvm deamon currently depends on the RHCS infrastructure (cman, dlm).

In principal it's possible to make it work with other cluster software but you'll need to add support for whatever locking and membership mechanisms you're using.

See the code in daemons/clvmd/{clvmd-cman,clvmd-gulm,clvmd-openais}.c that interfaces to the different versions of RHCS and the cluster_ops struct in clvmd-comms.h to get some ideas.

Regards,
Bryn.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHhNVl6YSQoMYUY94RAitoAJsEGGqmF4dKCpVIlsXas5eZGxvTyQCgqNPj 9SQ3fPmzFXaIrgTcv9sybyM=
=vzzs
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 11 lines · Bryn M. Reeves
Quoted 6 lines · admin

Hi,
I wan't to use clvm but without cman and related packages, is this possible. When i was trying to compile lvm to use clvm i need to add --with-clvmd but there were problem with dependencies so I need to compile cluster first. I'm using debian and don't need cluster and gfs, only clvm.

The clvm deamon currently depends on the RHCS infrastructure (cman, dlm).

Quoted 7 lines

In principal it's possible to make it work with other cluster software but you'll need to add support for whatever locking and membership mechanisms you're using.

See the code in daemons/clvmd/{clvmd-cman,clvmd-gulm,clvmd-openais}.c that interfaces to the different versions of RHCS and the cluster_ops struct in clvmd-comms.h to get some ideas.

That's good advice. clvmd will run with 'just' openais, but you need to configure it yourself and it's not well tested. If you need to adapt clvmd for other clustering infrastructures then clvmd-openais.c is the file to adapt as it's by far the simplest. Though it does require that the cluster software provides messaging as a service.

Patrick