mirror of
https://github.com/samba-team/samba.git
synced 2025-10-26 23:33:15 +03:00
This doesn't get the ctdb code fully working in Samba4, it just gets it building and not breaking non-clustered use of Samba. It will take a bit longer to update some of the calling ctdb_cluster.c code to make it work correctly in Samba4. Note also that Samba4 now only links to the client portion of ctdb. For the moment I am leaving the ctdbd as a separate daemon, which you install separately from http://ctdb.samba.org/.
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 bin/ctdb_test --transport ib --nlist ../2nodes_rm.txt --listen 10.0.0.2 where 2nodes_rm.txt: 10.0.0.1 10.0.0.2