[Pacemaker] strange behaviour for ssh and eth0

Dominik Klein dk at in-telegence.net
Wed Oct 28 05:09:57 EDT 2009


gilberto migliavacca wrote:
> Hi Dominik
> 
> How can I configure the node's ips as cluster resources?
> 
> sorry for the silly question but I'm a newbye in this field
> 
> thanks in advance
> 
> gilberto
> 
> Dominik Klein wrote:
>> gilberto migliavacca wrote:
>>> Hi
>>>
>>>
>>> I have 2 nodes and 1 node that I'm using just
>>> to manage the cluster.
>>>
>>> I started up the nodes and created the following
>>> configuration :
>>>
>>>
>>> node custdevc03.funambol.com
>>> node custdevc04.funambol.com
>>> node custdevc05.funambol.com
>>> primitive res.ip.m63 ocf:heartbeat:IPaddr2 \
>>>         params ip="172.16.20.63" \

Is this a node's ip address? Like the one configured in the operating
system? If so: Don't do that. Each Machine has to have its own "private"
(physical if you want) IP address. The idea of moving ("virtual" if you
want) addresses is that they are bound to a service. This virtual IP is
the communicated to clients.

If you configure a node's ip as a cluster resource and the cluster moves
the ip to another node ... well, you should get that by now.

Regards
Dominik

>>>         op monitor interval="2s" timeout="1s"
>>> primitive res.ip.m64 ocf:heartbeat:IPaddr2 \
>>>         params ip="172.16.20.64" \
>>>         op monitor interval="2s" timeout="1s"
>>> property $id="cib-bootstrap-options" \
>>>         dc-version="1.0.5-462f1569a43740667daf7b0f6b521742e9eb8fa7" \
>>>         cluster-infrastructure="openais" \
>>>         expected-quorum-votes="3" \
>>>         stonith-enabled="false"
>>>
>>>
>>> when I commit this configuration the ssh connection (on the non standard
>>> port 2222) goes down and the ifconfig command doesn't show the eth0
>>> network interface on one machine (i.e. 64)
>>>
>>> moreover when I try to "ssh" again on the 64 there is a redirect on
>>> the 63.
>>>
>>> It seems that both machine have the same ip: 63
>>
>> Did you configure the node's ips as cluster resources? That might
>> explain the problems.
>>
>> Regards
>> Dominik
>>
>>> could anyone explain this behaviour?
>>>
>>> thanks in advance
>>>
>>> gilberto
>>>
>>> _______________________________________________
>>> Pacemaker mailing list
>>> Pacemaker at oss.clusterlabs.org
>>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>>
>>
>> _______________________________________________
>> Pacemaker mailing list
>> Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
> 
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 


-- 
IN-telegence GmbH & Co. KG
Oskar-Jäger-Str. 125
50825 Köln

Registergericht Köln - HRA 14064, USt-ID Nr. DE 194 156 373
ph Gesellschafter: komware Unternehmensverwaltungsgesellschaft mbH,
Registergericht Köln - HRB 38396
Geschäftsführende Gesellschafter: Christian Plätke und Holger Jansen




More information about the Pacemaker mailing list