<div dir="ltr">help appreciated am totally stuck.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 12, 2016 at 4:22 PM,  <span dir="ltr"><<a href="mailto:users-request@clusterlabs.org" target="_blank">users-request@clusterlabs.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Users mailing list submissions to<br>
        <a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:users-request@clusterlabs.org">users-request@clusterlabs.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:users-owner@clusterlabs.org">users-owner@clusterlabs.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Totem is unable to form a cluster because of an operating<br>
      system or network fault (dinor geler)<br>
   2. Re: getting "Totem is unable to form a cluster" error<br>
      (Lars Ellenberg)<br>
   3. Re: getting "Totem is unable to form a cluster" error<br>
      (Jan Pokorn?)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 12 Apr 2016 14:44:40 +0300<br>
From: dinor geler <<a href="mailto:dinorg@gmail.com">dinorg@gmail.com</a>><br>
To: <a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a><br>
Subject: [ClusterLabs] Totem is unable to form a cluster because of an<br>
        operating system or network fault<br>
Message-ID:<br>
        <<a href="mailto:CAEu-pSKnXQBBYzbwqRPPfLJpZfj9WXZEPJWkz0MeTdFOAVE8ng@mail.gmail.com">CAEu-pSKnXQBBYzbwqRPPfLJpZfj9WXZEPJWkz0MeTdFOAVE8ng@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi ,<br>
Am trying to configure my sql on ubuntu according to this article :<br>
<a href="https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-classic-mysql-cluster/" rel="noreferrer" target="_blank">https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-linux-classic-mysql-cluster/</a><br>
<br>
two node cluster<br>
<br>
<br>
looking on corosync log :<br>
<br>
<br>
Apr 12 11:01:09 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:11 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:13 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:16 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:18 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:20 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:22 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:24 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:27 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:29 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
Apr 12 11:01:31 corosync [TOTEM ] Totem is unable to form a cluster because<br>
of an operating system or network fault. The most common cause of this<br>
message is that the local firewall is configured improperly.<br>
<br>
<br>
<br>
totem {<br>
  version: 2<br>
  crypto_cipher: none<br>
  crypto_hash: none<br>
  interface {<br>
    ringnumber: 0<br>
    bindnetaddr: 10.1.0.0<br>
    mcastport: 5405<br>
    ttl: 1<br>
  }<br>
  transport: udpu<br>
}<br>
logging {<br>
  fileline: off<br>
  to_logfile: yes<br>
  to_syslog: yes<br>
  logfile: /var/log/corosync/corosync.log<br>
  debug: off<br>
  timestamp: on<br>
  logger_subsys {<br>
    subsys: QUORUM<br>
    debug: off<br>
    }<br>
  }<br>
