summaryrefslogtreecommitdiffstats
path: root/ctdb/ib/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'ctdb/ib/README.txt')
-rw-r--r--ctdb/ib/README.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/ctdb/ib/README.txt b/ctdb/ib/README.txt
new file mode 100644
index 00000000000..40419829ca2
--- /dev/null
+++ b/ctdb/ib/README.txt
@@ -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