diff options
author | Ronnie Sahlberg <sahlberg@ronnie> | 2007-08-24 15:53:41 +1000 |
---|---|---|
committer | Ronnie Sahlberg <sahlberg@ronnie> | 2007-08-24 15:53:41 +1000 |
commit | 6681da31df926625ce73b3e9047caa7ff4065792 (patch) | |
tree | cd2987b434464bab967c47e1965c5f5a56e43192 /ctdb/Makefile.in | |
parent | de23937368088327059214f72f083f896f4e1fed (diff) | |
download | samba-6681da31df926625ce73b3e9047caa7ff4065792.tar.gz samba-6681da31df926625ce73b3e9047caa7ff4065792.tar.xz samba-6681da31df926625ce73b3e9047caa7ff4065792.zip |
add an initial implementation of a service_id structure and three
controls to register/unregister/check a server id.
a server id consists of TYPE:VNN:ID where type is specific to the
application. VNN is the node where the serverid was registered and ID
might be a node unique identifier such as a pid or similar.
Clients can register a server id for themself at the local ctdb daemon.
When a client dissappears or when the domain socket connection for the
client drops then any and all server ids registered across that domain
socket will also be automatically removed from the store.
clients can register as many server_ids as they want at the same time
but each TYPE:VNN:ID must be globally unique.
Clients have the option of explicitely unregister a server id by using
the UNREGISTER control.
Registration and unregistration can only be done by clients to the local
daemon. clients can not register their server id to a remote node.
clients can check if a server id does exist on any ctdb node in the
network by using the check control
(This used to be ctdb commit d44798feec26147c5cc05922cb2186f0ef0307be)
Diffstat (limited to 'ctdb/Makefile.in')
-rw-r--r-- | ctdb/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in index 7499b0d7ff..d8c06fab9a 100644 --- a/ctdb/Makefile.in +++ b/ctdb/Makefile.in @@ -48,6 +48,7 @@ CTDB_SERVER_OBJ = server/ctdbd.o server/ctdb_daemon.o server/ctdb_lockwait.o \ server/ctdb_tunables.o server/ctdb_monitor.o server/ctdb_server.o \ server/ctdb_control.o server/ctdb_call.o server/ctdb_ltdb_server.o \ server/ctdb_traverse.o server/eventscript.o server/ctdb_takeover.o \ + server/ctdb_serverids.o \ $(CTDB_CLIENT_OBJ) $(CTDB_TCP_OBJ) @INFINIBAND_WRAPPER_OBJ@ TEST_BINS=bin/ctdb_bench bin/ctdb_fetch bin/ctdb_store bin/rb_test \ |