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
@ -467,4 +484,4 @@ for all departments managing their configuration tree which is then deployed to
department instances. Furthermore the central NOC is able to see what's going on.
The instances in the departments will serve a local interface, and allow the administrators
to reschedule checks or acknowledge problems for their services.
to reschedule checks or acknowledge problems for their services.