1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/ctdb/direct
Andrew Tridgell 578b2a585d - make more options configurable
- fixed some warnings

(This used to be ctdb commit e08bb371827b14a80a131ce8e83145cd468e7e1f)
2007-05-29 16:02:02 +10:00
..
4nodes.txt use /etc/services for ctdb 2007-05-29 15:15:00 +10:00
ctdbd_test.c - make more options configurable 2007-05-29 16:02:02 +10:00
ctdbd.c default log file to reasonable location 2007-05-29 15:26:38 +10:00
nodes.txt use /etc/services for ctdb 2007-05-29 15:15:00 +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.