]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
18 years agomore portability tweaks in the init script
Andrew Tridgell [Sun, 3 Jun 2007 07:53:26 +0000 (17:53 +1000)] 
more portability tweaks in the init script
(This used to be ctdb commit 83a1c79e95af93a9ccfe78556ac5692c0315a3e4)

18 years agofixed location of init.d directory to work on SLES and RHEL
Andrew Tridgell [Sun, 3 Jun 2007 07:39:11 +0000 (17:39 +1000)] 
fixed location of init.d directory to work on SLES and RHEL
(This used to be ctdb commit 962fa046c9ddde509690408030896d3335609341)

18 years agodoc updates
Andrew Tridgell [Sun, 3 Jun 2007 06:33:08 +0000 (16:33 +1000)] 
doc updates
(This used to be ctdb commit 1ccb6eca3f4846c4d77d48a7a13f2d5913f8cf80)

18 years agoweb page tidy ups
Andrew Tridgell [Sun, 3 Jun 2007 05:56:23 +0000 (15:56 +1000)] 
web page tidy ups
(This used to be ctdb commit 9a9a0b356329905e08e843a99fd1d82a709e8986)

18 years agomerge from ronnie
Andrew Tridgell [Sun, 3 Jun 2007 04:41:28 +0000 (14:41 +1000)] 
merge from ronnie
(This used to be ctdb commit 3d3b2eac028dc7d54e7ef0987a5f4063c4dcbe5a)

18 years agodon't start nfs services unless the relevant directories are available
Andrew Tridgell [Sun, 3 Jun 2007 04:39:27 +0000 (14:39 +1000)] 
don't start nfs services unless the relevant directories are available
(This used to be ctdb commit e0468d61119b6581f5ec458641568d03714a5786)

18 years agotest commit
Andrew Tridgell [Sun, 3 Jun 2007 03:21:07 +0000 (13:21 +1000)] 
test commit
(This used to be ctdb commit 757affaa3430723136b3f2520d3893d79c6c1bbb)

18 years agomention that ctdb offers cross cluster messaging to applications
Ronnie Sahlberg [Sun, 3 Jun 2007 01:48:13 +0000 (11:48 +1000)] 
mention that ctdb offers cross cluster messaging to applications

(This used to be ctdb commit 7e51fdd07760bba894578d8e07873894340eb981)

18 years agomerged with tridge
Ronnie Sahlberg [Sun, 3 Jun 2007 01:40:50 +0000 (11:40 +1000)] 
merged with tridge

update to the web page for ctdb

(This used to be ctdb commit 1ab2c05da217d80fe782bd3c8fcd9549d688dc7d)

18 years agodo a full restart in init cron call
Andrew Tridgell [Sun, 3 Jun 2007 00:29:57 +0000 (10:29 +1000)] 
do a full restart in init cron call
(This used to be ctdb commit ed181dce8f307bd8f36de42351d04f39b2396836)

18 years agofixed a race condition in the handling of the recovery lock
Andrew Tridgell [Sun, 3 Jun 2007 00:29:14 +0000 (10:29 +1000)] 
fixed a race condition in the handling of the recovery lock
(This used to be ctdb commit 3b98c5ad23662259b0eed399ab0c8037cf9b2b0b)

18 years agowhen we get a dmaster error, show the database id in the log so we can
Ronnie Sahlberg [Sat, 2 Jun 2007 23:58:51 +0000 (09:58 +1000)] 
when we get a dmaster error,   show the database id in the log so we can
track which db it happens for

(This used to be ctdb commit 3aedb67f4adf769b605b43f9d39d34ef17b0085d)

18 years agomerge from tridge
Ronnie Sahlberg [Sat, 2 Jun 2007 22:32:29 +0000 (08:32 +1000)] 
merge from tridge

(This used to be ctdb commit a5cdd8b2d91478393a7f0e760d6bbe5eb93a989c)

