Documentation: Configure cluster node name.

This commit is contained in:
Michael Friedrich 2014-03-20 22:16:01 +01:00
parent 306851c497
commit 793acda14e
1 changed files with 18 additions and 1 deletions

View File

@ -36,6 +36,23 @@ enable the required libraries in the icinga2.conf configuration file:
library "cluster"
### <a id="configure-nodename"></a> Configure the Icinga Node Name
Instead of using the default FQDN as node name you can optionally set
that value using the [IcingaNodeName](#global-constants) constant.
This setting must be unique on each cluster node, and must also match
the name of the local [Endpoint](#objecttype-endpoint) object and the
SSL certificate common name.
const IcingaNodeName = "icinga-node-1"
Read further about additional [naming conventions](#cluster-naming-convention).
> **Note**
>
> Not specifying the node name will default to FQDN. Make sure that all
> configured endpoint names and set common names are in sync.
### <a id="configure-clusterlistener-object"></a> Configure the ClusterListener Object
The ClusterListener needs to be configured on every node in the cluster with the