1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

722 Commits

Author SHA1 Message Date
Andrew Tridgell
165bdba7ec better download instructions
(This used to be ctdb commit f50298262e3cc2896d7d098efa6601c915d3feca)
2007-06-01 17:16:19 +10:00
Andrew Tridgell
e015e5d769 added package download
(This used to be ctdb commit fa0d8efe3298a38c52e6be1116bd1b4c8c959f76)
2007-06-01 16:07:13 +10:00
Andrew Tridgell
680a3ad547 merge initial web site from ronnie
(This used to be ctdb commit ee0b29b0625a1202e4af5a2ab3b19ca0b48e8e99)
2007-06-01 15:33:45 +10:00
Ronnie Sahlberg
0b70f9500e add a developers section
(This used to be ctdb commit af90c7b3b80c808ad3047175cd09031c0282538d)
2007-06-01 15:31:23 +10:00
Ronnie Sahlberg
52291b18a5 initial webpage
(This used to be ctdb commit b24b48fe6e9da38036452e82a1b3d6311ebaa6f4)
2007-06-01 15:23:57 +10:00
Andrew Tridgell
f5171454b3 log dates/time in event startup messages
(This used to be ctdb commit 60a2f704f2e0544035778d00e91041e09351ed8f)
2007-06-01 15:23:16 +10:00
Andrew Tridgell
95ed6f8725 added CTDB_WAIT_DIRECTORIES support
(This used to be ctdb commit fa888e8b1715d7460f5718d3e1fe17e4caaa15c3)
2007-06-01 13:50:18 +10:00
Andrew Tridgell
55eeda3f22 merged from ronnie
(This used to be ctdb commit 21a9cf2883deb63ced58a4eb066d2d2d08cb5394)
2007-06-01 13:29:11 +10:00
Ronnie Sahlberg
86d0fc8e4f it is -f not -x to check if a file exists
(This used to be ctdb commit 52457d5e811f91c051ce0fa32739667a1d21862a)
2007-06-01 13:26:14 +10:00
Ronnie Sahlberg
425b3c56c6 - 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)
2007-06-01 13:14:05 +10:00
Ronnie Sahlberg
0898f200c9 new branch from tridges tree
(This used to be ctdb commit 782ccb0ca54b6b25794f8b52e72a68838727b6a9)
2007-06-01 13:03:53 +10:00
Andrew Tridgell
bf3b740a1b ctdb is GPL not LGPL
(This used to be ctdb commit 8624378010d1c2a1438e1e701339dfba7276f960)
2007-05-31 13:50:53 +10:00
Andrew Tridgell
7ccb338862 if there is no node available to take an IP, don't consider that an error
(This used to be ctdb commit fee6561626c7070418bc8f4d610a728329ac4bcc)
2007-05-31 11:22:43 +10:00
Andrew Tridgell
d86298248f better location for statd-callout
(This used to be ctdb commit cc208c447b732aeeaefd6a889711d3cd83ea128e)
2007-05-31 11:14:07 +10:00
Andrew Tridgell
c6d4478fda added hooks to make nfs statd behave correctly on failover
(This used to be ctdb commit a1ee84fc47892b6c18d417ccf714211fcb07952e)
2007-05-31 11:09:45 +10:00
Andrew Tridgell
cc87648933 merge lib/replace from samba4
(This used to be ctdb commit d1a0bcbe331b05ad7a3f5f7a33e4c9b5242c43f2)
2007-05-30 18:06:57 +10:00
Andrew Tridgell
89ed660067 tell newly connected nodes about any tcp tickle records that we have that they don't have
(This used to be ctdb commit 71dd59c1662d429d260c25090e0ca26db48d4075)
2007-05-30 16:37:39 +10:00
Andrew Tridgell
d510ce3281 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)
2007-05-30 16:11:39 +10:00
Andrew Tridgell
1e72af9c51 close sockets when we exec scripts
(This used to be ctdb commit 0fac2164db4279db2d7d376a34be05b890304087)
2007-05-30 15:43:25 +10:00
Andrew Tridgell
c833b06a35 we need to listen at transport initialise stage to find our own node number
(This used to be ctdb commit 4a9455dfbe95e53884b46ad26dba0c33e3432ba9)
2007-05-30 14:46:14 +10:00
Andrew Tridgell
3c062bb5ae - 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)
2007-05-30 14:35:22 +10:00
Andrew Tridgell
8ed48aac51 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)
2007-05-30 13:26:50 +10:00
Andrew Tridgell
3eb96b4553 - nice messages while waiting for tcp services to come up
- added more comments to sysconfig file