18 years agodocs on how to use statd-callout
Andrew Tridgell [Sat, 2 Jun 2007 09:45:06 +0000 (19:45 +1000)] 
docs on how to use statd-callout
(This used to be ctdb commit 4a75111b4f3f93dc42c9ced2d23f3cc933712017)

18 years agomove config files to config/ directory
Andrew Tridgell [Sat, 2 Jun 2007 09:40:07 +0000 (19:40 +1000)] 
move config files to config/ directory
(This used to be ctdb commit f95de519b885c8e1f40df0cda70fd796e479a22a)

18 years agoremoved some old cruft
Andrew Tridgell [Sat, 2 Jun 2007 09:23:48 +0000 (19:23 +1000)] 
removed some old cruft
(This used to be ctdb commit 44040d5ecabcd32ee26c0285e3786dfb9b4f8126)

18 years agoctdb_test.c is gone
Andrew Tridgell [Sat, 2 Jun 2007 08:57:21 +0000 (18:57 +1000)] 
ctdb_test.c is gone
(This used to be ctdb commit b93b5f5d28a4f2065caa38f65d6b71868cd0e9e4)

18 years agoadd an easy way to setup ctdb to start/stop samba
Andrew Tridgell [Sat, 2 Jun 2007 08:51:05 +0000 (18:51 +1000)] 
add an easy way to setup ctdb to start/stop samba
(This used to be ctdb commit b0d9f427d83aff5b9a5c54b7b7c9d45d418e2352)

18 years agomerge from ronnie
Andrew Tridgell [Sat, 2 Jun 2007 08:08:16 +0000 (18:08 +1000)] 
merge from ronnie
(This used to be ctdb commit dcb43edad5f62d073d821cc67d1e4cd58811297c)

18 years agofix broken link to the CTDB setup page
Ronnie Sahlberg [Sat, 2 Jun 2007 06:50:58 +0000 (16:50 +1000)] 
fix broken link to the CTDB setup page

(This used to be ctdb commit cf762c18aac8b9a137377d9ee9022c6d9a57452d)

18 years agoupdate the evens scripts for nfs and nfslock to honour CTDB_MANAGES_NFS
Ronnie Sahlberg [Sat, 2 Jun 2007 06:44:15 +0000 (16:44 +1000)] 
update the evens scripts for nfs and nfslock to honour CTDB_MANAGES_NFS
which is set in /etc/sysconfig/nfs

(This used to be ctdb commit bf475269231a6129f88b37f4da69e06efcf4ed77)

18 years agoSTATD_SHARED_DIRECTORY should be define din the nfs sysconfig file and
Ronnie Sahlberg [Sat, 2 Jun 2007 06:33:17 +0000 (16:33 +1000)] 
STATD_SHARED_DIRECTORY should be define din the nfs sysconfig file and
not the ctdb sysconfig file since this variable has nothing at all to do
with ctdb

(This used to be ctdb commit d17073b7da5ecba1b93a5ed4fbdf86bf052fdc90)

18 years agomake test now works again
Andrew Tridgell [Sat, 2 Jun 2007 03:31:36 +0000 (13:31 +1000)] 
make test now works again
(This used to be ctdb commit 439d87bbb9840f82937e51aff4fe2b80160878c6)

18 years agofirst step towards fixing "make test" with the new daemon system
Andrew Tridgell [Sat, 2 Jun 2007 03:16:11 +0000 (13:16 +1000)] 
first step towards fixing "make test" with the new daemon system
(This used to be ctdb commit f95f7e4c93dea482e6cf0614b5415229a7c9f3fb)

18 years ago- make specification of a recovery lock file compulsory
Andrew Tridgell [Sat, 2 Jun 2007 01:36:42 +0000 (11:36 +1000)] 
- make specification of a recovery lock file compulsory
- die if someone other than the recmaster can get the recovery lock

(This used to be ctdb commit a827d0d0e430ca8ad5d521367e45097185492869)

18 years ago- moved cmdline options that are only relevant to ctdbd into ctdbd.c
Andrew Tridgell [Sat, 2 Jun 2007 00:03:28 +0000 (10:03 +1000)] 
- moved cmdline options that are only relevant to ctdbd into ctdbd.c

