summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/example/howto.txt
blob: 1de50000c18125e86133f7099ec8b8c19f93a679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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!