summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/example
diff options
context:
space:
mode:
Diffstat (limited to 'source4/cluster/ctdb/example')
-rwxr-xr-xsource4/cluster/ctdb/example/cluster_start.sh12
-rw-r--r--source4/cluster/ctdb/example/howto.txt19
-rw-r--r--source4/cluster/ctdb/example/nlist.txt2
-rw-r--r--source4/cluster/ctdb/example/smb.conf.cluster26
-rw-r--r--source4/cluster/ctdb/example/smb.conf.node16
-rw-r--r--source4/cluster/ctdb/example/smb.conf.node26
-rw-r--r--source4/cluster/ctdb/example/unclist.txt2
7 files changed, 0 insertions, 73 deletions
diff --git a/source4/cluster/ctdb/example/cluster_start.sh b/source4/cluster/ctdb/example/cluster_start.sh
deleted file mode 100755
index 825eadb483..0000000000
--- a/source4/cluster/ctdb/example/cluster_start.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-killall samba
-sleep 1
-killall -9 samba
-killall -9 valgrind
-
-type=$1
-
-xterm -e $type bin/samba -s /home/tridge/samba/samba4.svn/prefix/etc/smb.conf.node1 -M single -i &
-xterm -e $type bin/samba -s /home/tridge/samba/samba4.svn/prefix/etc/smb.conf.node2 -M single -i &
-
diff --git a/source4/cluster/ctdb/example/howto.txt b/source4/cluster/ctdb/example/howto.txt
deleted file mode 100644
index 1de50000c1..0000000000
--- a/source4/cluster/ctdb/example/howto.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-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!
-
diff --git a/source4/cluster/ctdb/example/nlist.txt b/source4/cluster/ctdb/example/nlist.txt
deleted file mode 100644
index e1198b59ac..0000000000
--- a/source4/cluster/ctdb/example/nlist.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-127.0.0.1:9001
-127.0.0.2:9001
diff --git a/source4/cluster/ctdb/example/smb.conf.cluster b/source4/cluster/ctdb/example/smb.conf.cluster
deleted file mode 100644
index a19b5eb110..0000000000
--- a/source4/cluster/ctdb/example/smb.conf.cluster
+++ /dev/null
@@ -1,26 +0,0 @@
- ctdb:shared data = /home/tridge/samba/samba4.svn/prefix/cluster
- ctdb:maxlacount = 7
- ctdb:brlock = true
-; ctdb:selfconnect = true
- ctdb:nlist = /home/tridge/samba/samba4.svn/prefix/etc/nlist.txt
- dos charset = ascii
- unix charset = utf8
- display charset = utf8
- netbios name = blu
- workgroup = bludom
- realm = bludom.tridgell.net
- panic action = backtrace %PID% %PROG%
- js include = /home/tridge/samba/samba4.svn/source/scripting/libjs
- setup directory = /home/tridge/samba/samba4.svn/source/setup
- tls enabled = yes
- server role = domain controller
- posix:sharedelay = 100000
- server services = smb
- bind interfaces only = true
- name resolve order = bcast
- smb ports = 445
-
-[test]
- ntvfs handler = unixuid posix
- path = /home/tridge/prefix/testdir
- read only = No
diff --git a/source4/cluster/ctdb/example/smb.conf.node1 b/source4/cluster/ctdb/example/smb.conf.node1
deleted file mode 100644
index c190d4f3e6..0000000000
--- a/source4/cluster/ctdb/example/smb.conf.node1
+++ /dev/null
@@ -1,6 +0,0 @@
-ctdb:address = 127.0.0.1:9001
-interfaces = lo
-log file = /home/tridge/samba/samba4.svn/prefix/var/log.node1
-pid directory = /home/tridge/samba/samba4.svn/prefix/var/run/node1
-lock directory = /home/tridge/samba/samba4.svn/prefix/var/run/locks/node1
-include = /home/tridge/samba/samba4.svn/prefix/etc/smb.conf.cluster
diff --git a/source4/cluster/ctdb/example/smb.conf.node2 b/source4/cluster/ctdb/example/smb.conf.node2
deleted file mode 100644
index ea717139b4..0000000000
--- a/source4/cluster/ctdb/example/smb.conf.node2
+++ /dev/null
@@ -1,6 +0,0 @@
-ctdb:address = 127.0.0.2:9001
-interfaces = lo:2
-log file = /home/tridge/samba/samba4.svn/prefix/var/log.node2
-pid directory = /home/tridge/samba/samba4.svn/prefix/var/run/node2
-lock directory = /home/tridge/samba/samba4.svn/prefix/var/run/locks/node1
-include = /home/tridge/samba/samba4.svn/prefix/etc/smb.conf.cluster
diff --git a/source4/cluster/ctdb/example/unclist.txt b/source4/cluster/ctdb/example/unclist.txt
deleted file mode 100644
index 22afd6074b..0000000000
--- a/source4/cluster/ctdb/example/unclist.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-\\127.0.0.1\test
-\\127.0.0.2\test