1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

2122 Commits

Author SHA1 Message Date
Ronnie Sahlberg
b9e6e15cd4 we must also try to set the routes when we release an ip since during the release/10.interfaces there can actually be a window where the kernel decides to remove all addresses (before we manually add them back in 10.interfaces) during which the kernel may also decide to delete all routes since there are no gateways reachable through this interface anymore.
(This used to be ctdb commit 34633223a46caaa079da233663f9c6dcc1803f87)
2009-03-31 11:33:28 +11:00
Ronnie Sahlberg
4c1acd8472 new version 1.0.76
(This used to be ctdb commit 56b7095994d1de95e40a223ed503b5572ea9d1b9)
2009-03-25 14:52:08 +11:00
Ronnie Sahlberg
6721546b53 change the ctdb command table to allow us to describe commands which can be run independtly of the ctdb daemon.
create a new debugging command xpnn which discovers the pnn of the local node and which works even if the local daemon is not running

(This used to be ctdb commit cd78765f9400d7abce7929a2dd199f65226e7664)
2009-03-25 14:46:05 +11:00
Ronnie Sahlberg
3d16205096 iupdate the documentation for NATGW to reflect that you can now use
multiple natgw groups in one cluster

(This used to be ctdb commit e059df6d3cd81c67e5505e8ef2d6d0ef9a287b31)
2009-03-25 13:46:41 +11:00
Ronnie Sahlberg
d7ff332896 update how the NATGW configuration works.
allow the cluster to be partitioned into multiple disjoint natgw subsets

(This used to be ctdb commit 1046885cd22b5001e0251de2e536b5f6793459be)
2009-03-25 13:37:57 +11:00
Ronnie Sahlberg
fb7c5809fa web: fix typo
Conflicts:

	web/index.html

(This used to be ctdb commit 95d22e4cf265d2119f72200ab0ec708f095853df)
2009-03-24 19:02:00 +11:00
Ronnie Sahlberg
89b78ebc6b update the documentatio n with all the new commands we supprot in the
ctdb tool

(This used to be ctdb commit ae317b2013eee01c4c0a5108c03f4024bea9e313)
2009-03-24 18:59:27 +11:00
Ronnie Sahlberg
11933e030a fix the html so that mine and obnox names are shown
(This used to be ctdb commit 0840aa2bd31b2da95342dca8ff35786a3d998688)
2009-03-24 18:23:56 +11:00
Ronnie Sahlberg
689f76f0b0 Merge branch 'obnox'
(This used to be ctdb commit 972036a5d510fb9b399f1ee34a8861dee4221267)
2009-03-24 17:49:55 +11:00
Ronnie Sahlberg
e9e27bf264 new version 1.0.75
(This used to be ctdb commit 857733ae2bdfa0037af224abfabc020e2ac384c7)
2009-03-24 14:08:57 +11:00
Ronnie Sahlberg
36ec47d610 create a varient of kill_tcp_connections that only kills off the local side of a connection
(This used to be ctdb commit dc2f28f7c988364b5d45f3048be4db3e5ff113b3)
2009-03-24 14:05:31 +11:00
Ronnie Sahlberg
686adea3fe set --single-public-ip when lvs is used
(This used to be ctdb commit 292fff6eace39141591871e12f9a64e3441237be)
2009-03-24 13:51:32 +11:00
Ronnie Sahlberg
7265c713db we need to set the port properly in the parse_ip helper
(This used to be ctdb commit 43fe18d86995744ba61c7a6405b70edcb265930a)
2009-03-24 13:45:11 +11:00
Ronnie Sahlberg
4d5bb92fa9 add michael adams as one of the ctdb developers on the main ctdb webpage
(This used to be ctdb commit be50059c33845fec260ca53975d421a890303880)
2009-03-23 21:44:35 +11:00
Michael Adam
a83ed1d743 Merge commit 'ctdb-ronnie/master'
(This used to be ctdb commit 39a972b0d6d0d70282c25c54a124b67431467e77)
2009-03-23 10:07:44 +01:00
root
629d5ee1fa add a new command "ctdb scriptstatus"
this command shows which eventscripts were executed during the last monitoring cycle and the status from each eventscript.

If an eventscript timedout or returned an error we also
show the output from the eventscript.