- fixed a valgrind error on failing to send a control

- don't mark node dead when already disconnected

- moved node list lock code into common code

(This used to be ctdb commit bcc0432d0fea7ef223f82ccee81cf35c18144b1b)

18 years agoanother place we need to cope with the strange epoll fork semantics
Andrew Tridgell [Sat, 2 Jun 2007 00:01:17 +0000 (10:01 +1000)] 
another place we need to cope with the strange epoll fork semantics
(This used to be ctdb commit cb1eeec15e61a7eb401e9e65306642343d5deb6e)

18 years agodisable realtime scheduler in event scripts
Andrew Tridgell [Fri, 1 Jun 2007 22:46:49 +0000 (08:46 +1000)] 
disable realtime scheduler in event scripts
(This used to be ctdb commit 56225ac6fdfe754289bc7d5e0fc8d21c81a7aa8e)

18 years ago- make calling of recovered event script async
Andrew Tridgell [Fri, 1 Jun 2007 22:41:19 +0000 (08:41 +1000)] 
- make calling of recovered event script async
- shutdown sockets before calling shutdown script

(This used to be ctdb commit c5e099feef94a014a77742b6cc1d0afe78ef9da9)

18 years agoput nfs events in spec and Makefile.in
Andrew Tridgell [Fri, 1 Jun 2007 14:11:53 +0000 (00:11 +1000)] 
put nfs events in spec and Makefile.in
(This used to be ctdb commit 07f03c61c621d8428ecdb56ee08ba895a57ed9c0)

18 years agoadded nfs event script
Andrew Tridgell [Fri, 1 Jun 2007 14:10:22 +0000 (00:10 +1000)] 
added nfs event script
(This used to be ctdb commit a708a635a1be355d2e8d382166f58f65f669c8ea)

18 years agodon't strictly need netcat
Andrew Tridgell [Fri, 1 Jun 2007 13:33:01 +0000 (23:33 +1000)] 
don't strictly need netcat
(This used to be ctdb commit 992eed38fc6c474c99ce7242e7b7b35bc1e4bd7b)

18 years agomake the packaging much more portable - tested on SLES9 and RHEL4
Andrew Tridgell [Fri, 1 Jun 2007 13:25:33 +0000 (23:25 +1000)] 
make the packaging much more portable - tested on SLES9 and RHEL4
(This used to be ctdb commit 9521e3eee42b11303a2d6e0f5c05d0c0de4292d8)

18 years ago- make symlink relative in install
Andrew Tridgell [Fri, 1 Jun 2007 11:20:05 +0000 (21:20 +1000)] 
- make symlink relative in install
- include ctdb functions in samba and nfslock event scripts

(This used to be ctdb commit 08e2278069346b1fc49774603aa26c68222cf67f)

18 years agotidy up the install somewhat
Andrew Tridgell [Fri, 1 Jun 2007 11:10:49 +0000 (21:10 +1000)] 
tidy up the install somewhat
(This used to be ctdb commit 07e202ae8451ffa67c40973625996224cfd4e158)

18 years agosplit out events for each subsystem separately
Andrew Tridgell [Fri, 1 Jun 2007 10:54:26 +0000 (20:54 +1000)] 
split out events for each subsystem separately
(This used to be ctdb commit 03c629a72f234dcc783fa1085e7edba09597c241)

18 years agouse a subdirectory for ctdb state files
Andrew Tridgell [Fri, 1 Jun 2007 09:16:58 +0000 (19:16 +1000)] 
use a subdirectory for ctdb state files
(This used to be ctdb commit 71ebf272be42e313715f0f100be9f5567127eb73)

18 years agomake the running of the takeover and release event scripts async, to prevent outages...
Andrew Tridgell [Fri, 1 Jun 2007 09:05:41 +0000 (19:05 +1000)] 
make the running of the takeover and release event scripts async, to prevent outages due to slow scripts
(This used to be ctdb commit 4189be97eee7ab2a50335c860f2fcd9566667d01)

18 years agoconvert ctdbd.sh tests to use an event script
Andrew Tridgell [Fri, 1 Jun 2007 09:04:51 +0000 (19:04 +1000)] 
convert ctdbd.sh tests to use an event script
(This used to be ctdb commit b3eff804fe59238ed37cd692cc04785089a89dc3)

18 years agobetter download instructions
Andrew Tridgell [Fri, 1 Jun 2007 07:16:19 +0000 (17:16 +1000)] 
better download instructions
(This used to be ctdb commit f50298262e3cc2896d7d098efa6601c915d3feca)

18 years agoadded package download
Andrew Tridgell [Fri, 1 Jun 2007 06:07:13 +0000 (16:07 +1000)] 
added package download
(This used to be ctdb commit fa0d8efe3298a38c52e6be1116bd1b4c8c959f76)

18 years agomerge initial web site from ronnie
Andrew Tridgell [Fri, 1 Jun 2007 05:33:45 +0000 (15:33 +1000)] 
merge initial web site from ronnie
(This used to be ctdb commit ee0b29b0625a1202e4af5a2ab3b19ca0b48e8e99)

18 years agoadd a developers section
Ronnie Sahlberg [Fri, 1 Jun 2007 05:31:23 +0000 (15:31 +1000)] 
add a developers section

(This used to be ctdb commit af90c7b3b80c808ad3047175cd09031c0282538d)

18 years agoinitial webpage
Ronnie Sahlberg [Fri, 1 Jun 2007 05:23:57 +0000 (15:23 +1000)] 
initial webpage

(This used to be ctdb commit b24b48fe6e9da38036452e82a1b3d6311ebaa6f4)

18 years agolog dates/time in event startup messages
Andrew Tridgell [Fri, 1 Jun 2007 05:23:16 +0000 (15:23 +1000)] 
log dates/time in event startup messages
(This used to be ctdb commit 60a2f704f2e0544035778d00e91041e09351ed8f)

18 years agoadded CTDB_WAIT_DIRECTORIES support
Andrew Tridgell [Fri, 1 Jun 2007 03:50:18 +0000 (13:50 +1000)] 
added CTDB_WAIT_DIRECTORIES support
(This used to be ctdb commit fa888e8b1715d7460f5718d3e1fe17e4caaa15c3)

18 years agomerged from ronnie
Andrew Tridgell [Fri, 1 Jun 2007 03:29:11 +0000 (13:29 +1000)] 
merged from ronnie
(This used to be ctdb commit 21a9cf2883deb63ced58a4eb066d2d2d08cb5394)

18 years agoit is -f not -x to check if a file exists
Ronnie Sahlberg [Fri, 1 Jun 2007 03:26:14 +0000 (13:26 +1000)] 
it is -f   not -x to check if a file exists

(This used to be ctdb commit 52457d5e811f91c051ce0fa32739667a1d21862a)

18 years ago- create /etc/ctdb/taken_ips and /etc/ctdb/changed_ips analog to the
Ronnie Sahlberg [Fri, 1 Jun 2007 03:14:05 +0000 (13:14 +1000)] 
- create /etc/ctdb/taken_ips and /etc/ctdb/changed_ips analog to the
existing /etc/ctdb/released_ips

- only call the statd-callout script if the ips have changed  and call
it with a "notify" argument.    we need to restart nfslock service in
both cases

- change statd-callout to explicitely restart the lock manager and statd
when "notify" is called.   copy the state directory for each held ip
from shared storage to /tmp then use sm-notify to send notifications to
all monitored clients

(This used to be ctdb commit 800f15a27af885a3f83430d3bc411cc72ac40e86)

18 years agonew branch from tridges tree
Ronnie Sahlberg [Fri, 1 Jun 2007 03:03:53 +0000 (13:03 +1000)] 
new branch from tridges tree

(This used to be ctdb commit 782ccb0ca54b6b25794f8b52e72a68838727b6a9)

