[Linux-cluster] CMAN nodes in different LANs

Digimer lists at alteeve.ca
Wed Oct 17 14:06:21 UTC 2012


But but but, I'd have nothing useful left to add! :(

digimer

On 10/17/2012 10:03 AM, Heiko Nardmann wrote:
> Sometimes I wonder whether an ML bot grepping for 'fencing' and
> responding with something like 'Check fencing' might make sense ... ;-)
> 
>     Heiko
> 
> Am 17.10.2012 15:41, schrieb Digimer:
>> On 10/17/2012 09:12 AM, Terance Dias wrote:
>>> Hi,
>>>
>>> We're trying to create a cluster in which the nodes lie in 2 different
>>> LANs. Since the nodes lie in different networks, they cannot resolve the
>>> other node by their internal IP. So in my cluster.conf file, I've provided
>>> their external IPs. But now when I start CMAN service, I get the following
>>> error.
>>>
>>> NOTE: fencing is not shown, you must configure fencing appropriately for
>>> your cluster.
>> You do need fencing. Without *working* fencing, the first time something
>> goes wrong, your cluster will hang (by design).
>>
>>> <cluster name="test-cluster" config_version="18">
>>>   <!-- The cluster has 2 nodes. Each has a unique nodid and one vote
>>>        for quorum. -->
>>>   <clusternodes>
>>>     <clusternode name="*external-ip-1*" nodeid="1"/>
>>>     <clusternode name="*external-ip-2*" nodeid="2"/>
>> You need to use names and these names need to resolve to an IP.
>> Whichever interface that IP matches will be used for cluster
>> communications. The ideal is to use `uname -n` from each node, though
>> this is more convention that a requirement.
>>
> 


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?




More information about the Linux-cluster mailing list