ctdb with Infiniband

Stefan (metze) Metzmacher metze at samba.org
Fri Jul 30 00:16:05 MDT 2010

Hi Ihara,

> If I am misunderstanding, please let me know. --enable-infiniband
> means for Cluster Interlink of CTDB?
> I was tying to ib0 interface one of TCP/IP network interface for
> public network of CTDB, but was getting
> PARTIALLYONLINE and couldn't become OK on 'ctdb status'.

The problem is the interface name.

See /etc/ctdb/events.d/10.interface doesn't know how to monitor
ib* interfaces. It was missing some calls to setup the interface as "up".

The attached patch should fix that.


> Thanks
> Ihara
> 2010/7/29 ronnie sahlberg <ronniesahlberg at gmail.com>:
>> Hi,
>> The bad news is that the infiniband support has experienced bit-rot
>> and is not maintained. So you can not use it. You have to use TCP
>> today.
>> The good news is that we managed to get the ctdb protocol reasonably
>> fast and non-chatty   so there is no real need for the low-latency
>> infiniband transport for the inter-ctdb communications.
>> Basically, the ctdb protocol is fast enough with GbE (or 10GbE) and
>> TCP that the cifs serving bottlenecks lies elsewhere.
>> regards
>> ronnie sahlberg
>> On Thu, Jul 29, 2010 at 12:09 PM, Shuichi Ihara <ihashu at gmail.com> wrote:
>>> Hi,
>>> I'm building ctdb (1.0.114) with --enable-infiniband option, but
>>> getting the following errors.
>>> Compiling utils/ping_pong/ping_pong.c
>>> Linking bin/ping_pong
>>> Linking bin/ctdbd
>>> ib/ibw_ctdb_init.o: In function `ctdb_flush_cn_queue':
>>> /root/ctdb/ib/ibw_ctdb_init.c:140: undefined reference to `DLIST_REMOVE'
>>> ib/ibw_ctdb_init.o: In function `ctdb_ibw_queue_pkt':
>>> /root/ctdb/ib/ibw_ctdb_init.c:174: undefined reference to `DLIST_ADD_AFTER'
>>> collect2: ld returned 1 exit status
>>> make: *** [bin/ctdbd] Error 1
>>> I've tested with OFED-1.4.x and OFED-1.5.x for Infiniband stuff, but
>>> got a same error.
>>> Any idea to fix this build issue?
>>> Thanks
>>> Ihara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-events-10.interface-we-need-to-mark-interfaces-as-up.patch
Type: text/x-diff
Size: 1006 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100730/a4e2f6e5/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100730/a4e2f6e5/attachment.pgp>

More information about the samba-technical mailing list