18 years agoctdb is GPL not LGPL
Andrew Tridgell [Thu, 31 May 2007 03:50:53 +0000 (13:50 +1000)] 
ctdb is GPL not LGPL
(This used to be ctdb commit 8624378010d1c2a1438e1e701339dfba7276f960)

18 years agoif there is no node available to take an IP, don't consider that an error
Andrew Tridgell [Thu, 31 May 2007 01:22:43 +0000 (11:22 +1000)] 
if there is no node available to take an IP, don't consider that an error
(This used to be ctdb commit fee6561626c7070418bc8f4d610a728329ac4bcc)

18 years agobetter location for statd-callout
Andrew Tridgell [Thu, 31 May 2007 01:14:07 +0000 (11:14 +1000)] 
better location for statd-callout
(This used to be ctdb commit cc208c447b732aeeaefd6a889711d3cd83ea128e)

18 years agoadded hooks to make nfs statd behave correctly on failover
Andrew Tridgell [Thu, 31 May 2007 01:09:45 +0000 (11:09 +1000)] 
added hooks to make nfs statd behave correctly on failover
(This used to be ctdb commit a1ee84fc47892b6c18d417ccf714211fcb07952e)

18 years agomerge lib/replace from samba4
Andrew Tridgell [Wed, 30 May 2007 08:06:57 +0000 (18:06 +1000)] 
merge lib/replace from samba4
(This used to be ctdb commit d1a0bcbe331b05ad7a3f5f7a33e4c9b5242c43f2)

18 years agotell newly connected nodes about any tcp tickle records that we have that they don...
Andrew Tridgell [Wed, 30 May 2007 06:37:39 +0000 (16:37 +1000)] 
tell newly connected nodes about any tcp tickle records that we have that they don't have
(This used to be ctdb commit 71dd59c1662d429d260c25090e0ca26db48d4075)

18 years agouse our own netmask when deciding if we should takeover a IP, not the other nodes
Andrew Tridgell [Wed, 30 May 2007 06:11:39 +0000 (16:11 +1000)] 
use our own netmask when deciding if we should takeover a IP, not the other nodes
- check if ctdb dies while waiting for the startup event

(This used to be ctdb commit 8b59f73c527a6d0a8abe8030dc3cbbc4329657be)

18 years agoclose sockets when we exec scripts
Andrew Tridgell [Wed, 30 May 2007 05:43:25 +0000 (15:43 +1000)] 
close sockets when we exec scripts
(This used to be ctdb commit 0fac2164db4279db2d7d376a34be05b890304087)

18 years agowe need to listen at transport initialise stage to find our own node number
Andrew Tridgell [Wed, 30 May 2007 04:46:14 +0000 (14:46 +1000)] 
we need to listen at transport initialise stage to find our own node number
(This used to be ctdb commit 4a9455dfbe95e53884b46ad26dba0c33e3432ba9)

18 years ago- use a CTDB_BROADCAST_ALL for the attach message so it goes to currently disconnecte...
Andrew Tridgell [Wed, 30 May 2007 04:35:22 +0000 (14:35 +1000)] 
- use a CTDB_BROADCAST_ALL for the attach message so it goes to currently disconnected nodes
- start node monitoring only after transport starts
- check if a node is already disconnected in the node dead function

(This used to be ctdb commit b81ab6d507797282237768380c6f0e5a4c6519a5)

18 years agodon't start the transport connecting to the other nodes until after the startup event...
Andrew Tridgell [Wed, 30 May 2007 03:26:50 +0000 (13:26 +1000)] 
don't start the transport connecting to the other nodes until after the startup event script has run
(This used to be ctdb commit afca3cc74211aa2e18b1f74d36b2add8dffcfdc7)

18 years ago- nice messages while waiting for tcp services to come up
Andrew Tridgell [Wed, 30 May 2007 02:37:03 +0000 (12:37 +1000)] 
- nice messages while waiting for tcp services to come up
- added more comments to sysconfig file

