<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Hi
Corosync Specialists!<br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">I have
a production cluster with two nodes (node0/1). And I have
setup for debugging this issue a completely virtual cluster
also.<br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Both
are showing the same pattern that I do not understand:<br>
</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Printing
link status.</font></font></p>
<p><font size="+1"><font face="Helvetica, Arial, sans-serif">Local
node ID 0<br>
LINK ID 0<br>
addr = 192.168.2.132<br>
status = 33<br>
LINK ID 1<br>
addr = 192.168.1.132<br>
status = <b>n</b>3<br>
</font></font></p>
<p>What is this "n" indicating? The "n" occurs always at the second
ring, independent of the odering of the interfaces, oder the
ring/IP association, or the interface states.</p>
<p>Without the -b switch the status becomes even more unclear.<br>
</p>
<p>Printing link status.<br>
Local node ID 0<br>
LINK ID 0<br>
addr = 192.168.2.132<br>
status:<br>
node 0: link enabled:1 link connected:1<br>
node 1: link enabled:1 link connected:1<br>
LINK ID 1<br>
addr = 192.168.1.132<br>
status:<br>
node 0: link enabled:0 link connected:1<br>
node 1: link enabled:1 link connected:1<br>
<br>
</p>
<p>What is an "enabled" vs. an "connected" link? At first I thought
about something like spanning tree, where some interfaces are
deliberately are shut down to prevent circles. But this does not
correlate with my findings when I disabled interfaces.</p>
<p>If I disable the interface 192.168.2.132 on Node0 I get on Node0<br>
</p>
<p>Local node ID 0<br>
LINK ID 0<br>
addr = 192.168.2.132<br>
status:<br>
node 0: link enabled:1 link connected:1<br>
node 1: link enabled:1 link connected:0<br>
LINK ID 1<br>
addr = 192.168.1.132<br>
status:<br>
node 0: link enabled:0 link connected:1<br>
node 1: link enabled:1 link connected:1<br>
</p>
<p>while I get on node1<br>
</p>
<p>Printing link status.<br>
Local node ID 1<br>
LINK ID 0<br>
addr = 192.168.2.134<br>
status:<br>
node 0: link enabled:1 link connected:0<br>
node 1: link enabled:1 link connected:1<br>
LINK ID 1<br>
addr = 192.168.1.134<br>
status:<br>
node 0: link enabled:1 link connected:1<br>
node 1: link enabled:0 link connected:1<br>
</p>
<p>This is awkward. I had assumed that both nodes indicate for
Link0<br>
</p>
<p> node 0: link enabled:1 link connected:0<br>
</p>
Any help appreciated.
<p>Volker<br>
</p>
<p>corosync.conf</p>
<p>totem {<br>
version: 2<br>
<br>
cluster_name: mail<br>
<br>
token: 3000<br>
<br>
token_retransmits_before_loss_const: 10<br>
<br>
clear_node_high_bit: yes<br>
<br>
crypto_cipher: none<br>
crypto_hash: none<br>
<br>
interface {<br>
linknumber: 0<br>
knet_transport: udp<br>
knet_link_priority: 20<br>
}<br>
interface {<br>
linknumber: 1<br>
knet_transport: udp<br>
knet_link_priority: 10<br>
}<br>
<br>
}<br>
<br>
nodelist {<br>
node {<br>
ring1_addr: 192.168.1.132<br>
ring0_addr: 192.168.2.132<br>
nodeid: 0<br>
name: mail3<br>
}<br>
node {<br>
ring1_addr: 192.168.1.134<br>
ring0_addr: 192.168.2.134<br>
nodeid: 1<br>
name: mail4<br>
}<br>
}<br>
<br>
<br>
</p>
<p><br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
=========================================================
inqbus Scientific Computing Dr. Volker Jaenisch
Hungerbichlweg 3 +49 (8860) 9222 7 92
86977 Burggen <a class="moz-txt-link-freetext" href="http://www.inqbus.de">http://www.inqbus.de</a>
=========================================================</pre>
</body>
</html>