Write documentation on how to do an initial state sync for a cluster setup.

Fixes #5343
This commit is contained in:
Gunnar Beutner 2013-12-17 10:25:42 +01:00
parent ad563cf5d2
commit 1e60383f23
1 changed files with 10 additions and 0 deletions

View File

@ -222,6 +222,16 @@ instance you will have to add the following include directive to your
include (IcingaLocalStateDir + "/lib/icinga2/cluster/config/*/*")
### Initial Sync
In order to make sure that all of your cluster nodes have the same state you will
have to pick one of the nodes as your initial "master" and copy its state file
to all the other nodes.
You can find the state file in `/var/lib/icinga2/icinga2.state`. Before copying
the state file you should make sure that all your cluster nodes are properly shut
down.
## Dependencies
Icinga 2 uses host and service dependencies as attribute directly on the host or