Latest cvs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,
I tried to update my cluster (kernel space and userspace) to the latest cvs version with the linux 2.6.11.12 kernel
using the patch method and I experiences some problems.
First in the cluster/dlm-kernel subtree there wasn't any patch available for the 2.6.11.12 kernel As I saw dlm-build.patch dlm-include.patch in cluster/dlm-kernel/patches I tried to apply them
but with the dlm-include.patch an error occured:

[root@buba linux-2.6.11.12]# patch -p1 < ../cluster/cluster/dlm-kernel/patches/dlm-include.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN a/drivers/dlm/device.c b/drivers/dlm/device.c
|--- a/drivers/dlm/device.c      2005-04-25 16:51:27.325084752 +0800
|+++ b/drivers/dlm/device.c      2005-04-22 13:52:48.000000000 +0800
--------------------------
File to patch:


I tried to continue with a patch I found in one of my older download from cvs for the 2.6.11.....

Then I compiled all the userspace part but, when compiling the cluster
I had the following error:
after having made
#./configure --kernel_src=absolute_path_of_linux_kernel_tree
[root@buba cluster]#make
rm -f linux
.........
ln -s . linux
make -C /usr/src/linux-2.6.11.12/ M=/usr/src/cluster/cluster/gfs-kernel/src/harness modules USING_KBUILD=yes
make[4]: Entering directory `/usr/src/linux-2.6.11.12'
 CC [M]  /usr/src/cluster/cluster/gfs-kernel/src/harness/main.o
/usr/src/cluster/cluster/gfs-kernel/src/harness/main.c:125: erreur: types conflictuels pour « lm_mount » include/linux/lm_interface.h:243: erreur: déclaration précédente de « lm_mount » était ici /usr/src/cluster/cluster/gfs-kernel/src/harness/main.c:125: erreur: types conflictuels pour « lm_mount » include/linux/lm_interface.h:243: erreur: déclaration précédente de « lm_mount » était ici /usr/src/cluster/cluster/gfs-kernel/src/harness/main.c: In function `lm_mount': /usr/src/cluster/cluster/gfs-kernel/src/harness/main.c:166: attention : passage de l'argument n°6 au pointeur de fonction transforme un entier en pointeur sans transtypage /usr/src/cluster/cluster/gfs-kernel/src/harness/main.c:166: erreur: trop d'arguments pour la fonction make[5]: *** [/usr/src/cluster/cluster/gfs-kernel/src/harness/main.o] Erreur 1 make[4]: *** [_module_/usr/src/cluster/cluster/gfs-kernel/src/harness] Erreur 2
make[4]: Leaving directory `/usr/src/linux-2.6.11.12'
make[3]: *** [all] Erreur 2
make[3]: Leaving directory `/usr/src/cluster/cluster/gfs-kernel/src/harness'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/usr/src/cluster/cluster/gfs-kernel/src'
make[1]: *** [all] Erreur 2
make[1]: Leaving directory `/usr/src/cluster/cluster/gfs-kernel'
make: *** [all] Erreur 2


So I opened the Makefile and commented the *-kernel parts (because normally they're already in the kernel)

Then the compilation passed
And when I launched the cluster
#ccsd
#cman_tool join

In my two nodes
the syslog says:Jun 16 15:38:57 buba ccsd[7914]: Starting ccsd DEVEL.1118926199:
Jun 16 15:38:57 buba ccsd[7914]:  Built: Jun 16 2005 14:50:05
Jun 16 15:38:57 buba ccsd[7914]: Copyright (C) Red Hat, Inc. 2004 All rights reserved. Jun 16 15:39:01 buba ccsd[7914]: cluster.conf (cluster name = cluster1, version = 1) found. Jun 16 15:39:01 buba ccsd[7914]: Remote copy of cluster.conf is from quorate node.
Jun 16 15:39:01 buba ccsd[7914]:  Local version # : 1
Jun 16 15:39:01 buba ccsd[7914]:  Remote version #: 1
Jun 16 15:39:07 buba ccsd[7914]: Remote copy of cluster.conf is from quorate node.
Jun 16 15:39:07 buba ccsd[7914]:  Local version # : 1
Jun 16 15:39:07 buba ccsd[7914]:  Remote version #: 1
Jun 16 15:39:07 buba cman[7917]: CMAN DEVEL.1118926199 (built Jun 16 2005 14:50:10) started Jun 16 15:39:07 buba ccsd[7914]: Connected to cluster infrastruture via: UCMAN/DLM Plugin v1.0
Jun 16 15:39:07 buba ccsd[7914]: Initial status:: Inquorate
Jun 16 15:39:08 buba cman[7918]: Waiting to join or form a Linux-cluster
Jun 16 15:39:13 buba cman[7918]: sending membership request
Jun 16 15:39:13 buba cman[7918]: sending membership request
Jun 16 15:39:13 buba cman[7918]: got node gump_cluster
Jun 16 15:39:13 buba cman[7918]: quorum regained, resuming activity
Jun 16 15:39:13 buba ccsd[7914]: Cluster is quorate.  Allowing connections.

But:
[root@buba cluster]# cat /proc/cluster/status
Protocol version: 5.0.1
Config version: 0
Cluster name:
Cluster ID: 0
Cluster Member: No
Membership state: Not-in-Cluster

In the two nodes
and when I try

[root@buba ~]# fence_tool join
fence_tool: can't communicate with fenced -1

So it doesn't work at all.

So there are my questions:
1.Is the latest version from cvs usable?
2.If yes did I downloaded the right version?
(As there is no patch for dlm 2.6.11 I have doubts about this)
3.What is gfs2?

I hope the latest version works because I experience some problems
with the rgmanager that I hoped the latest version would solve....


Best regards



--

Linux-cluster@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux