offsetof(struct ctdb_tunable_list, db_size_warn) },
{ "PullDBPreallocation", 10*1024*1024, false,
offsetof(struct ctdb_tunable_list, pulldb_preallocation_size) },
- { "NoIPHostOnAllDisabled", 1, false,
+ { "NoIPHostOnAllDisabled", 1, true,
offsetof(struct ctdb_tunable_list, no_ip_host_on_all_disabled) },
{ "Samba3AvoidDeadlocks", 0, true,
offsetof(struct ctdb_tunable_list, samba3_hack) },
</para>
</refsect2>
- <refsect2>
- <title>NoIPHostOnAllDisabled</title>
- <para>Default: 0</para>
- <para>
- If no nodes are HEALTHY then by default ctdb will happily host
- public IPs on disabled (unhealthy or administratively disabled)
- nodes. This can cause problems, for example if the underlying
- cluster filesystem is not mounted. When set to 1 and a node
- is disabled, any IPs hosted by this node will be released and
- the node will not takeover any IPs until it is no longer disabled.
- </para>
- </refsect2>
-
<refsect2>
<title>NoIPTakeover</title>
<para>Default: 0</para>
<para>
When set to 1, ctdb will not allow IP addresses to be failed
over to other nodes. Any IP addresses already hosted on
- healthy nodes will remain. Usually IP addresses hosted on
- unhealthy nodes will also remain, if NoIPHostOnAllDisabled is
- 0. However, if NoIPHostOnAllDisabled is 1 then IP addresses
- will be released by unhealthy nodes and will become un-hosted.
+ healthy nodes will remain. Any IP addresses hosted on
+ unhealthy nodes will be released by unhealthy nodes and will
+ become un-hosted.
</para>
</refsect2>
DBRecordSizeWarn = 10000000
DBSizeWarn = 100000000
PullDBPreallocation = 10485760
-NoIPHostOnAllDisabled = 0
TDBMutexEnabled = 1
LockProcessesPerDB = 200
RecBufferSizeLimit = 1000000
* - Get nodemap
* - Initialise IP allocation state. Pass:
* + algorithm to be used;
- * + various tunables (NoIPTakeover, NoIPFailback, NoIPHostOnAllDisabled)
+ * + various tunables (NoIPTakeover, NoIPFailback)
* + list of nodes to force rebalance (internal structure, currently
* no way to fetch, only used by LCP2 for nodes that have had new
* IP addresses added).
DBRecordSizeWarn = 10000000
DBSizeWarn = 100000000
PullDBPreallocation = 10485760
-NoIPHostOnAllDisabled = 1
TDBMutexEnabled = 1
LockProcessesPerDB = 200
RecBufferSizeLimit = 1000000