(This used to be ctdb commit 9cbe7ad147a73cd6594fa7bcee0544fd986ad8c0)

18 years agowait for local tcp services like smbd to come up before allowing ctdb to start talkin...
Andrew Tridgell [Wed, 30 May 2007 02:27:58 +0000 (12:27 +1000)] 
wait for local tcp services like smbd to come up before allowing ctdb to start talking to other nodes
(This used to be ctdb commit 04eea084ebf1710ea66ccb03ac661e3b2f58d96f)

18 years agofixed onnode symlink install
Andrew Tridgell [Wed, 30 May 2007 01:17:52 +0000 (11:17 +1000)] 
fixed onnode symlink install
(This used to be ctdb commit fd6a474fb52263512a0496ec8c9dc5443902d45a)

18 years agosupport ctdb status -n all
Andrew Tridgell [Wed, 30 May 2007 01:12:50 +0000 (11:12 +1000)] 
support ctdb status -n all
(This used to be ctdb commit 8ff2ea29fc60a1e9854bf0c59c360e29f35d3b69)

18 years agomoved onnode into ctdb from s3 examples/ctdb
Andrew Tridgell [Wed, 30 May 2007 01:00:43 +0000 (11:00 +1000)] 
moved onnode into ctdb from s3 examples/ctdb
(This used to be ctdb commit a3fdaebf1a90ff3c2843a592f6c657a8eae42975)

18 years agoauto-restart NFS if its running when we release an IP
Andrew Tridgell [Wed, 30 May 2007 00:21:16 +0000 (10:21 +1000)] 
auto-restart NFS if its running when we release an IP
(This used to be ctdb commit 2e1e1e8e34bf4c15decbbc8f0ca88004a2ed67df)

18 years agosamba3 needs ctdb_private.h installed to build
Andrew Tridgell [Tue, 29 May 2007 12:53:28 +0000 (22:53 +1000)] 
samba3 needs ctdb_private.h installed to build
(This used to be ctdb commit 3df7a4b3cd08efbf5d33379b8c1c5f5bee14954b)

18 years agoflush any local arp entries for the given ip on add/del
Andrew Tridgell [Tue, 29 May 2007 09:34:04 +0000 (19:34 +1000)] 
flush any local arp entries for the given ip on add/del
(This used to be ctdb commit 814decd66423e955b443f0729ceec581c0d0c0e3)

18 years agodon't block SIGCHLD, or we lose return values from system() !
Andrew Tridgell [Tue, 29 May 2007 07:23:29 +0000 (17:23 +1000)] 
don't block SIGCHLD, or we lose return values from system() !
nicer log messages from events script

(This used to be ctdb commit 5ed2b496675a6a47d7ad87519a97bc4f293e6730)

18 years agofixed system() return handling
Andrew Tridgell [Tue, 29 May 2007 07:00:08 +0000 (17:00 +1000)] 
fixed system() return handling
(This used to be ctdb commit 0fa75d7429f6f6e58f98c3cebccf6014eb3b474e)

18 years agofixed broadcast controls from the command line
Andrew Tridgell [Tue, 29 May 2007 06:34:50 +0000 (16:34 +1000)] 
fixed broadcast controls from the command line
(This used to be ctdb commit 54464e0b5123265780013a0a46c8b94709d227dc)

18 years agofixed shell syntax in events script
Andrew Tridgell [Tue, 29 May 2007 06:28:18 +0000 (16:28 +1000)] 
fixed shell syntax in events script
(This used to be ctdb commit 629435807e7927a0e1524cd3e4b2aa216a651e2c)

18 years ago- ignore blank lines at end of lists
Andrew Tridgell [Tue, 29 May 2007 06:23:47 +0000 (16:23 +1000)] 
- ignore blank lines at end of lists
- rpm tweaks
(This used to be ctdb commit 3506464fa914c5aad10fe22283563d021ca45ca0)

18 years ago- make more options configurable
Andrew Tridgell [Tue, 29 May 2007 06:02:02 +0000 (16:02 +1000)] 
- make more options configurable
- fixed some warnings

