[Linux-cluster] two nodes can't see eachother.

Vincent VIAL vincent at vial.tv
Thu Feb 26 20:39:18 UTC 2009


Thanks for your answer Daniela,

I checked what you suggested but according to cman man page, broadcast 
is used by default and multicast is only used if a multicast parameter 
is given in the cluster.conf file.
Nethertheless, I checked if broadcast were allowed on my networks 
(192.168.100.0) and it works (ping -b 192.168.100.255).

Thanks again but it seems that the problem come from somewhere else.



Daniela Anzellotti a écrit :
> Hi Vincent,
>
> as far as I know, the nodes talk each other using multicast.
> It looks like they are connected by something (a switch?) which 
> doesn't allow multicast to pass.
> May be you could try to connect the nodes using a simple HUB... if it 
> works then that was the problem.
>
> Cheers,
> Daniela
>
>
> Vincent VIAL wrote:
>> I set up a two nodes cluster (centos 5.2) but I've got the following 
>> probleme...
>>
>> Here is my cluster.conf file :
>>
>> [root at master ~]# cat /etc/cluster/cluster.conf
>> <?xml version="1.0"?>
>> <cluster alias="cluster2" config_version="6" name="cluster2">
>>       <fence_daemon clean_start="0" post_fail_delay="0" 
>> post_join_delay="3"/>
>>       <clusternodes>
>>               <clusternode name="noeud01.cluster" nodeid="1" votes="1">
>>                       <fence/>
>>               </clusternode>
>>               <clusternode name="master.cluster" nodeid="2" votes="1">
>>                       <fence/>
>>               </clusternode>
>>       </clusternodes>
>>       <cman expected_votes="1" two_node="1"/>
>>       <fencedevices/>
>>       <rm>
>>               <failoverdomains/>
>>               <resources/>
>>       </rm>
>> </cluster>
>>
>>  From the node master.cluster, the clustat command shows this :
>> [root at master ~]# clustat
>> Cluster Status for cluster2 @ Wed Feb 25 23:24:21 2009
>> Member Status: Quorate
>>
>> Member Name                             ID   Status
>> ------ ----                             ---- ------
>> noeud01.cluster                             1 Offline
>> master.cluster                              2 Online, Local
>>
>>
>> And from the node noeud01.cluster, the clustat command shows this :
>> [root at noeud01 ~]# clustat
>> Cluster Status for cluster2 @ Wed Feb 25 23:26:17 2009
>> Member Status: Quorate
>>
>> Member Name                             ID   Status
>> ------ ----                             ---- ------
>> noeud01.cluster                             1 Online, Local
>> master.cluster                              2 Offline
>>
>> I can successfully ping noeud01.cluster from master.cluster and 
>> master.cluster from noeud01.cluster
>>
>> I don't understand what the two nodes can't see eachother.
>>
>>
>> Thanks for your help;
>> Best regards
>>
>> Vincent
>>
>> -- 
>> Linux-cluster mailing list
>> Linux-cluster at redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>




More information about the Linux-cluster mailing list