Using clvm with openais or corosync

Gerd Jakobovitsch gerd at alog.com.br
Tue Dec 15 13:21:45 UTC 2009


Dear sirs,

 

We are trying to use clvm in debian lenny, in a cluster that uses
openais/corosync. It is not possible to start clvm. Have you ever had some
similar problem?

 

- Using packages from cluster debian: em /etc/apt/sources.list:

                - deb http://people.debian.org/~madkiss/ha/ lenny main

- Updating o /etc/init.d/clvm , according to
<http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cm
an/>
http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cma
n/

                In the way the file is set at clvm, it doesn’t run if cman
isn’t running.

- Editing /etc/lvm/lvm.conf, to include cluster-wide locking:

                    locking_type = 2 or 3

                locking type 2 uses internal library from clvm, but it isn’t
included in the package.

                locking type 3 uses cluster locking mechanisms, from dlm –
that also isn’t working. I added the module in the kernel (modprobe dlm),
but it didn’t work:

running with option corosync:

Dec 15 10:10:56 XEN-12-RJ kernel: [491662.303463] dlm: no local IP address
has been set

Dec 15 10:10:56 XEN-12-RJ kernel: [491662.303463] dlm: cannot start dlm
lowcomms -107

Dec 15 10:10:56 XEN-12-RJ clvmd[20781]: Unable to create lockspace for CLVM:
Transport endpoint is not connected

Dec 15 10:10:56 XEN-12-RJ clvmd[20781]: Can't initialise cluster interface

Running with option openais: 

Dec 15 10:12:40 XEN-12-RJ clvmd[21349]: CLVMD started

Dec 15 10:12:40 XEN-12-RJ clvmd[21349]: Cannot initialise OpenAIS lock
service: 12

Dec 15 10:12:40 XEN-12-RJ clvmd[21349]: Cannot initialise OpenAIS lock
service: 12#012

Dec 15 10:12:40 XEN-12-RJ clvmd[21349]: Can't initialise cluster interface

 

Do you know about these problems? Is there any known solution for it?

 

Regards,

 


http://www.alog.com.br/img/logo_alog.gif

 Gerd Jakobovitsch
 Engenheiro de Produto
 --------------------------------------------------------------------------
 ALOG Data Centers
 Excelência em Projetos de Hosting
 R. Dr. Miguel Couto, 58 - SP / CEP 01008-010  
 Telefone: (11) 3524-4351 / Fax: (11) 3524-4337
 Skype: gerd-alog
  <http://www.alog.com.br/> http://www.alog.com.br 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20091215/853b7f00/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4391 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20091215/853b7f00/attachment.png>


More information about the pkg-lvm-maintainers mailing list