[Linux-cluster] having problems trying to setup a two node cluster

Jonathan E Brassow jbrassow at redhat.com
Wed Dec 1 19:15:14 UTC 2004


try to do a 'ccs_test connect' after doing the cman_tool join, and see 
what happens

ccs_test will not allow you to connect to an inquorate cluster, unless 
you use the force option.  Since your nodes become quorate after 
cman_tool join, you should be able to connect...  If you can not, it 
suggests that the magma-plugins are not installed/correct.

  brassow

On Dec 1, 2004, at 11:29 AM, vahram wrote:

> Hi all,
>
> I'm trying to set up a little two node demo cluster, but I'm having 
> some weird issues.
>
> Here's my cluster.conf:
>
> <?xml version="1.0"?>
> <cluster name="demo" config_version="1">
>
>   <cman two_node="1" expected_votes="1">
>   </cman>
>
>   <nodes>
>     <node name="nodeA" votes="1">
>       <fence>
>         <method name="single">
>           <device name="human" ipaddr="192.168.2.203"/>
>         </method>
>       </fence>
>     </node>
>     <node name="nodeB" votes="1">
>       <fence>
>         <method name="single">
>           <device name="human" ipaddr="192.168.2.204"/>
>         </method>
>       </fence>
>     </node>
>   </nodes>
>
>   <fence_devices>
>     <device name="human" agent="fence_manual"/>
>   </fence_devices>
>
> </cluster>
>
> I have both nodeA and nodeB defined in /etc/hosts on both boxes, and I 
> launched ccsd on both machines.  All the necessary modules are also 
> loaded.
>
> When I run ccs_test connect, I get a connection refused message.  I 
> then tried to run cman_tool join on both boxes.  nodeB successfully 
> receives a copy of cluster.conf, but it then tries to form it's own 
> cluster.  In other words...nodeA sees this:
>
> [root at nodeA ~]# cat /proc/cluster/status
> Version: 3.0.1
> Config version: 1
> Cluster name: demo
> Cluster ID: 40925
> Membership state: Cluster-Member
> Nodes: 1
> Expected_votes: 1
> Total_votes: 1
> Quorum: 1
> Active subsystems: 0
> Node addresses: 192.168.2.203
> [root at nodeA ~]# cat /proc/cluster/nodes
> Node  Votes Exp Sts  Name
>    1    1    1   M   nodeA
>
> and nodeB sees this:
>
> [root at nodeB ~]# cat /proc/cluster/status
> Version: 3.0.1
> Config version: 1
> Cluster name: demo
> Cluster ID: 40925
> Membership state: Cluster-Member
> Nodes: 1
> Expected_votes: 1
> Total_votes: 1
> Quorum: 1
> Active subsystems: 0
> Node addresses: 192.168.2.204
> [root at nodeB ~]# cat /proc/cluster/nodes
> Node  Votes Exp Sts  Name
>    1    1    1   M   nodeB
>
> Both boxes are running FC3, and I used the SRPM's from 
> http://people.redhat.com/cfeist/cluster/SRPMS/
>
> Please let me know what I'm doing wrong here...thanks!
>
> -vahram
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> http://www.redhat.com/mailman/listinfo/linux-cluster
>




More information about the Linux-cluster mailing list