TMP: add a ctdb snapshot of current ctdb master (git://git.samba.org/ctdb.git) to...
[obnox/samba/samba-obnox.git] / ctdb / ib / README.txt
diff --git a/ctdb/ib/README.txt b/ctdb/ib/README.txt
new file mode 100644 (file)
index 0000000..4041982
--- /dev/null
@@ -0,0 +1,19 @@
+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