diff options
| author | Ronnie Sahlberg <sahlberg@samba.org> | 2008-02-22 09:42:52 +1100 |
|---|---|---|
| committer | Ronnie Sahlberg <sahlberg@samba.org> | 2008-02-22 09:42:52 +1100 |
| commit | 39539f60444b71306d5cd2a659b3bfb0f4e3de4f (patch) | |
| tree | 6ab1083741b08175ee57b9d3c185736bab702956 /ctdb/include | |
| parent | c8503e06cd1f76af66d6256c38c40d9fa55599bd (diff) | |
Add a new parameter to /etc/sysconfig/ctdb
CTDB_START_AS_DISABLED="yes"
and command line argument
--start-as-disabled
When set, this makes the ctdb node to always start in DISABLED mode and will thus not host any public ip addresses.
The administrator must manually "ctdb enable" the node after it has started when the administrator wants the node to start hosting public ip addresses.
Using this option it is possible to start ctdb on a node without causing any reallocation of ip addresses when it is starting. The node will still merge with the cluster and there will still be a recovery phase but the ip address allocations will not change in the cluster.
(This used to be ctdb commit b93d29f43f5306c244c887b54a77bca8a061daf2)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index c34a9d994e..b797028210 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -372,6 +372,7 @@ struct ctdb_context { const char *node_ip; struct ctdb_monitor_state *monitor; struct ctdb_log_state *log; + int start_as_disabled; }; struct ctdb_db_context { |