Example :
[root@rcn1 ctdb-git]# ./bin/ctdb scriptstatus
6 scripts were executed last monitoring cycle
00.ctdb              Status:OK    Duration:0.021 Mon Mar 23 19:04:32 2009
10.interface         Status:OK    Duration:0.048 Mon Mar 23 19:04:32 2009
20.multipathd        Status:OK    Duration:0.011 Mon Mar 23 19:04:33 2009
40.vsftpd            Status:OK    Duration:0.011 Mon Mar 23 19:04:33 2009
41.httpd             Status:OK    Duration:0.011 Mon Mar 23 19:04:33 2009
50.samba             Status:ERROR    Duration:0.057 Mon Mar 23 19:04:33 2009
   OUTPUT:ERROR: Samba tcp port 445 is not responding

Add a new helper function "switch_from_server_to_client()" which both
the recovery daemon can use as well as in the child process we start for running the actual eventscripts.

Create several new controls, both for the eventscript child process to inform the master daemon of the current status of the scripts as well as for the ctdb tool to extract this information from the runninc daemon.

(This used to be ctdb commit c98f90ad61c9b1e679116fbed948ddca4111968d)
2009-03-23 19:07:45 +11:00
root
dc05c1b80c create a helper function that converts a ctdb instance in daemon mode to become
a ctdb client instance.

use this from the recovery daemon child process to switch to client mode
and connect back to the main daemon

(This used to be ctdb commit 16f31786a031255ab5b3099a0a3c745de973347a)
2009-03-23 12:37:30 +11:00
Ronnie Sahlberg
4d2195c503 The wbinfo --sequence command has been depreciated in favor of the new
--online-status command

(This used to be ctdb commit b6e34503ac094a274a569a69e3d93d92ad911f4d)
2009-03-19 10:43:57 +11:00
Ronnie Sahlberg
293a3f1158 update the natgw eventscript and documentation
(This used to be ctdb commit 95d8ddbc2dd0b159e8df003502c3c336668d2c41)
2009-03-19 10:17:44 +11:00
root
9bf792d704 redo how the natgw is done. just use a default route with a high metric instead of fancy policyrouting
(This used to be ctdb commit f03bd2b3d906dac9fb876dca54535d22e9cf1b9e)
2009-03-18 19:19:49 +11:00
Ronnie Sahlberg
c9d7c06b61 add documentation for the NAT-GW feature
(This used to be ctdb commit b6f7cddc68508e52bc65b357b0b77258ae96362a)
2009-03-18 10:05:00 +11:00
root
f037e881a2 change the NATGW_ example in sysconfig to make it more realistic
(This used to be ctdb commit 742283a8f8da7c614ee3a30d48c430e3a3bceeb9)
2009-03-18 09:33:58 +11:00
root
32391ec844 NAT-GW updates. Describe the functionality in the sysconfig file
(This used to be ctdb commit 4c598ab6f8e9b826d437b9ab869c4490f7c4faba)
2009-03-17 07:35:53 +11:00
Ronnie Sahlberg
5804af9a11 new version 1.0.74
(This used to be ctdb commit 0772190203d501a39072f16948604742d7d59a5e)
2009-03-16 09:27:56 +11:00
Ronnie Sahlberg
869941c0cf From C Cowan, AIX needs to set sockaddr.sa_len to a consistent value for
the address type used or the connect() call will fail.

(This used to be ctdb commit d416c0e1e57a42f7ab52de903dbd8b5e111decfe)
2009-03-16 09:21:24 +11:00
root
4088e0aceb make sure we can collect proper mmfs data
(This used to be ctdb commit 76d655f9aa3ebd39e7a40d0bbd85e40d08f3e90b)
2009-03-12 12:33:19 +11:00
Michael Adam
fd71213717 ctdb.sysconfig: add CTDB_MANAGES_HTTPD comment section
Michael

(This used to be ctdb commit ccaf9ebe062127124cf23e69dcd2ac2edda40020)
2009-03-10 00:21:04 +01:00
Michael Adam
eac9425820 events.d/50.samba: allow CTDB_SERVICE_{SMB,NMB,WINBIND} to be overriden from sysconfig
Michael

(This used to be ctdb commit b1aba6651143ae1c85b24d78b67c760795ff5bff)
2009-03-09 00:20:30 +01:00
Michael Adam
78294c4f3e ctdb.sysconfig: add CTDB_INIT_STYLE with explanation
Michael

(This used to be ctdb commit 8518c9e0ffec44677d45f60e63936a831d62ab20)
2009-03-09 00:08:26 +01:00
Andrew Tridgell
7e9b69c55d Merge commit 'ronnie/master'
(This used to be ctdb commit 0f2664a82128e38ac49c6e8e784129b779616a27)
2009-03-06 11:26:20 +11:00
Michael Adam
673d5a85e0 Merge commit 'ctdb-ronnie/master'
(This used to be ctdb commit 36709e4325fe9a0f377e8e79741741ded4e7f7b0)
2009-03-04 21:26:25 +01:00
Ronnie Sahlberg
e2b67ffe98 new version 1.0.73
(This used to be ctdb commit ecf26af22245d0f55aded50e8768b0c21495f98c)
2009-03-04 07:25:26 +11:00
root
798553a9dc Add a variable CTDB_NFS_SKIP_SHARE_CHECK to sysconfig that can disable the check that all shares are accessable.
This can take very long if there are very many shares and is in that case better to implement in a separate cronjob than in ctdb eventscript

