Gentoo Archives: gentoo-cluster

From: Reto Gantenbein <reto.gantenbein@××××××××.ch>
To: gentoo-cluster@l.g.o
Subject: [gentoo-cluster] Cman with vote problem
Date: Thu, 21 Jun 2007 08:35:59
Message-Id: 467A38E9.7050305@id.unibe.ch
1 Hello everybody
2
3 For using a SCSI shared storage as Xen file backend I am investigating
4 the use of clvm with the Red Hat cluster suite. So far I tried to set up
5 all the services for finally be able to start clvmd.
6
7 Unfortunately I have some problems with the configuration or the cman
8 itself:
9
10 vserver02 ~ # /etc/init.d/cman start
11 * Starting cman ...
12 /sbin/cman_tool: the two-node option requires exactly two nodes with one
13 vote each and expected votes of 1 (votes=-1)
14 * Failed to start cman
15
16 Here my cluster.conf:
17
18 <?xml version="1.0"?>
19 <cluster name="vserver" config_version="1">
20
21 <cman two_node="1" expected_votes="1">
22 </cman>
23
24 <clusternodes>
25 <clusternode name="vserver01" votes="1">
26 <fence>
27 <method name="single">
28 <device name="human" nodename="vserver01"/>
29 </method>
30 </fence>
31 </clusternode>
32 <clusternode name="vserver02">
33 <fence>
34 <method name="single" votes="1">
35 <device name="human" nodename="vserver02"/>
36 </method>
37 </fence>
38 </clusternode>
39 </clusternodes>
40
41 <fencedevices>
42 <fencedevice name="human" agent="fence_manual"/>
43 </fencedevices>
44
45 </cluster>
46
47 I have no idea where this problem with the votes comes from. ccs_tool
48 returns me the following:
49
50 vserver02 ~ # ccs_tool lsnode
51
52 Cluster name: vserver, config_version: 1
53
54 Nodename Votes Nodeid Iface Fencetype
55 vserver02 1 human
56 Segmentation fault
57
58 What actually concerns myself is the segmentation fault with the
59 ccs_tool. Unfortunately I cannot use cluster-2.00.00 because of the
60 missing Xen support for new kernels.
61
62 Are there any experiences to share about this topic or hints?
63
64 Thanks a lot
65 Reto Gantenbein
66 --
67 gentoo-cluster@g.o mailing list

Replies

Subject Author
Re: [gentoo-cluster] Cman with vote problem Reto Gantenbein <reto.gantenbein@××××××××.ch>