Hello, <div><br></div><div>thanks for you answer, </div><div><br></div><div>Here is the information you have requested:</div><div><br></div><div><div>lsof -p `pidof aisexec`</div><div>COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME</div>
<div>aisexec 3781 root cwd DIR 253,0 4096 36208670 /var/lib/openais</div><div>aisexec 3781 root rtd DIR 253,0 4096 2 /</div><div>aisexec 3781 root txt REG 253,0 181336 49495806 /usr/sbin/aisexec</div>
<div>aisexec 3781 root mem REG 253,0 139416 7307558 /lib64/<a href="http://ld-2.5.so">ld-2.5.so</a></div><div>aisexec 3781 root mem REG 253,0 1713088 7307559 /lib64/<a href="http://libc-2.5.so">libc-2.5.so</a></div>
<div>aisexec 3781 root mem REG 253,0 23360 7307561 /lib64/<a href="http://libdl-2.5.so">libdl-2.5.so</a></div><div>aisexec 3781 root mem REG 253,0 145592 7307562 /lib64/<a href="http://libpthread-2.5.so">libpthread-2.5.so</a></div>
<div>aisexec 3781 root mem REG 253,0 58400 7307466 /lib64/libgcc_s-4.1.2-20080825.so.1</div><div>aisexec 3781 root mem REG 253,0 10896 50332152 /usr/libexec/lcrso/objdb.lcrso</div><div>
aisexec 3781 root mem REG 253,0 57584 50332612 /usr/libexec/lcrso/service_cman.lcrso</div><div>aisexec 3781 root mem REG 253,0 53880 7307289 /lib64/<a href="http://libnss_files-2.5.so">libnss_files-2.5.so</a></div>
<div>aisexec 3781 root mem REG 253,0 19592 50332157 /usr/libexec/lcrso/service_cpg.lcrso</div><div>aisexec 3781 root mem REG 253,0 8984 50332154 /usr/libexec/lcrso/service_cfg.lcrso</div>
<div>aisexec 3781 root mem REG 253,0 20264 50332161 /usr/libexec/lcrso/service_msg.lcrso</div><div>aisexec 3781 root mem REG 253,0 19704 50332160 /usr/libexec/lcrso/service_lck.lcrso</div>
<div>aisexec 3781 root mem REG 253,0 47416 50332159 /usr/libexec/lcrso/service_evt.lcrso</div><div>aisexec 3781 root mem REG 253,0 48888 50332155 /usr/libexec/lcrso/service_ckpt.lcrso</div>
<div>aisexec 3781 root mem REG 253,0 79520 50332153 /usr/libexec/lcrso/service_amf.lcrso</div><div>aisexec 3781 root mem REG 253,0 15400 50332156 /usr/libexec/lcrso/service_clm.lcrso</div>
<div>aisexec 3781 root mem REG 253,0 8872 50332158 /usr/libexec/lcrso/service_evs.lcrso</div><div>aisexec 3781 root 0u CHR 1,3 1738 /dev/null</div><div>aisexec 3781 root 1u CHR 1,3 1738 /dev/null</div>
<div>aisexec 3781 root 2u CHR 1,3 1738 /dev/null</div><div>aisexec 3781 root 3u CHR 1,3 1738 /dev/null</div><div>aisexec 3781 root 4u unix 0xffff8101042dd140 7966 socket</div>
<div>aisexec 3781 root 5u unix 0xffff8101278d08c0 7950 socket</div><div>aisexec 3781 root 6u IPv4 7959 UDP 239.192.41.253:netsupport</div><div>aisexec 3781 root 7u IPv4 7960 UDP <a href="http://ciambbdd2.lab.cert.inteco.es:5149">ciambbdd2.lab.cert.inteco.es:5149</a></div>
<div>aisexec 3781 root 8u IPv4 7961 UDP ciambbdd2.lab.cert.inteco.es:netsupport</div><div>aisexec 3781 root 9u unix 0xffff8101278d0600 7962 /var/run/cman_client</div><div>aisexec 3781 root 10u unix 0xffff8101042dd400 7964 /var/run/cman_admin</div>
<div>aisexec 3781 root 11u unix 0xffff8102278220c0 7972 /var/run/cman_client</div><div>aisexec 3781 root 12u unix 0xffff810227cef9c0 8006 /var/run/cman_client</div><div>aisexec 3781 root 13u unix 0xffff810227cee100 8007 /var/run/cman_admin</div>
<div>aisexec 3781 root 14u unix 0xffff810227cee680 8009 socket</div><div>aisexec 3781 root 15u unix 0xffff810227ceec00 8011 socket</div><div>aisexec 3781 root 16u unix 0xffff810226a4e6c0 8033 /var/run/cman_client</div>
<div>aisexec 3781 root 17u unix 0xffff810227823400 8074 /var/run/cman_client</div><div>aisexec 3781 root 18u unix 0xffff810227cef440 8121 /var/run/cman_client</div><div>aisexec 3781 root 19u unix 0xffff810226a57940 8124 socket</div>
<div>aisexec 3781 root 20u unix 0xffff810226a4fa00 8184 socket</div><div>aisexec 3781 root 21u unix 0xffff810226a573c0 8129 socket</div><div>aisexec 3781 root 22u unix 0xffff810226a568c0 8133 socket</div>
<div>aisexec 3781 root 23u unix 0xffff810226a56340 8136 socket</div><div>aisexec 3781 root 24u unix 0xffff810227cef180 8186 socket</div><div>aisexec 3781 root 25u unix 0xffff8101042dc640 8477 socket</div>
<div>aisexec 3781 root 26u unix 0xffff8101042dcbc0 8479 socket</div><div>aisexec 3781 root 27u unix 0xffff810126c6d1c0 8503 socket</div><div>aisexec 3781 root 28u unix 0xffff810126c6d740 8506 socket</div>
<div>aisexec 3781 root 29u unix 0xffff81022348b100 11787 /var/run/cman_client</div><div>aisexec 3781 root 30u unix 0xffff810119f78680 11793 socket</div><div>aisexec 3781 root 31u unix 0xffff810119f78100 11796 socket</div>
<div><br></div><div>------------------------------------------------------------------------</div><div><br></div><div>cluster.conf</div><div><br></div><div><div>?xml version="1.0"?></div><div><cluster alias="myCLUSTER" config_version="28" name="myCLUSTER"></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><fence_daemon clean_start="0" post_fail_delay="5" post_join_delay="3"/></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><clusternodes></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><clusternode name="NODE1" nodeid="1" votes="1"></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><fence></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><method name="1"></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><device name="FENCENODE1"/></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span></method></div><div><span class="Apple-tab-span" style="white-space:pre"> </span></fence></div><div><span class="Apple-tab-span" style="white-space:pre"> </span></clusternode></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><clusternode name="NODE2" nodeid="2" votes="1"></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><fence></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><method name="1"></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><device name="FENCENODE2"/></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span></method></div><div><span class="Apple-tab-span" style="white-space:pre"> </span></fence></div><div><span class="Apple-tab-span" style="white-space:pre"> </span></clusternode></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span></clusternodes></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><cman expected_votes="1" two_node="1"/></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><fencedevices></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><fencedevice agent="fence_ipmilan" ipaddr="172.16.1.187" login="admin" name="FENCENODE1" passwd=***/></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><fencedevice agent="fence_ipmilan" ipaddr="172.16.1.190" login="admin" name="FENCENODE2" passwd=***/></div><div>
<span class="Apple-tab-span" style="white-space:pre"> </span></fencedevices></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><rm></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><failoverdomains></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><failoverdomain name="FAILOVERDM" nofailback="0" ordered="0" restricted="1"></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><failoverdomainnode name="NODE1" priority="1"/></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><failoverdomainnode name="NODE2" priority="1"/></div><div><span class="Apple-tab-span" style="white-space:pre"> </span></failoverdomain></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span></failoverdomains></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><resources></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><ip address="172.16.1.191" monitor_link="1"/></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span></resources></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><service autostart="1" domain="FAILOVERDM" exclusive="0" name="MYSQL" recovery="relocate"></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span><mysql config_file="/etc/my.cnf" listen_address="172.16.1.191" name="MYSQL" shutdown_wait="5"/></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><ip ref="172.16.1.191"/></div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span></service></div><div><span class="Apple-tab-span" style="white-space:pre"> </span></div><div><span class="Apple-tab-span" style="white-space:pre"> </span></rm></div>
<div></cluster></div><div><br></div><div>-----</div><div><div>cman_tool join -d</div><div>[MAIN ] AIS Executive Service RELEASE 'subrev 1358 version 0.80.3'</div><div>[MAIN ] Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.</div>
<div>[MAIN ] Copyright (C) 2006 Red Hat, Inc.</div><div>[MAIN ] AIS Executive Service: started and ready to provide service.</div><div>[MAIN ] Using default multicast address of 239.192.41.253</div><div>[MAIN ] openais component openais_cpg loaded.</div>
<div>[MAIN ] Registering service handler 'openais cluster closed process group service v1.01'</div><div>[MAIN ] openais component openais_cfg loaded.</div><div>[MAIN ] Registering service handler 'openais configuration service'</div>
<div>[MAIN ] openais component openais_msg loaded.</div><div>[MAIN ] Registering service handler 'openais message service B.01.01'</div><div>[MAIN ] openais component openais_lck loaded.</div><div>[MAIN ] Registering service handler 'openais distributed locking service B.01.01'</div>
<div>[MAIN ] openais component openais_evt loaded.</div><div>[MAIN ] Registering service handler 'openais event service B.01.01'</div><div>[MAIN ] openais component openais_ckpt loaded.</div><div>[MAIN ] Registering service handler 'openais checkpoint service B.01.01'</div>
<div>[MAIN ] openais component openais_amf loaded.</div><div>[MAIN ] Registering service handler 'openais availability management framework B.01.01'</div><div>[MAIN ] openais component openais_clm loaded.</div><div>
[MAIN ] Registering service handler 'openais cluster membership service B.01.01'</div><div>[MAIN ] openais component openais_evs loaded.</div><div>[MAIN ] Registering service handler 'openais extended virtual synchrony service'</div>
<div>[MAIN ] openais component openais_cman loaded.</div><div>[MAIN ] Registering service handler 'openais CMAN membership service 2.01'</div><div>[TOTEM] Token Timeout (10000 ms) retransmit timeout (495 ms)</div>
<div>[TOTEM] token hold (386 ms) retransmits before loss (20 retrans)</div><div>[TOTEM] join (60 ms) send_join (0 ms) consensus (4800 ms) merge (200 ms)</div><div>[TOTEM] downcheck (1000 ms) fail to recv const (50 msgs)</div>
<div>[TOTEM] seqno unchanged const (30 rotations) Maximum network MTU 1500</div><div>[TOTEM] window size per rotation (50 messages) maximum messages per rotation (17 messages)</div><div>[TOTEM] send threads (0 threads)</div>
<div>[TOTEM] RRP token expired timeout (495 ms)</div><div>[TOTEM] RRP token problem counter (2000 ms)</div><div>[TOTEM] RRP threshold (10 problem count)</div><div>[TOTEM] RRP mode set to none.</div><div>[TOTEM] heartbeat_failures_allowed (0)</div>
<div>[TOTEM] max_network_delay (50 ms)</div><div>[TOTEM] HeartBeat is Disabled. To enable set heartbeat_failures_allowed > 0</div><div>[TOTEM] Receive multicast socket recv buffer size (288000 bytes).</div><div>[TOTEM] Transmit multicast socket send buffer size (262142 bytes).</div>
<div>[TOTEM] The network interface [172.16.1.188] is now up.</div><div>[TOTEM] Created or loaded sequence id 1624.172.16.1.188 for this ring.</div><div>[TOTEM] entering GATHER state from 15.</div><div>[SERV ] Initialising service handler 'openais extended virtual synchrony service'</div>
<div>[SERV ] Initialising service handler 'openais cluster membership service B.01.01'</div><div>[SERV ] Initialising service handler 'openais availability management framework B.01.01'</div><div>[SERV ] Initialising service handler 'openais checkpoint service B.01.01'</div>
<div>[SERV ] Initialising service handler 'openais event service B.01.01'</div><div>[SERV ] Initialising service handler 'openais distributed locking service B.01.01'</div><div>[SERV ] Initialising service handler 'openais message service B.01.01'</div>
<div>[SERV ] Initialising service handler 'openais configuration service'</div><div>[SERV ] Initialising service handler 'openais cluster closed process group service v1.01'</div><div>[SERV ] Initialising service handler 'openais CMAN membership service 2.01'</div>
<div>[CMAN ] CMAN 2.0.98 (built Dec 3 2008 16:32:34) started</div><div>[SYNC ] Not using a virtual synchrony filter.</div><div>[TOTEM] Creating commit token because I am the rep.</div><div>[TOTEM] Saving state aru 0 high seq received 0</div>
<div>[TOTEM] Storing new sequence id for ring 65c</div><div>[TOTEM] entering COMMIT state.</div><div>[TOTEM] entering RECOVERY state.</div><div>[TOTEM] position [0] member <a href="http://172.16.1.188">172.16.1.188</a>:</div>
<div>[TOTEM] previous ring seq 1624 rep 172.16.1.188</div><div>[TOTEM] aru 0 high delivered 0 received flag 1</div><div>[TOTEM] Did not need to originate any messages in recovery.</div><div>[TOTEM] Sending initial ORF token</div>
<div>[CLM ] CLM CONFIGURATION CHANGE</div><div>[CLM ] New Configuration:</div><div>[CLM ] Members Left:</div><div>[CLM ] Members Joined:</div><div>[CLM ] CLM CONFIGURATION CHANGE</div><div>[CLM ] New Configuration:</div>
<div>[CLM ] r(0) ip(172.16.1.188)</div><div>[CLM ] Members Left:</div><div>[CLM ] Members Joined:</div><div>[CLM ] r(0) ip(172.16.1.188)</div><div>[SYNC ] This node is within the primary component and will provide service.</div>
<div>[TOTEM] entering OPERATIONAL state.</div><div># [CMAN ] quorum regained, resuming activity</div><div>[CLM ] got nodejoin message 172.16.1.188</div><div>[TOTEM] entering GATHER state from 11.</div><div>[TOTEM] Saving state aru a high seq received a</div>
<div>[TOTEM] Storing new sequence id for ring 660</div><div>[TOTEM] entering COMMIT state.</div><div>[TOTEM] entering RECOVERY state.</div><div>[TOTEM] position [0] member <a href="http://172.16.1.185">172.16.1.185</a>:</div>
<div>[TOTEM] previous ring seq 1624 rep 172.16.1.185</div><div>[TOTEM] aru 4f high delivered 4f received flag 1</div><div>[TOTEM] position [1] member <a href="http://172.16.1.188">172.16.1.188</a>:</div><div>[TOTEM] previous ring seq 1628 rep 172.16.1.188</div>
<div>[TOTEM] aru a high delivered a received flag 1</div><div>[TOTEM] Did not need to originate any messages in recovery.</div><div>[CLM ] CLM CONFIGURATION CHANGE</div><div>[CLM ] New Configuration:</div><div>[CLM ] r(0) ip(172.16.1.188)</div>
<div>[CLM ] Members Left:</div><div>[CLM ] Members Joined:</div><div>[CLM ] CLM CONFIGURATION CHANGE</div><div>[CLM ] New Configuration:</div><div>[CLM ] r(0) ip(172.16.1.185)</div><div>[CLM ] r(0) ip(172.16.1.188)</div>
<div>[CLM ] Members Left:</div><div>[CLM ] Members Joined:</div><div>[CLM ] r(0) ip(172.16.1.185)</div><div>[SYNC ] This node is within the primary component and will provide service.</div><div>[TOTEM] entering OPERATIONAL state.</div>
<div>[CLM ] got nodejoin message 172.16.1.185</div><div>[CLM ] got nodejoin message 172.16.1.188</div><div>[CPG ] got joinlist message from node 1</div><div><br></div><div><br></div><div><br></div><div>Thanks again, </div>
<div><br></div><div>ESG</div></div><div><br></div></div><div><br></div><br><div class="gmail_quote">2009/5/26 Chrissie Caulfield <span dir="ltr"><<a href="mailto:ccaulfie@redhat.com">ccaulfie@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">ESGLinux wrote:<br>
> Hello,<br>
><br>
> Looking the configuration of my 2 nodes cluster I have seen that when I<br>
> run the command cman_tool with diferent commands I get diferent ips for<br>
> my nodes.<br>
><br>
> here is the example:<br>
><br>
> cman_tool -af nodes<br>
> Node Sts Inc Joined Name<br>
> 1 M 1624 2009-05-21 11:41:41 NODE1<br>
> Addresses: 172.16.1.185<br>
> 2 M 1620 2009-05-21 11:41:41 NODE2<br>
> Addresses: 172.16.1.188<br>
><br>
> ---------------------------<br>
><br>
> cman_tool status<br>
> Version: 6.1.0<br>
> Config Version: 28<br>
> Cluster Name: myCLUSTER<br>
> Cluster Id: 10708<br>
> Cluster Member: Yes<br>
> Cluster Generation: 1624<br>
> Membership state: Cluster-Member<br>
> Nodes: 2<br>
> Expected votes: 1<br>
> Total votes: 2<br>
> Quorum: 1<br>
> Active subsystems: 9<br>
> Flags: 2node Dirty<br>
> Ports Bound: 0 11 177<br>
> Node name: NODE1<br>
> Node ID: 1<br>
> Multicast addresses: 239.192.41.253<br>
> Node addresses: 172.16.1.186<br>
><br>
><br>
> As you can see node1 shows 2 diferente ips (172.16.1.185 (eth0)<br>
> and 172.16.1.186 (eth1))<br>
><br>
> How can I determine which ip they are using to communicate and how can I<br>
> change the configuration to use always the same ip (the one asociated to<br>
> eth1)<br>
<br>
</div></div>That's very very strange! I can't think what might be causing that. The<br>
correct information is that shown by 'cman_tool nodes -a' as that<br>
queries the totem stack to get its information. You can double-check<br>
this with the command<br>
<br>
# lsof -p `pidof aisexec`<br>
<br>
But I'm intrigued as to how this has happened. Is it possible you could<br>
post your cluster.conf and also the output of "cman_tool join -d" please?<br>
<br>
<br>
<br>
Chrissie<br>
<font color="#888888"><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</font></blockquote></div><br></div>