[OT] how to acquire a clustered vg on a server without lvm2-cluster

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Feb 3 12:20:40 UTC 2009


If I have a 2-nodes cluster with a clustered VG, that I copy (for
example dd with cluster switched off), is then possible to acquire
this VG on a third standalone node, or do I have to install the whole
cluster layer on this third node too?

This is on a rhel 5.2 server....

At the moment:
pvscan is ok.
 pvscan
  PV /dev/dm-11          VG VG_TEST   lvm2 [10.00 GB / 0    free]

vgscan
  Reading all physical volumes.  This may take a while...
  Skipping clustered volume group VG_TEST


vgchange -cn VG_TEST
  Skipping clustered volume group VG_TEST

vgchange -ae  VG_TEST
  Skipping clustered volume group VG_TEST

vgchange -al VG_TEST
  Invalid argument l
  Error during parsing of command line.

Installing lvm2-cluster takes all sort of cluster infrastructure and
probably licenses too...

rpm -ivh lvm2-cluster-2.02.32-4.el5.x86_64.rpm
warning: lvm2-cluster-2.02.32-4.el5.x86_64.rpm: Header V3 DSA
signature: NOKEY, key ID 37017186
error: Failed dependencies:
	libcman.so.2()(64bit) is needed by lvm2-cluster-2.02.32-4.el5.x86_64
	libdlm.so.2()(64bit) is needed by lvm2-cluster-2.02.32-4.el5.x86_64

rpm -ivh lvm2-cluster-2.02.32-4.el5.x86_64.rpm
../Server/cman-2.0.84-2.el5.x86_64.rpm
warning: lvm2-cluster-2.02.32-4.el5.x86_64.rpm: Header V3 DSA
signature: NOKEY, key ID 37017186
error: Failed dependencies:
	openais is needed by cman-2.0.84-2.el5.x86_64
	libSaCkpt.so.2()(64bit) is needed by cman-2.0.84-2.el5.x86_64
	libSaCkpt.so.2(OPENAIS_CKPT_B.01.01)(64bit) is needed by
cman-2.0.84-2.el5.x86_64
	libcpg.so.2()(64bit) is needed by cman-2.0.84-2.el5.x86_64
	libcpg.so.2(OPENAIS_CPG_1.0)(64bit) is needed by cman-2.0.84-2.el5.x86_64
	perl(Net::Telnet) is needed by cman-2.0.84-2.el5.x86_64
	perl(XML::LibXML) is needed by cman-2.0.84-2.el5.x86_64

Thanks in advance,
Gianluca




More information about the fedora-list mailing list