nodelist {<br>
  node {<br>
    ring0_addr: 10.1.0.6<br>
    nodeid: 1<br>
  }<br>
  node {<br>
    ring0_addr: 10.1.0.7<br>
    nodeid: 2<br>
  }<br>
}<br>
quorum {<br>
  provider: corosync_votequorum<br>
}<br>
<br>
<br>
If I initiate a tcpdump on node 2 and start either a netcat or nmap I see<br>
packet arrives to destination host for port 5405 UDP traffic<br>
<br>
<br>
<br>
I do see Corosync listening on the IP/PORT<br>
<br>
<br>
<br>
<br>
<br>
root@node-2:/home/dinor# netstat -an | grep -i 5405<br>
<br>
udp        0      0 <a href="http://10.1.0.7:5405" rel="noreferrer" target="_blank">10.1.0.7:5405</a>           0.0.0.0:*<br>
<br>
<br>
<br>
<br>
<br>
<br>
root@node-1:/home/dinor# netstat -an | grep -i 5405<br>
<br>
udp        0      0 <a href="http://10.1.0.6:5405" rel="noreferrer" target="_blank">10.1.0.6:5405</a>           0.0.0.0:*<br>
<br>
<br>
<br>
<br>
<br>
On node 1 I start a netcat to port 5405 via udp<br>
<br>
<br>
<br>
netcat -D -4 -u 10.1.0.7 5405<br>
<br>
<br>
<br>
In here you type some text and hit enter<br>
<br>
<br>
<br>
On node 1 tcpdump we see data sent to IP 10.1.0.7<br>
<br>
<br>
<br>
root@node-1:/var/log/corosync# tcpdump -n udp port 5405<br>
<br>
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br>
<br>
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes<br>
<br>
10:08:24.484533 IP 10.1.0.6.44299 > 10.1.0.7.5405: UDP, length 26<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On node 2 tcpdump I see the data arrive<br>
<br>
<br>
<br>
root@node-2:/var/log/corosync# tcpdump -n udp port 5405<br>
<br>
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br>
<br>
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes<br>
<br>
10:08:24.484892 IP 10.1.0.6.44299 > 10.1.0.7.5405: UDP, length 26<br>
<br>
<br>
<br>
<br>
<br>
Tested also sending UDP packets from node 2 ? all ok.<br>
<br>
<br>
<br>
So connectivity seems to be ok.<br>
<br>
<br>
<br>
Port scanner also shows the port as Open<br>
<br>
<br>
<br>
<br>
<br>
root@node-1:/home/dinor# nmap -sUV 10.1.0.7 -p 5402-5405<br>
<br>
<br>
<br>
Starting Nmap 5.21 ( <a href="http://nmap.org" rel="noreferrer" target="_blank">http://nmap.org</a> ) at 2016-04-12 10:31 UTC<br>
<br>
Nmap scan report for node-2 (10.1.0.7)<br>
<br>
Host is up (0.00060s latency).<br>
<br>
PORT     STATE         SERVICE VERSION<br>
<br>
5402/udp closed        unknown<br>
<br>
5403/udp closed        unknown<br>
<br>
5404/udp closed        unknown<br>
<br>
*5405/udp open|filtered unknown*<br>
<br>
MAC Address: 12:34:56:78:9A:BC (Unknown)<br>
<br>
<br>
<br>
Service detection performed. Please report any incorrect results at<br>
<a href="http://nmap.org/submit/" rel="noreferrer" target="_blank">http://nmap.org/submit/</a> .<br>
<br>
Nmap done: 1 IP address (1 host up) scanned in 79.07 seconds<br>
<br>
<br>
<br>
<br>
<br>
There is no FW and no selinux enabled<br>
<br>
<br>
help appreciated.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://clusterlabs.org/pipermail/users/attachments/20160412/184f5189/attachment-0001.html" rel="noreferrer" target="_blank">http://clusterlabs.org/pipermail/users/attachments/20160412/184f5189/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 12 Apr 2016 15:03:35 +0200<br>
From: Lars Ellenberg <<a href="mailto:lars.ellenberg@linbit.com">lars.ellenberg@linbit.com</a>><br>
To: <a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a><br>
Subject: Re: [ClusterLabs] getting "Totem is unable to form a cluster"<br>
        error<br>
Message-ID: <20160412130335.GG3078@soda.linbit><br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
On Mon, Apr 11, 2016 at 08:23:03AM +0200, Jan Friesse wrote:<br>
<br>
...<br>
>>> bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP<br>
>>>       link/ether 74:e6:e2:73:e5:61 brd ff:ff:ff:ff:ff:ff<br>
>>>       inet <a href="http://10.150.20.91/24" rel="noreferrer" target="_blank">10.150.20.91/24</a> brd 10.150.20.55 scope global bond0<br>
>>>       inet <a href="http://192.168.150.12/22" rel="noreferrer" target="_blank">192.168.150.12/22</a> brd 192.168.151.255 scope global bond0:cluster<br>
>>>       inet6 fe80::76e6:e2ff:fe73:e561/64 scope link<br>
>>>          valid_lft forever preferred_lft forever<br>
>><br>
>> This is ifconfig output? I'm just wondering how you were able to set<br>
>> two ipv4 addresses (in this format, I would expect another interface<br>
>> like bond0:1 or nothing at all)?<br>
...<br>
<br>
No, it is "ip addr show" output.<br>
<br>
> RHEL 6:<br>
><br>
> # tunctl -p<br>
> Set 'tap0' persistent and owned by uid 0<br>
><br>
> # ip addr add <a href="http://192.168.7.1/24" rel="noreferrer" target="_blank">192.168.7.1/24</a> dev tap0<br>
> # ip addr add <a href="http://192.168.8.1/24" rel="noreferrer" target="_blank">192.168.8.1/24</a> dev tap0<br>
> # ifconfig tap0<br>
> tap0      Link encap:Ethernet  HWaddr 22:95:B1:85:67:3F<br>
>           inet addr:192.168.7.1  Bcast:0.0.0.0  Mask:255.255.255.0<br>
>           BROADCAST MULTICAST  MTU:1500  Metric:1<br>
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>
>           collisions:0 txqueuelen:500<br>
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)<br>
<br>
<br>
# ip addr add <a href="http://192.168.7.1/24" rel="noreferrer" target="_blank">192.168.7.1/24</a> dev tap0<br>
# ip addr add <a href="http://192.168.8.1/24" rel="noreferrer" target="_blank">192.168.8.1/24</a> dev tap0 label tap0:jan<br>
# ip addr show dev tap0<br>
<br>
And as long as you actually use those "label"s,<br>
you then can even see these with "ifconfig tap0:jan".<br>
<br>
<br>
--<br>
: Lars Ellenberg<br>
: LINBIT | Keeping the Digital World Running<br>
: DRBD -- Heartbeat -- Corosync -- Pacemaker<br>
: R&D, Integration, Ops, Consulting, Support<br>
<br>
DRBD? and LINBIT? are registered trademarks of LINBIT<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 12 Apr 2016 15:17:51 +0200<br>
From: Jan Pokorn? <<a href="mailto:jpokorny@redhat.com">jpokorny@redhat.com</a>><br>
To: Cluster Labs - All topics related to open-source clustering<br>
        welcomed        <<a href="mailto:users@clusterlabs.org">users@clusterlabs.org</a>><br>
