1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/ctdb/direct
2007-04-19 12:48:19 +10:00
..
ctdbd_test.c the checks for srcnode and destnode from the client are redundant since the daemon will sort these out itself before it sends the call of to either the local handler or a remote daemon 2007-04-19 12:48:19 +10:00
ctdbd.c moved cmdline.c to common code 2007-04-17 22:16:50 +10:00
ctdbd.sh ctdbd does no longer take a --daemon parameter since we no longer do non-daemon mode 2007-04-19 10:24:11 +10:00
nodes.txt create a standalone ctdb daemon and a script ./direct/ctdbd.sh to start two such daemons in a 2 node cluster. 2007-04-11 18:54:22 +10:00
README create a standalone ctdb daemon and a script ./direct/ctdbd.sh to start two such daemons in a 2 node cluster. 2007-04-11 18:54:22 +10:00

Run ./direct/ctdbd.sh to start a cluster with two ctdb nodes
They will listen for clients on the unix domain sockets
/tmp/ctdb.socket.127.0.0.1
/tmp/ctdb.socket.127.0.0.2

In order for this to work you must have an interface with the address 127.0.0.2 available.
Just create this as an alias for loopback.


Then run ./direct/ctdbd_test to connect a client to the ctdbd daemon on /tmp/ctdb.socket.127.0.0.1 and do some commands to it across the domain socket.