| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Michael
(This used to be ctdb commit 79b8c87338a2d40464e87e501daae403a2f14427)
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a new configure option "--with-logdir".
logdir defaults to "${localstatedir}/log" .
It is important to have logdir configurable for debian systems,
where localstatedir is set to "/var/lib" and not "/var".
Signed-off-by: Michael Adam <obnox@samba.org>
(This used to be ctdb commit b0c6854d1e886456fabdc8f1c3bd21c89311c601)
|
|
|
|
|
|
| |
Michael
(This used to be ctdb commit b74ef95004989bcfca5fc6468a6f978a196116ca)
|
|
|
|
| |
(This used to be ctdb commit aeb09b08e060be6f833d84ba88abfb168cc5f50e)
|
|
|
|
| |
(This used to be ctdb commit 194abb41e1a0036956a9401efcae8b14ed66c532)
|
|
|
|
| |
(This used to be ctdb commit 3b8d49bf58f4145cdca08565f06cd43fd36991e1)
|
|
|
|
|
|
| |
update the makefile and rpm to install 99.routing
(This used to be ctdb commit c0b3bd8a3fa580dca5afa97c8012fccb25231373)
|
|
|
|
|
|
|
|
| |
This reverts commit dc9cd4779db4a89697731e4cf415be51067a07c1.
Conflicts:
(This used to be ctdb commit d13da2e8fe2fab619540525d98a5502a23ab7d20)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Hi,
I have attached a patch necessary as debian log dir (/var/log) is not
a subdir of VARDIR (/var/lib on rpm systems, /var/lib/ctdb on debian).
As I don't know much about autotools and friends, this patch may be
hacky.
This is part of the process to minimize diff between distributions.
(This used to be ctdb commit dc9cd4779db4a89697731e4cf415be51067a07c1)
|
|
|
|
| |
(This used to be ctdb commit d5dcb46e182466e4b51c106f2491178c23babd8d)
|
|
|
|
| |
(This used to be ctdb commit c47acc0eb2e1275a6c6fc05829bd1131d999f8fd)
|
|
|
|
| |
(This used to be ctdb commit becce6a9a759730d0c675a56516bb0a32a54c9f3)
|
|
|
|
| |
(This used to be ctdb commit 8f6cd88e74de24af8dde2b6cabb2348c4f914b99)
|
|
|
|
|
|
| |
rpmlint wont complain
(This used to be ctdb commit 9b8179ad043a80e0e18eeba427a7b7b15690d039)
|
|
|
|
| |
(This used to be ctdb commit d481f0f3d11e66d259cbc84f34cb6ae27d09e42c)
|
|
|
|
|
|
| |
Set the correct permissions for events.d/README
(This used to be ctdb commit d8953c89adc7d11d2fecc61323b7e1456b56fcaa)
|
|
|
|
|
|
| |
change flags for 41.httpd
(This used to be ctdb commit 88527a4a5423014f9911fa6061632215e153eb7e)
|
|
|
|
| |
(This used to be ctdb commit fd316deb8a9e0545c8efa1bfc8ad83962b310405)
|
|
|
|
|
|
| |
last recovery occured
(This used to be ctdb commit b86e8ccbdac044bb949c4fc2ebb27635126272a9)
|
|
|
|
|
|
| |
to the ctdbd logging functions
(This used to be ctdb commit 1306b04cd01e996fd1aa1159a9521f2ff7b06165)
|
|
|
|
|
|
|
|
|
| |
nodes into two separate files.
move the monitoring of keepalives for detecting connected/disconnected
remote nodes into ctdb_keepalive.c
(This used to be ctdb commit 23a57b20c314d5f11a433cf251eb9d9de743849a)
|
|
|
|
| |
(This used to be ctdb commit 16cba208b041c2bd8dbf801af89dcbcde486abf2)
|
|
|
|
| |
(This used to be ctdb commit b3dfdf28fa682a55d177564774cde3af8c260d8e)
|
|
|
|
|
|
|
|
|
|
| |
ctdb vacuum : vacuums all the databases, deleting any zero length
ctdb records
ctdb repack : repacks all the databases, resulting in a perfectly
packed database with no freelist entries
(This used to be ctdb commit 3532119c84ab3247051ed6ba21ba3243ae2f6bf4)
|
|
|
|
| |
(This used to be ctdb commit ded1f7903e8a6525ab1888e8c4f50c71fa23cc19)
|
|
|
|
| |
(This used to be ctdb commit 7c378d881e37db0f14e07ccba19fde1f9f4f0831)
|
|
|
|
| |
(This used to be ctdb commit cfa8ddd3ca53c0160558137cccfc7e73e46ec36c)
|
|
|
|
| |
(This used to be ctdb commit fd83f0f3eb233f22ce9b5b4afbc4f26e3c865b3c)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to have one single public ip address for the entire cluster.
this ip address is attached to lo on all nodes but only the recmaster
will respond to arp requests for this address.
the recmaster then runs an ipmux process that will pass any incoming
packets to this ip address onto the other node sin the cluster based on
the ip address of the client host
to use this feature one must
1, have one fixed ip address in the customers network attached
permanently attached to an interface
2, set CTDB_PUBLI_INTERFACE=
to specify on which interface the clients attach to the node
3, CTDB_SINGLE_PUBLI_IP=ip-address
to specify which ipaddress should be the "single public ip address"
to test with only one single client, attach several ip addresses to
the client and ping the public address from the client with different -I
options. look in network trace to see to which node the packet is
passed onto.
(This used to be ctdb commit 50d648c95e4e6d7c2867a034c2b550086d853320)
|
|
|
|
| |
(This used to be ctdb commit 3115090a0d882beca9d70761130b74bb0821f201)
|
|
|
|
| |
(This used to be ctdb commit 032a2238caf688656b00e06bf363182368e037e1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
controls to register/unregister/check a server id.
a server id consists of TYPE:VNN:ID where type is specific to the
application. VNN is the node where the serverid was registered and ID
might be a node unique identifier such as a pid or similar.
Clients can register a server id for themself at the local ctdb daemon.
When a client dissappears or when the domain socket connection for the
client drops then any and all server ids registered across that domain
socket will also be automatically removed from the store.
clients can register as many server_ids as they want at the same time
but each TYPE:VNN:ID must be globally unique.
Clients have the option of explicitely unregister a server id by using
the UNREGISTER control.
Registration and unregistration can only be done by clients to the local
daemon. clients can not register their server id to a remote node.
clients can check if a server id does exist on any ctdb node in the
network by using the check control
(This used to be ctdb commit d44798feec26147c5cc05922cb2186f0ef0307be)
|
|
|
|
| |
(This used to be ctdb commit 7007e4f2292aa96287b899d6b9e82c7b597ef58f)
|
|
|
|
|
|
|
|
| |
specific script /etc/ctdb/events.d/00.ctdb
get rid of CTDB_EVENTS_SCRIPT and --event-script
(This used to be ctdb commit 81ccfaf838e5772d4a58eb6a70224b7b39aba9f3)
|
|
|
|
|
|
| |
sure it is installed in /etc/ctdb/events.d
(This used to be ctdb commit adec62a924af5bb023f346e705515b09dbe64f21)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
patches to smnotify to make it compile under AIX.
On AIX, we need to specify $(POPT_OBJ) explicitely
On AIX we can not use the -C flag to rpcgen since it is not implemented
On AIX we must explicitely force an #include of rpc/rpc.h in the idl
file since rpcgen does not automatically add it to the generated files
(This used to be ctdb commit 8c3e7ce645ec829bc465302831cc6b23452525d6)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the data of the tree.
this callback makes it more convenient to manage cases where one might
want to insert multiple entries into the tree with the same key
rename the tree->tree pointer to tree->root since this is supposed to
point to the root of the tree
add a small test utility
(This used to be ctdb commit f6313bed9c53e0d1c36c9e08ac707e88e2a4fcd5)
|
|
|
|
|
|
| |
this code is not yet called from anywhere but is at least now compiled
(This used to be ctdb commit 4bc06e4d1e6e2ff57e33bae93613b12e7ea26bb0)
|
|
|
|
| |
(This used to be ctdb commit 157e5a0e96af133d28a36847c82efd23fb2354e3)
|
|
|
|
| |
(This used to be ctdb commit 61bc93b7b23b74c5b5c7a8e2d6bc5b75c8f73fe1)
|
|
|
|
|
|
|
|
|
| |
abort after 3 seconds
fix makefile so that we generate the header before trying to compile
smnotify.o
(This used to be ctdb commit bda310b74d6364bf88032874a1f3a2fb156f9736)
|
|
|
|
| |
(This used to be ctdb commit 2bf3e1311ed9c68eeae9e18344da9ca08f0d4297)
|
|
|
|
|
|
| |
linux and aix
(This used to be ctdb commit 6a422e53a60829c7c8d97e31e6ed14ee38cc2d2d)
|
|
|
|
|
|
| |
this should really be done by configure
(This used to be ctdb commit 5a855599288995659e81f1bdbed157bdb207f94a)
|
|
|
|
|
|
| |
add a 61.nfstickle script to make nfs failover faster
(This used to be ctdb commit da71fa874d49346d229307d424f889994a205c89)
|
|
|
|
| |
(This used to be ctdb commit 4f397c5edf4206aa33c4fe19a24557541c2f8929)
|
|
|
|
|
|
|
| |
- split out the event script code into a separate module
- get rid of the separate takeover directory
(This used to be ctdb commit 8ea2c923a3e2464200ff79bf2c3f1f89e6a93ad4)
|
|
|
|
|
|
| |
kill-tcp-connection code is available from the ctdb tool
(This used to be ctdb commit c24890ad44b535c989bd21e83d619a1bd4825834)
|
|
|
|
| |
(This used to be ctdb commit 01987b51fed0dc0b9a5e254fa734bdeb19debf6f)
|
|
|
|
|
|
|
|
|
| |
checked in so it is not lost
this tool takes a socketpair as arguments and will reset the tcp
connection
(This used to be ctdb commit bddd448740ef7f5a88b8549a3d184a94ac9fcd96)
|