]> granicus.if.org Git - icinga2/commitdiff
Write documentation on how to do an initial state sync for a cluster setup.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 17 Dec 2013 09:25:42 +0000 (10:25 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 17 Dec 2013 09:25:42 +0000 (10:25 +0100)
Fixes #5343

doc/6-advanced-topics.md

index a087145f3e67ea946fdfda56b1c333d9b8da94d3..1f7ac047561289e4f34327ac2fa03ec5ae9123d5 100644 (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