summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/example/howto.txt
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-01-22 11:57:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:59 -0500
commit69d475223db98d0caa2e235e917e2798067c25ff (patch)
tree5e6806ccbfeed4add66c02b2d4b422a39963f4e1 /source4/cluster/ctdb/example/howto.txt
parent87df5a631200a5725618fbe2779ade7066ad084c (diff)
downloadsamba-69d475223db98d0caa2e235e917e2798067c25ff.tar.gz
samba-69d475223db98d0caa2e235e917e2798067c25ff.tar.bz2
samba-69d475223db98d0caa2e235e917e2798067c25ff.zip
r20948: a very simple example on how to setup and test ctdb
(This used to be commit 8b5d7d66c91d2bee971373f7da05d1641c556cbc)
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!
+