CTDB doesn't work with 2 bonded interfaces
Issue
- CTDB doesn't work with 2 bonded interfaces. Though it works with 1 bonded interface, it becomes PARTIALLYONLINE with 2 bonded interfaces or 1 bonded interfaces and 1 eth#.
Sample configuration:
[root@ha1 /]# cat /etc/sysconfig/ctdb
CTDB_DEBUGLEVEL=ERR
CTDB_NODES=/etc/ctdb/nodes
CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
CTDB_RECOVERY_LOCK=/share/ctdb/.ctdb.lock
CTDB_MANAGES_SAMBA=yes
[root@ha1 /]# cat /etc/ctdb/nodes
172.16.1.111
172.16.1.112
[root@ha1 /]# cat /etc/ctdb/public_addresses
192.168.122.121/24 bond0
172.16.2.121/24 bond1
[root@ha1 /]#
After starting ctdb service on each host:
[root@ha1 /]# ctdb status
Number of nodes:2
pnn:0 172.16.1.111 PARTIALLYONLINE (THIS NODE)
pnn:1 172.16.1.112 PARTIALLYONLINE
Generation:196886196
Size:2
hash:0 lmaster:0
hash:1 lmaster:1
Recovery mode:NORMAL (0)
Recovery master:0
[root@ha1 /]# ctdb ip status
Public IPs on node 0
192.168.122.121 node[0] active[bond0] available[bond0] configured[bond0]
172.16.2.121 node[-1] active[] available[] configured[bond1]
[root@ha1 /]#
Environment
- Red Hat Enterprise Linux 6
- Red Hat Storage 2.0
- Red Hat Storage 2.1
- ctdb
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
