Advice on extending CTDB to support multiple NIC interfaces per node
kosborn at overlandstorage.com
Thu Mar 27 08:51:36 MDT 2014
Thanks Martin, that did the trick. Now the IP address just moves from one interface to the other when one link goes down.
Hosting the two IP addresses on the same node is required to allow us to provide two different paths to the same iSCSI targets. This means that these two IP addresses must stay together if the node fails entirely. Because of this we still plan to add a new tunable (but we will probably call it IP_ADDR_TUPLES instead of MULTI_INTERFACE_PER_NODE). We will also add a new ip_alloc_ip_tuple_interface() to the ctdb_takeover_run_core() function. And finally, we would add a new configuration file that would list the valid IP address tuples that any node can host. This file would be saved on the cluster file system.
Thanks again for your help,
From: Martin Schwenke [mailto:martin at meltin.net]
Sent: Wednesday, March 26, 2014 4:30 PM
To: Kevin Osborn
Cc: Michael Adam; samba-technical at lists.samba.org
Subject: Re: Advice on extending CTDB to support multiple NIC interfaces per node
On Wed, 26 Mar 2014 21:40:34 +0000, Kevin Osborn <kosborn at overlandstorage.com> wrote:
> Thanks for your help. I tried using the interface list after each IP, but both IP addresses on a node are failed over whenever any single interface goes down on a node. I would have expected the IP from the down interface to have moved to the "up" interface on the same node. Instead all IPs are moved off of that node.
Please try setting:
in your CTDB configuration.
peace & happiness,
More information about the samba-technical