(This used to be ctdb commit 9cbe7ad147a73cd6594fa7bcee0544fd986ad8c0)
2007-05-30 12:37:03 +10:00
Andrew Tridgell
b382fac817 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)
2007-05-30 12:27:58 +10:00
Andrew Tridgell
0a8b9f21d8 fixed onnode symlink install
(This used to be ctdb commit fd6a474fb52263512a0496ec8c9dc5443902d45a)
2007-05-30 11:17:52 +10:00
Andrew Tridgell
7cd7081beb support ctdb status -n all
(This used to be ctdb commit 8ff2ea29fc60a1e9854bf0c59c360e29f35d3b69)
2007-05-30 11:12:50 +10:00
Andrew Tridgell
229846cdd2 moved onnode into ctdb from s3 examples/ctdb
(This used to be ctdb commit a3fdaebf1a90ff3c2843a592f6c657a8eae42975)
2007-05-30 11:00:43 +10:00
Andrew Tridgell
5747a5a358 auto-restart NFS if its running when we release an IP
(This used to be ctdb commit 2e1e1e8e34bf4c15decbbc8f0ca88004a2ed67df)
2007-05-30 10:21:16 +10:00
Andrew Tridgell
71bb8a9e41 samba3 needs ctdb_private.h installed to build
(This used to be ctdb commit 3df7a4b3cd08efbf5d33379b8c1c5f5bee14954b)
2007-05-29 22:53:28 +10:00
Andrew Tridgell
9891c6b975 flush any local arp entries for the given ip on add/del
(This used to be ctdb commit 814decd66423e955b443f0729ceec581c0d0c0e3)
2007-05-29 19:34:04 +10:00
Andrew Tridgell
3b146e7616 don't block SIGCHLD, or we lose return values from system() !
nicer log messages from events script

(This used to be ctdb commit 5ed2b496675a6a47d7ad87519a97bc4f293e6730)
2007-05-29 17:23:29 +10:00
Andrew Tridgell
7de87f8492 fixed system() return handling
(This used to be ctdb commit 0fa75d7429f6f6e58f98c3cebccf6014eb3b474e)
2007-05-29 17:00:08 +10:00
Andrew Tridgell
a7a0f99d98 fixed broadcast controls from the command line
(This used to be ctdb commit 54464e0b5123265780013a0a46c8b94709d227dc)
2007-05-29 16:34:50 +10:00
Andrew Tridgell
2f7fcecb59 fixed shell syntax in events script
(This used to be ctdb commit 629435807e7927a0e1524cd3e4b2aa216a651e2c)
2007-05-29 16:28:18 +10:00
Andrew Tridgell
bf3f0f4b2f - ignore blank lines at end of lists
- rpm tweaks
(This used to be ctdb commit 3506464fa914c5aad10fe22283563d021ca45ca0)
2007-05-29 16:23:47 +10:00
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
Andrew Tridgell
0f605ccdb2 more build tweaks
(This used to be ctdb commit d4c3380c7a9d332311c5d03ba151e7f2f90796a3)
2007-05-29 15:52:03 +10:00
Andrew Tridgell
0e089d11e0 update packaging for new defaults
(This used to be ctdb commit 68f167d74fdc3b55c416ed1f7054817b51f69899)
2007-05-29 15:36:42 +10:00
Andrew Tridgell
5a4c3b0b24 default log file to reasonable location
(This used to be ctdb commit 36b0a43c5d58d8171c1340603486e64051d696ac)
2007-05-29 15:26:38 +10:00
Andrew Tridgell
873c3a5934 use autoconf for more paths
(This used to be ctdb commit b765a391632621dfe3b129b85782e87f586ae2eb)
2007-05-29 15:20:41 +10:00
Andrew Tridgell
2d9e0ad56a use /etc/services for ctdb
(This used to be ctdb commit 64bf6964ff33320c5351337c7f8ed4da5bd71275)
2007-05-29 15:15:00 +10:00
Andrew Tridgell
db5862279b merge from jim
(This used to be ctdb commit a41acd1835af91176a2de1c251a8709dc42b65ac)
2007-05-29 14:46:29 +10:00
Andrew Tridgell
1140d5a20a fixed more warnings on 64 bit boxes
(This used to be ctdb commit 2f6eae476203f8a8b28e083553204c01f224c8a5)
2007-05-29 13:58:41 +10:00
Andrew Tridgell
bc891232b6 fixed some debug messages
(This used to be ctdb commit 037f0149c0c0e65af0a1669b9a52586129e4b48f)
2007-05-29 13:48:30 +10:00
Andrew Tridgell
edcaa0d6a0 clean shutdown in ctdb - release all our IPs
(This used to be ctdb commit 2f196cb6a86eb85205d7de1c4cadd4e1e701c06f)
2007-05-29 13:33:59 +10:00
Andrew Tridgell
1455d7d7ad don't need maskbits to ip addr del
(This used to be ctdb commit 93125b460a44934f30bb995ff3c5365ac5a263d5)
2007-05-29 13:21:37 +10:00
Andrew Tridgell
6cd49d7842 fixed syntax of /sbin/ip
(This used to be ctdb commit 9791901dda000fbef6e520531f39ead575531721)
2007-05-29 13:09:15 +10:00
Andrew Tridgell
1becc9f2e7 made events script executable
(This used to be ctdb commit 54934884ae2bfe8b7d155aa22ee90b2d0a674def)
2007-05-29 13:04:52 +10:00
Andrew Tridgell
a39eff68a8 added an example ctdb event script
(This used to be ctdb commit f97b75497d005306c5f893c3182f1c2a9b4dc6b7)
2007-05-29 13:01:31 +10:00
Andrew Tridgell
ead091449b call the event script on recovery too
(This used to be ctdb commit 8c43a91cbd6e502c93bd6cc51df1272eae426709)
2007-05-29 12:55:24 +10:00