(This used to be ctdb commit 432604a1435cd2b5a7178fb5aedf1d4b61bffeb9)
2009-03-04 07:21:55 +11:00
Michael Adam
14dc0db232 Merge commit 'ctdb-ronnie/master'
(This used to be ctdb commit f0e3cdde7bd35bb586a46c31609398b7d4b05a26)
2009-02-28 03:09:13 +01:00
Michael Adam
839dec1b12 move common code of system_linux.c and system_aix.c into new system_common.c
Michael

(This used to be ctdb commit 124874847e5e03ce2a44bddfe778f01dfb0a7a03)
2009-02-28 03:08:31 +01:00
Ronnie Sahlberg
a590999f4c From Sumit Bose <sbose@redhat.com>
Fix to the makefile dependencies for smnotify so that make -j works

(This used to be ctdb commit ef9dc810c4309e8eba18d015c73c1b5d0760a4e8)
2009-02-25 09:13:16 +11:00
root
c72c15c19a make it possible to disable checking all samba shares.
this is a timeconsuming process and might not be feasible to perform if there are very many thousand shares

(This used to be ctdb commit 051ae5f3c13892b860818eac803d348f09845dc6)
2009-02-20 10:58:34 +11:00
Michael Adam
d51a6313af Merge commit 'ctdb-ronnie/master'
(This used to be ctdb commit 7412c6706c2d8ec668d0a6a50471db369f3dbf2b)
2009-02-19 23:51:23 +01:00
Ronnie Sahlberg
697e9b1a3a new version 1.0.72
(This used to be ctdb commit e1be8cb2dc32f56eabd537b658b47929818b8d01)
2009-02-18 13:22:26 +11:00
Ronnie Sahlberg
5c7570b103 Merge branch 'martins'
(This used to be ctdb commit fe4eea45c6b5702a794424037c3f2ab4241d5e5e)
2009-02-18 13:10:03 +11:00
Michael Adam
d6c5f65572 Merge commit 'ctdb-ronnie/master'
(This used to be ctdb commit e1c90b12290c682c2cba90e9afa3a09be014e20e)
2009-02-10 00:28:08 +01:00
Andrew Tridgell
a0c86e4013 Merge commit 'ronnie/master'
(This used to be ctdb commit 1a110993af1706e0c5df500fa7d14e16c0668372)
2009-02-09 10:53:47 +11:00
Ronnie Sahlberg
be926a4640 add a licence file
(This used to be ctdb commit 59a04a50e64aae0a89b165d0428e23a8bcf8eb24)
2009-02-07 08:10:34 +11:00
root
e7de72a1ac use netstat to check first and only fall back to netcat if netstat is unavailable
(This used to be ctdb commit dfb16ce9ed65048d30109851737a9075d071ecdb)
2009-02-05 14:44:46 +11:00
Mathieu PARENT
bab2e76744 correct ctdbd(1) manpage warning
Signed-off-by: Michael Adam <obnox@samba.org>

(This used to be ctdb commit 2f42429f6996e98c9bfad49eab9fa23e85d7bec2)
2009-02-04 00:50:46 +01:00
Mathieu PARENT
c3a44fd815 smnotify: fix popt.h include to allow use of system lib
Signed-off-by: Michael Adam <obnox@samba.org>

(This used to be ctdb commit e391bde5ac743956fb30ede65030973a1f13dae5)
2009-02-04 00:48:56 +01:00
Michael Adam
0405ec036d events 41.httpd: support suse and ubuntu/debian systems for managing apache
The httpd service on suse and ubuntu/debian systems is usually
called "apache2" nowadays.

Note: There are older installs with Apache 1.3 out there, in which case
the service is called "apache". An extra check for these installs could
be useful as a sequel to this patch...

Michael

(This used to be ctdb commit b9e50e3416fecef6a881be3f1b91be977299293f)
2009-02-04 00:42:33 +01: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
Michael Adam
82b8bf4179 make: add a "showlayout" target for diagnostics
Michael

(This used to be ctdb commit 79b8c87338a2d40464e87e501daae403a2f14427)
2009-02-04 00:22:01 +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