(This used to be ctdb commit e08bb371827b14a80a131ce8e83145cd468e7e1f)

18 years agomore build tweaks
Andrew Tridgell [Tue, 29 May 2007 05:52:03 +0000 (15:52 +1000)] 
more build tweaks
(This used to be ctdb commit d4c3380c7a9d332311c5d03ba151e7f2f90796a3)

18 years agoupdate packaging for new defaults
Andrew Tridgell [Tue, 29 May 2007 05:36:42 +0000 (15:36 +1000)] 
update packaging for new defaults
(This used to be ctdb commit 68f167d74fdc3b55c416ed1f7054817b51f69899)

18 years agodefault log file to reasonable location
Andrew Tridgell [Tue, 29 May 2007 05:26:38 +0000 (15:26 +1000)] 
default log file to reasonable location
(This used to be ctdb commit 36b0a43c5d58d8171c1340603486e64051d696ac)

18 years agouse autoconf for more paths
Andrew Tridgell [Tue, 29 May 2007 05:20:41 +0000 (15:20 +1000)] 
use autoconf for more paths
(This used to be ctdb commit b765a391632621dfe3b129b85782e87f586ae2eb)

18 years agouse /etc/services for ctdb
Andrew Tridgell [Tue, 29 May 2007 05:15:00 +0000 (15:15 +1000)] 
use /etc/services for ctdb
(This used to be ctdb commit 64bf6964ff33320c5351337c7f8ed4da5bd71275)

18 years agomerge from jim
Andrew Tridgell [Tue, 29 May 2007 04:46:29 +0000 (14:46 +1000)] 
merge from jim
(This used to be ctdb commit a41acd1835af91176a2de1c251a8709dc42b65ac)

18 years agofixed more warnings on 64 bit boxes
Andrew Tridgell [Tue, 29 May 2007 03:58:41 +0000 (13:58 +1000)] 
fixed more warnings on 64 bit boxes
(This used to be ctdb commit 2f6eae476203f8a8b28e083553204c01f224c8a5)

18 years agofixed some debug messages
Andrew Tridgell [Tue, 29 May 2007 03:48:30 +0000 (13:48 +1000)] 
fixed some debug messages
(This used to be ctdb commit 037f0149c0c0e65af0a1669b9a52586129e4b48f)

18 years agoclean shutdown in ctdb - release all our IPs
Andrew Tridgell [Tue, 29 May 2007 03:33:59 +0000 (13:33 +1000)] 
clean shutdown in ctdb - release all our IPs
(This used to be ctdb commit 2f196cb6a86eb85205d7de1c4cadd4e1e701c06f)

18 years agodon't need maskbits to ip addr del
Andrew Tridgell [Tue, 29 May 2007 03:21:37 +0000 (13:21 +1000)] 
don't need maskbits to ip addr del
(This used to be ctdb commit 93125b460a44934f30bb995ff3c5365ac5a263d5)

18 years agofixed syntax of /sbin/ip
Andrew Tridgell [Tue, 29 May 2007 03:09:15 +0000 (13:09 +1000)] 
fixed syntax of /sbin/ip
(This used to be ctdb commit 9791901dda000fbef6e520531f39ead575531721)

18 years agomade events script executable
Andrew Tridgell [Tue, 29 May 2007 03:04:52 +0000 (13:04 +1000)] 
made events script executable
(This used to be ctdb commit 54934884ae2bfe8b7d155aa22ee90b2d0a674def)

18 years agoadded an example ctdb event script
Andrew Tridgell [Tue, 29 May 2007 03:01:31 +0000 (13:01 +1000)] 
added an example ctdb event script
(This used to be ctdb commit f97b75497d005306c5f893c3182f1c2a9b4dc6b7)

18 years agocall the event script on recovery too
Andrew Tridgell [Tue, 29 May 2007 02:55:24 +0000 (12:55 +1000)] 
call the event script on recovery too
(This used to be ctdb commit 8c43a91cbd6e502c93bd6cc51df1272eae426709)

