[ClusterLabs] getting "Totem is unable to form a cluster" error

Lars Ellenberg lars.ellenberg at linbit.com
Tue Apr 12 13:03:35 UTC 2016


On Mon, Apr 11, 2016 at 08:23:03AM +0200, Jan Friesse wrote:

...
>>> bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
>>>       link/ether 74:e6:e2:73:e5:61 brd ff:ff:ff:ff:ff:ff
>>>       inet 10.150.20.91/24 brd 10.150.20.55 scope global bond0
>>>       inet 192.168.150.12/22 brd 192.168.151.255 scope global bond0:cluster
>>>       inet6 fe80::76e6:e2ff:fe73:e561/64 scope link
>>>          valid_lft forever preferred_lft forever
>>
>> This is ifconfig output? 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 at all)?
...

No, it is "ip addr show" output.

> RHEL 6:
> 
> # tunctl -p
> Set 'tap0' persistent and owned by uid 0
> 
> # ip addr add 192.168.7.1/24 dev tap0
> # ip addr add 192.168.8.1/24 dev tap0
> # ifconfig tap0
> tap0      Link encap:Ethernet  HWaddr 22:95:B1:85:67:3F
>           inet addr:192.168.7.1  Bcast:0.0.0.0  Mask:255.255.255.0
>           BROADCAST MULTICAST  MTU:1500  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:500
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


# ip addr add 192.168.7.1/24 dev tap0
# ip addr add 192.168.8.1/24 dev tap0 label tap0:jan
# ip addr show dev tap0

And as long as you actually use those "label"s,
you then can even see these with "ifconfig tap0:jan".


-- 
: Lars Ellenberg
: LINBIT | Keeping the Digital World Running
: DRBD -- Heartbeat -- Corosync -- Pacemaker
: R&D, Integration, Ops, Consulting, Support

DRBD® and LINBIT® are registered trademarks of LINBIT




More information about the Users mailing list