summaryrefslogtreecommitdiffstats
path: root/ctdb
Commit message (Collapse)AuthorAgeFilesLines
...
* server: be less verbose on redundant release_ip eventsStefan Metzmacher2010-01-201-1/+1
| | | | | | metze (This used to be ctdb commit 72ef5f891f85ce51f5ca7e0c03d0c7cc955be110)
* server: add a ctdb_do_updateip()Stefan Metzmacher2010-01-201-0/+142
| | | | | | metze (This used to be ctdb commit eded224368dded2264e53546c196b1b485cb2094)
* server: split out a ctdb_do_takeover_ip() functionStefan Metzmacher2010-01-201-52/+82
| | | | | | metze (This used to be ctdb commit 8fd6f4aab0c173b4c9c4c02c546e7d2ec1a98423)
* server: split out a ctdb_announce_vnn_iface() functionStefan Metzmacher2010-01-201-32/+44
| | | | | | metze (This used to be ctdb commit ec87a51660cfa8a6851923f757fed31f7ffc7153)
* events: add updateip event to 13.per_ip_routingStefan Metzmacher2010-01-201-0/+60
| | | | | | metze (This used to be ctdb commit 829150e814a5e6c85d0f21421f46f41e81d74c53)
* events: 10.interface handle updateip eventStefan Metzmacher2010-01-201-0/+57
| | | | | | metze (This used to be ctdb commit a5cdf1277387f8c6292153c37fa9ceb64707d04f)
* server: add updateip eventStefan Metzmacher2010-01-204-1/+14
| | | | | | metze (This used to be ctdb commit 712ed0c4c0bff1be9e96a54b62512787a4aa6259)
* config: add CTDB_PARTIALLY_ONLINE_INTERFACES to ctdb.sysconfigStefan Metzmacher2010-01-202-0/+19
| | | | | | | | | With this option set to "yes", we don't become unhealthy as long as at least one interface is still available. metze (This used to be ctdb commit d054eb33c6ae92560cddb40732e5dcf622591a3c)
* server: start with disabled interfaces and let the event scripts enable the ↵Stefan Metzmacher2010-01-202-2/+7
| | | | | | | | | | | interfaces explicit This makes sure that we don't get public addresses assigned during the initial recovery and remove them again in the startup event. metze (This used to be ctdb commit f872e8c63a2f8979e6a0d088630575bdd4d7b4f1)
* config: 10.interfaces call monitor_interfaces on startupStefan Metzmacher2010-01-201-0/+8
| | | | | | metze (This used to be ctdb commit 615dec051c26aac628f120e96bf12fb39fc6d28a)
* config: 10.interfaces call ctdb ifaces and ctdb setifacelink for monitoringStefan Metzmacher2010-01-201-1/+46
| | | | | | metze (This used to be ctdb commit c465f63585c419ba59a6b04cbbf78ae615a7259d)
* events: splitout a monitor_interfaces function in 10.interfaceStefan Metzmacher2010-01-201-45/+64
| | | | | | metze (This used to be ctdb commit b5ba56dea57db97d6c6ba3e7582e74fe0e3041fc)
* server: monitor interfaces in verify_ip_allocation()Stefan Metzmacher2010-01-201-0/+30
| | | | | | metze (This used to be ctdb commit 965a65520693e3731b5b0250127b04c777087808)
* server: only trigger one takeover run in verify_ip_allocation()Stefan Metzmacher2010-01-201-26/+19
| | | | | | metze (This used to be ctdb commit 10bc087d0280057962177721bdd6d4f28743b311)
* tools/ctdb: add PartiallyOnline state for "ctdb status" and "ctdb status -Y"Stefan Metzmacher2010-01-201-3/+41
| | | | | | | | This is based on the GET_IFACES control against each node. metze (This used to be ctdb commit 38cb972382a09f830673277d0a9bd5d20deafff2)
* tools/ctdb: display interfaces in "ctdb ip" and "ctdb ip -Y" outputsStefan Metzmacher2010-01-202-7/+72
| | | | | | metze (This used to be ctdb commit dffa2b05acce8b73c2fdd085311732bf57f01b7f)
* tests: add a all_ips_on_node() helper function that wraps ctdb ip -YStefan Metzmacher2010-01-204-7/+14
| | | | | | metze (This used to be ctdb commit c24fbea156dfdc9154e94eace725526e44cbcdac)
* tests/simple/11_ctdb_ip.sh: be more strict in checking ctdb ip -Y outputStefan Metzmacher2010-01-201-4/+13
| | | | | | metze (This used to be ctdb commit 27bde04966e22975777b4034dbaccfe158369110)
* tools/ctdb: add "ctdb ipinfo <ip>"Stefan Metzmacher2010-01-201-0/+53
| | | | | | metze (This used to be ctdb commit e05e236fc019bfd3b316609a7c190e0e028a4bbc)
* tools/ctdb: add "ctdb setifacelink <iface> <status>"Stefan Metzmacher2010-01-201-0/+50
| | | | | | metze (This used to be ctdb commit 8d0c00b60db69bd10f12da4c676e1142dc37af7a)
* tools/ctdb: add "ctdb ifaces"Stefan Metzmacher2010-01-201-0/+44
| | | | | | metze (This used to be ctdb commit 80053d09eed967fb76898f4a53437bed2b43a02f)
* server: implement ctdb_control_set_iface_link()Stefan Metzmacher2010-01-201-1/+51
| | | | | | | | | | | | This only marks the interface status and doesn't generate any directly triggered action. The actions is later taken by the recovery process in verify_ip_allocation. metze (This used to be ctdb commit cff58b27c970e9252d131125941c372019fd6660)
* server: implement ctdb_control_get_ifaces()Stefan Metzmacher2010-01-201-1/+30
| | | | | | metze (This used to be ctdb commit 0e982a416a126d9856145c19baef320cd0e71d66)
* server: implement ctdb_control_get_public_ip_info()Stefan Metzmacher2010-01-201-1/+62
| | | | | | metze (This used to be ctdb commit 486fbd15f4cc4f45a4c110b2ddbba48bade22c9f)
* client: implement ctdb_ctrl_set_iface_link()Stefan Metzmacher2010-01-201-1/+18
| | | | | | metze (This used to be ctdb commit e2d6582001be28c1800e4da8b0f2dc541538c314)
* client: implement ctdb_ctrl_get_ifaces()Stefan Metzmacher2010-01-201-2/+57
| | | | | | metze (This used to be ctdb commit a21e3765dd83e837d93111f387448bf0a5dd4652)
* client: implement ctdb_ctrl_get_public_ip_info()Stefan Metzmacher2010-01-201-2/+61
| | | | | | metze (This used to be ctdb commit 4efab41dfa61d5c7951c583d584df3455ee9c704)
* controls: add stups for GET_PUBLIC_IP_INFO, GET_IFACES and SET_IFACE_LINK_STATEStefan Metzmacher2010-01-204-0/+109
| | | | | | metze (This used to be ctdb commit a2c9e4578e149eccb2c6183f64a6b657eb95c5e1)
* server: use CTDB_PUBLIC_IP_FLAGS_ONLY_AVAILABLE during a takeover runStefan Metzmacher2010-01-203-11/+32
| | | | | | | | | | | We know ask for the known and available interfaces. This means a node gets a RELEASE_IP event for all interfaces it "knows", but doesn't serve and a node only gets a TAKE_IP event for "available" interfaces. metze (This used to be ctdb commit a695a38e49e7c3e15a9706392dc920eeab1f11ba)
* server: implement CTDB_PUBLIC_IP_FLAGS_ONLY_AVAILABLE behaviorStefan Metzmacher2010-01-201-4/+39
| | | | | | metze (This used to be ctdb commit 09a5c59bc8d1301edf60d7ae77504dc6d11a7da2)
* client: add CTDB_PUBLIC_IP_FLAGS_ONLY_AVAILABLE ctdb_ctrl_get_public_ips_flags()Stefan Metzmacher2010-01-202-6/+26
| | | | | | metze (This used to be ctdb commit 6bd780510058e5589f2f7c3722d37acbba4935ab)
* reserve upper bits in ctdb_control->flags for opcode specific flagsStefan Metzmacher2010-01-201-0/+1
| | | | | | metze (This used to be ctdb commit 91122c322fbec08138b92c528d9a946f6727b4fd)
* server: keep the interface information in a list of ctdb_iface structuresStefan Metzmacher2010-01-202-12/+188
| | | | | | metze (This used to be ctdb commit ff5291778f0752e176539397e9530dcf0e546bea)
* server: we don't need to copy strings we pass as talloc_asprintf() argumentsStefan Metzmacher2010-01-201-4/+4
| | | | | | metze (This used to be ctdb commit 080ba5ac2195fb73ef6f18740abdde57a7b97151)
* events: 10.interfaces allow multiple interfaces per public addressStefan Metzmacher2010-01-201-1/+1
| | | | | | metze (This used to be ctdb commit f9837f8b6f887d28f29aeb3eeffe8cfb423b40b4)
* server: allow multiple interfaces comma separated in public_addressesStefan Metzmacher2010-01-203-17/+47
| | | | | | metze (This used to be ctdb commit 33a00ef7233051acdbc66410130ec5d876a8422f)
* server: add a ctdb_vnn_iface_string() helper function to access vnn->ifaceStefan Metzmacher2010-01-201-15/+26
| | | | | | metze (This used to be ctdb commit 9e5532e215892b2e0aadd9b106a730727f92c62e)
* server: add a ctdb_set_single_public_ip() helper functionStefan Metzmacher2010-01-203-13/+26
| | | | | | metze (This used to be ctdb commit 400b4806c4a9686a2ee6398b5d7c3e0ca0793fd1)
* config: add 13.per_ip_routing event scriptStefan Metzmacher2010-01-204-0/+435
| | | | | | | | | With this script it's possible to generate routing tables per public ip address. metze (This used to be ctdb commit ff5678fbec2daef461143acf00cef3f94d7655fc)
* config: add some ipv4 helper shell functionsStefan Metzmacher2010-01-201-0/+64
| | | | | | | | | Many thanks to Michael Adam <obnox@samba.org> for the basic work. metze (This used to be ctdb commit ff9c641763702ae99632bbf4d0825d578440c074)
* config: add interface_modify.sh and call it under flock to make modification ↵Stefan Metzmacher2010-01-205-55/+106
| | | | | | | | | | | on interfaces atomic When two releaseip events run in parallel it's possible that the 2nd script readds a secondary ip that was removed by the 1st script. metze (This used to be ctdb commit e02417b2a55c45ac2c125b1b3463c9c39e7bc07a)
* events/10.interfaces: move some parts to helper functionsStefan Metzmacher2010-01-201-28/+59
| | | | | | metze (This used to be ctdb commit 24cd42769d8f32b90a8876a6a08a36ab23076cd1)
* config/functions: add tickle_tcp_connections()Stefan Metzmacher2010-01-201-0/+30
| | | | | | metze (This used to be ctdb commit 2397f13d7b5ca3847ef148187c6b179d06f6a47a)
* server: add "init" eventStefan Metzmacher2010-01-2012-10/+44
| | | | | | | | | This is needed because the "startup" event runs after the initial recovery, but we need to do some actions before the initial recovery. metze (This used to be ctdb commit e953808449c102258abb6cba6f4abf486dda3b82)
* server: setup fault handler to get the build-in backtrace supportStefan Metzmacher2010-01-201-0/+1
| | | | | | | | The panic action feature will be added later. metze (This used to be ctdb commit 37d11895e96ba8bc8c9ba159083970c45f76d9bb)
* lib/util: add pre and post panic action hooksStefan Metzmacher2010-01-202-0/+13
| | | | | | metze (This used to be ctdb commit e366e77ba170d2c27110c56004ae1adf97abef9e)
* lib/util: import fault/backtrace handling from samba.Stefan Metzmacher2010-01-2011-2/+1307
| | | | | | metze (This used to be ctdb commit 8171d66f0061fe23ed6dfef87ffe63bfc19596eb)
* configure: don't overwrite AC_CHECK_FUNC_EXT and AC_CHECK_LIB_EXTStefan Metzmacher2010-01-201-8/+0
| | | | | | | | This has curently no affect on the generated configure and config.h.in files. metze (This used to be ctdb commit 9d39ada437b02d84b70a5fea78b61bbb32f16d81)
* move DEBUG* macros to one placeStefan Metzmacher2010-01-203-4/+4
| | | | | | metze (This used to be ctdb commit 4b4dd5d7f81bf226e05c7f3d40087043da1517a2)
* tools/ctdb: display INACTIVE status in "ctdb status" and "ctdb status -Y"Stefan Metzmacher2010-01-201-3/+5
| | | | | | metze (This used to be ctdb commit 18af37e99ef8ff5623161495be432abfe5e3407f)