mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
6504900f1f
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/. (This used to be commit b196077cbb55cbecad87065133c2d67198e31066)
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