18 years ago- moved ctdbd specific options to ctdbd.c from cmdline.c
Andrew Tridgell [Tue, 29 May 2007 02:49:25 +0000 (12:49 +1000)] 
- moved ctdbd specific options to ctdbd.c from cmdline.c

- allow a event script to be specified that will take IPs, release
  IPs, and handle recovery in system specific ways

- redirect stderr in subcommands to the log

(This used to be ctdb commit de0fc9ba370db781f9c46406ed180c8211946c7a)

18 years agofix sense of inet_aton() call
Andrew Tridgell [Tue, 29 May 2007 02:26:21 +0000 (12:26 +1000)] 
fix sense of inet_aton() call
(This used to be ctdb commit 39788dd804beee479f0cb3be8f4b984c3c7aad2e)

18 years ago- renamed ctdb_control utility to ctdb
Andrew Tridgell [Tue, 29 May 2007 02:16:59 +0000 (12:16 +1000)] 
- renamed ctdb_control utility to ctdb

- use -n to specify node number in ctdb utility

- change 'ctdb status' to 'ctdb statistics'

- added 'ctdb status' which shows status

- added netmask to public IPs, so you don't try a takeover on a
  foreign network

- cleaned up tools/ctdb_control.c a lot

- generate usage message at runtime

(This used to be ctdb commit 28de71c03ace7d32a9fd9882fabbd5d668b97656)

18 years agorename ctdb_control utility to ctdb
Andrew Tridgell [Tue, 29 May 2007 00:59:12 +0000 (10:59 +1000)] 
rename ctdb_control utility to ctdb
(This used to be ctdb commit 7fc3868a1a49aa8b49b277793eede903606b4353)

18 years agoNext round of packaging updates:
jmcd@samba.org [Mon, 28 May 2007 15:38:04 +0000 (11:38 -0400)] 
Next round of packaging updates:

- Create/delete source symlink as needed during rpm build
- init script updates:
- optional port, debuglevel, logfile
- autodetect logfile location if smbd exists
- build cluster_addresses file
- create tmp dbdir (Tridge, do you want this to be a fixed location instead?)

(This used to be ctdb commit 6695ec4845b71135db3fc5ed76afde7f20d8e24e)

18 years agoupdates from tridge
jmcd@samba.org [Mon, 28 May 2007 12:45:47 +0000 (08:45 -0400)] 
updates from tridge

(This used to be ctdb commit f2764aa6e7f320ee9cd0e69cc94d916c6ed3bd4a)

18 years agoupdates from tridge
jmcd@samba.org [Mon, 28 May 2007 12:45:19 +0000 (08:45 -0400)] 
updates from tridge

(This used to be ctdb commit ea7c2faaa7630fbb04a635fffcd42f0338c46846)

18 years agomerged packaging from jim
Andrew Tridgell [Mon, 28 May 2007 10:11:45 +0000 (20:11 +1000)] 
merged packaging from jim
(This used to be ctdb commit a66a70b9a03d9bea974748cfc9a183b206539ab7)

18 years agoanother place where we could send a partial packet
Andrew Tridgell [Sun, 27 May 2007 22:37:54 +0000 (08:37 +1000)] 
another place where we could send a partial packet
(This used to be ctdb commit 4e0c57718a0c9f51b5b2e02bbf516c63c5be0a35)

18 years agoInital rpm build files
jmcd@samba.org [Sun, 27 May 2007 20:48:18 +0000 (16:48 -0400)] 
Inital rpm build files

(This used to be ctdb commit 8830592b9202d6edab16af5c717608096597c517)

18 years agowhen handing over an IP to another node, also tell them of any tcp connections we...
Andrew Tridgell [Sun, 27 May 2007 14:51:10 +0000 (00:51 +1000)] 
when handing over an IP to another node, also tell them of any tcp connections we were handling, so they can send tickle acks for those connections
(This used to be ctdb commit 52c225720da22a149a85ed3cfc07d630cc8b3acd)