summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/example/howto.txt
diff options
context:
space:
mode:
Diffstat (limited to 'source4/cluster/ctdb/example/howto.txt')
-rw-r--r--source4/cluster/ctdb/example/howto.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/source4/cluster/ctdb/example/howto.txt b/source4/cluster/ctdb/example/howto.txt
new file mode 100644
index 0000000000..1de50000c1
--- /dev/null
+++ b/source4/cluster/ctdb/example/howto.txt
@@ -0,0 +1,19 @@
+Here is a very brief howto for setting up a simple test of the current
+ctdb code.
+
+1) put smb.conf.cluster, smb.conf.node1, smb.conf.node2 and nlist.txt in the
+ prefix/etc/ directory for samba4. Adjust them for your local paths.
+
+2) use the script cluster_start.sh to start the two nodes. You can
+ pass extra arguments to start under valgrind or gdb. For example:
+
+ cluster_start.sh "gdb --args"
+
+3) test using the following command:
+
+ bin/locktest //localhost/test //win2003/test -Uadministrator%password -l unclist.txt
+
+ with the unclist.txt supplied
+
+NOTE: This is very much experimental code!
+