<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 04/08/16 19:51, Jan Friesse wrote:<br>
>> >> /var/log/messages:<br>
>> >> Apr 6 17:51:49 prd1 corosync[8672]: [TOTEM ]
Initializing transport<br>
>> >> (UDP/IP Unicast).<br>
>> >> Apr 6 17:51:49 prd1 corosync[8672]: [TOTEM ]
Initializing<br>
>> >> transmit/receive security: libtomcrypt
SOBER128/SHA1HMAC (mode 0).<br>
>> >> Apr 6 17:51:49 prd1 corosync[8672]: [TOTEM ]
The network interface is<br>
>> >> down.<br>
>> ><br>
>> > ^^^ This is important line. It means corosync was
unable to find<br>
>> interface for bindnetaddr 192.168.150.0. Make sure
interface with this<br>
>> network address exists.<br>
>> ><br>
>> ><br>
>> this machine has two IP address assigned on interface bond0<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 10.150.20.91/24 brd 10.150.20.55 scope global
bond0<br>
>> inet 192.168.150.12/22 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? <br>
><br>
No this is the output of "ip a s bond0".<br>
<br>
> I'm just wondering how you were able to set two ipv4 addresses
(in this format, I would expect another interface like bond0:1 or
nothing <br>
> at all)?<br>
><br>
These IPes are physical i.e assigned via configuration file of bond0
interface<br>
cat /etc/sysconfig/network/ifcfg-bond0<br>
BONDING_MASTER='yes'<br>
BONDING_MODULE_OPTS='mode=active-backup miimon=100'<br>
BONDING_SLAVE0='em1'<br>
BONDING_SLAVE1='em2'<br>
BOOTPROTO='static'<br>
IPADDR='10.150.20.91/24'<br>
IPADDR_0='192.168.150.12/22'<br>
LABEL_0='cluster'<br>
<br>
> Anyway, I was trying to create bonding interface and set second
ipv4 (via ip addr) and corosync (flatiron what is 1.4.8 + 4 for your
problem completely unrelated<br>
> patches) was able to detect it without any problem.<br>
><br>
> I can recommend you to try:<br>
> - Set bindnetaddr to IP address of given node (so you have to
change bindnetaddr on both nodes)<br>
> <br>
Thanks a lot, I got the similar advice from SUSE Support, and
changing the bindnetaddr from 192.168.150.0 to 192.168.148.0(<font
face="Dialog" size="2">as the netmask we are using on this bond is
bond0:cluster IP address: 192.168.150.12/22</font> ) fixed the
issue.<br>
<br>
> - Try upstream corosync 1.4.8/flatiron<br>
><br>
Not required.<br>
<br>
> Regards,<br>
> Honza<br>
><br>
<br>
--<br>
Regards,<br>
Muhammad Sharfuddin.<br>
</body>
</html>