1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

26 Commits

Author SHA1 Message Date
Stefan Metzmacher
9cba540514 lib/util: import fault/backtrace handling from samba.
metze

(This used to be ctdb commit 8171d66f0061fe23ed6dfef87ffe63bfc19596eb)
2010-01-20 09:44:36 +01:00
Stefan Metzmacher
b70ff7e4d1 configure: don't overwrite AC_CHECK_FUNC_EXT and AC_CHECK_LIB_EXT
This has curently no affect on the generated configure and config.h.in files.

metze

(This used to be ctdb commit 9d39ada437b02d84b70a5fea78b61bbb32f16d81)
2010-01-20 09:44:36 +01:00
Rusty Russell
af2613e16f ctdb: use mlockall, cautiously
We don't want ctdb stalling due to paging; this can be far worse than
scheduling delays.  But if we simply do mlockall(MCL_FUTURE), it
increases the risk that mmap (ie. tdb open) or malloc will fail,
causing us to abort.

This patch is a compromise: we mlock all current pages (including
10k of future stack for expansion) and then relock when a client
asks us to open a TDB.  We warn, but don't exit, if it fails.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>


(This used to be ctdb commit 82f778e85440bc713d3f87c08ddc955d3cfce926)
2009-12-16 20:57:20 +10:30
Ronnie Sahlberg
caf0e863a4 remove the obsolete ipmux component.
this is replaced by LVS since a long time

(This used to be ctdb commit dca41ec04788922ce5f4c52d346872b3e35f8cbb)
2009-05-25 12:33:52 +10:00
Sumit Bose
f13c6e8a2c fix a configure warning while checking for netfilter.h
(This used to be ctdb commit fa5afee8e9a8fba6017bc58f87bc040de7206e63)
2009-05-21 11:14:28 +10:00
Ronnie Sahlberg
0dfc35641f From: Sumit Bose <sbose@redhat.com>
fix handling of AC_INIT

(This used to be ctdb commit 1c31fea7432b870169fb839c1fbba5a33dec8e8a)
2009-05-12 08:59:49 +10:00
Ronnie Sahlberg
e6e049060f From: Sumit Bose <sbose@redhat.com>
fix handling of AC_INIT and read version from ctdb.spec

(This used to be ctdb commit f7f64f92e26a0757af210d33288162eefcd07d79)
2009-05-06 20:32:39 +10:00
Ronnie Sahlberg
9300933b6a From Sumit Bose <sbose@redhat.com>
add more 64bit plattforms to configure.ac and preserve cli settings

(This used to be ctdb commit 8a86f65826b58c2ee3f07f221a4fc82193beec81)
2009-05-06 10:29:07 +10:00
Ronnie Sahlberg
976e76f408 set libdir to ../lib64 on x86-64 platforms
(This used to be ctdb commit a9f851caec2525ccbb3a6d6283eaef52b89a4eb2)
2009-04-08 10:45:00 +10:00
Ronnie Sahlberg
0f70c47008 From Mathieu Parent <math.parent@gmail.com>
Install the pkgconfig file

(This used to be ctdb commit 7c4389cc0baa43a0ffa9fb08944c253db7885807)
2009-04-08 09:21:11 +10:00
Michael Adam
fe8a4350b0 build: print default in help for --with-logdir
Michael

(This used to be ctdb commit 9e2245b9bb795e2d757aacd706a9861a59d1638e)
2009-02-04 00:28:16 +01:00
Mathieu PARENT
f0d585217e build: Make log-directory configurable indepently of VARDIR
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)
2009-02-04 00:19:22 +01:00
Andrew Tridgell
d7f6b63f0a only link to -lipq if needed
(This used to be ctdb commit 7c378d881e37db0f14e07ccba19fde1f9f4f0831)
2007-10-15 14:44:06 +10:00
Andrew Tridgell
574db736f2 improved handling of systems without libipq.h
(This used to be ctdb commit cfa8ddd3ca53c0160558137cccfc7e73e46ec36c)
2007-10-15 14:37:54 +10:00
Ronnie Sahlberg
292e9d9109 add an initial test version of an ip multiplex tool that allows us
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)
2007-10-08 14:05:22 +10:00
Ronnie Sahlberg
e7738e9a4b add some configure magic to make it configure and build properly on
linux and aix

(This used to be ctdb commit 6a422e53a60829c7c8d97e31e6ed14ee38cc2d2d)
2007-07-14 15:16:52 +10:00
Andrew Tridgell
42d4a4a241 update configure.ac for new code layout
(This used to be ctdb commit fe819a241f3bf841e72d5df9cbaba6fc306d5abb)
2007-06-07 22:35:14 +10:00
Andrew Tridgell
7166c51204 ctdb_test.c is gone
(This used to be ctdb commit b93b5f5d28a4f2065caa38f65d6b71868cd0e9e4)
2007-06-02 18:57:21 +10:00
Andrew Tridgell
7596347844 make ctdbd realtime if possible
(This used to be ctdb commit 8852f6cca52b64a5239c83ab7c6a99ae4edb2597)
2007-05-24 14:52:10 +10:00
Andrew Tridgell
7d3870d41f AIX needs sin_len field for bind()
(This used to be ctdb commit cd6c35d4aa4f4a4cfeedf6902cda84e43d7aeba4)
2007-05-15 09:42:52 +10:00
Andrew Tridgell
24ed74a454 use the new lib/events autoconf code
(This used to be ctdb commit fec779711e8c4d6e047d792aee744e60e5a9f67c)
2007-05-05 17:18:06 +10:00
Andrew Tridgell
6c114bb1bd enabled built in popt if system doesn't have it
(This used to be ctdb commit 30c8d69267a78e1d3dea0fcc936ee2939bb7a373)
2007-05-03 05:21:14 +10:00
Andrew Tridgell
9f7ae0f891 fix configure for new test location
(This used to be ctdb commit e516ea4714ae0b84ae6073201fbe297dd49b8c51)
2007-04-10 12:51:54 +10:00
Peter Somogyi
d323249d2c Made infiniband support configurable.
Adjusted "make distclean" NOT to remove the lib folder (again).
Removed again config.h.in autogenerated file from bzr.

(This used to be ctdb commit 3c264205157c8c2af03bca0051a1fe715c8470e5)
2006-12-15 16:02:45 +01:00
Alexander Bokovoy
5f3ef90134 rely on ctdb_test.c for the moment
(This used to be ctdb commit ba7b425d01719d745fb95842dec9b19b3d310ca7)
2006-11-29 17:48:01 +03:00
Andrew Tridgell
6613b7d438 initial version
(This used to be ctdb commit 5bba7deef9b03a68d336c138e83d6d4fac35bfce)
2006-11-18 10:41:20 +11:00