1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/ib
Peter Somogyi 1714c1ed0c ib: added external send queue to workaround downtime
Workaround is because I couldn't find a correct way in ib to reconnect cleanly (with queue kept) when destination is unreachable.
When connection is broken, all internal queue contents are being destroyed and reconnects automatically.
An "external" send queue is kept until the connection is up again for a dest node.

(This used to be ctdb commit 49cac6eafb9d9c80ef1c7f0388aa7786c8be6f24)
2007-02-26 11:59:20 +01:00
..
config.m4 Joining ctdb and ibwrapper (incomplete). 2007-01-02 18:16:39 +01:00
ibw_ctdb_init.c ib: added external send queue to workaround downtime 2007-02-26 11:59:20 +01:00
ibw_ctdb.c ib: added external send queue to workaround downtime 2007-02-26 11:59:20 +01:00
ibw_ctdb.h ib: added external send queue to workaround downtime 2007-02-26 11:59:20 +01:00
ibwrapper_internal.h ib: fragment sent buf + many bugfixes 2007-02-08 19:06:14 +01:00
ibwrapper_test.c ib: added external send queue to workaround downtime 2007-02-26 11:59:20 +01:00
ibwrapper.c ib: added external send queue to workaround downtime 2007-02-26 11:59:20 +01:00
ibwrapper.h ib: added external send queue to workaround downtime 2007-02-26 11:59:20 +01:00
README.txt 1st working ib integrated ctdb 2007-02-15 17:02:38 +01:00

Compilation
===========

For the configure script, please set the OFED include & library path by e.g.:

export CFLAGS="-I/usr/local/ofed/include -L/usr/local/ofed/lib"

After then:

./configure --enable-infiniband

Example for testing
===================
bin/ctdb_test --transport ib --nlist ../2nodes_rm.txt --listen 10.0.0.1:9001
bin/ctdb_test --transport ib --nlist ../2nodes_rm.txt --listen 10.0.0.2:9001

where 2nodes_rm.txt:
10.0.0.1:9001
10.0.0.2:9001