Subject: Re: [ClusterLabs] getting "Totem is unable to form a cluster"<br>
        error<br>
Message-ID: <<a href="mailto:20160412131751.GD5206@redhat.com">20160412131751.GD5206@redhat.com</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
On 12/04/16 15:03 +0200, Lars Ellenberg wrote:<br>
> On Mon, Apr 11, 2016 at 08:23:03AM +0200, Jan Friesse wrote:<br>
><br>
> ...<br>
>>>> bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP<br>
>>>>       link/ether 74:e6:e2:73:e5:61 brd ff:ff:ff:ff:ff:ff<br>
>>>>       inet <a href="http://10.150.20.91/24" rel="noreferrer" target="_blank">10.150.20.91/24</a> brd 10.150.20.55 scope global bond0<br>
>>>>       inet <a href="http://192.168.150.12/22" rel="noreferrer" target="_blank">192.168.150.12/22</a> brd 192.168.151.255 scope global bond0:cluster<br>
>>>>       inet6 fe80::76e6:e2ff:fe73:e561/64 scope link<br>
>>>>          valid_lft forever preferred_lft forever<br>
>>><br>
>>> This is ifconfig output? I'm just wondering how you were able to set<br>
>>> two ipv4 addresses (in this format, I would expect another interface<br>
>>> like bond0:1 or nothing at all)?<br>
> ...<br>
><br>
> No, it is "ip addr show" output.<br>
><br>
>> RHEL 6:<br>
>><br>
>> # tunctl -p<br>
>> Set 'tap0' persistent and owned by uid 0<br>
>><br>
>> # ip addr add <a href="http://192.168.7.1/24" rel="noreferrer" target="_blank">192.168.7.1/24</a> dev tap0<br>
>> # ip addr add <a href="http://192.168.8.1/24" rel="noreferrer" target="_blank">192.168.8.1/24</a> dev tap0<br>
>> # ifconfig tap0<br>
>> tap0      Link encap:Ethernet  HWaddr 22:95:B1:85:67:3F<br>
>>           inet addr:192.168.7.1  Bcast:0.0.0.0  Mask:255.255.255.0<br>
>>           BROADCAST MULTICAST  MTU:1500  Metric:1<br>
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
>>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>
>>           collisions:0 txqueuelen:500<br>
>>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)<br>
><br>
><br>
> # ip addr add <a href="http://192.168.7.1/24" rel="noreferrer" target="_blank">192.168.7.1/24</a> dev tap0<br>
> # ip addr add <a href="http://192.168.8.1/24" rel="noreferrer" target="_blank">192.168.8.1/24</a> dev tap0 label tap0:jan<br>
> # ip addr show dev tap0<br>
><br>
> And as long as you actually use those "label"s,<br>
> you then can even see these with "ifconfig tap0:jan".<br>
<br>
Further reading: <a href="http://inai.de/2008/02/19" rel="noreferrer" target="_blank">http://inai.de/2008/02/19</a><br>
<br>
--<br>
Jan (Poki)<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: not available<br>
Type: application/pgp-signature<br>
Size: 819 bytes<br>
Desc: not available<br>
URL: <<a href="http://clusterlabs.org/pipermail/users/attachments/20160412/eca021cb/attachment.sig" rel="noreferrer" target="_blank">http://clusterlabs.org/pipermail/users/attachments/20160412/eca021cb/attachment.sig</a>><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
<br>
<br>
End of Users Digest, Vol 15, Issue 16<br>
*************************************<br>
</blockquote></div><br></div>