From: Bernd Erk Date: Wed, 16 Oct 2013 15:17:32 +0000 (+0200) Subject: Additional information regarding cluster files X-Git-Tag: v0.0.3~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0ab76e784329dd8ff44e94cff47cf5b38f5f6c35;p=icinga2 Additional information regarding cluster files --- diff --git a/doc/4.1-configuration-syntax.md b/doc/4.1-configuration-syntax.md index ad7c51f3c..29f76052d 100644 --- a/doc/4.1-configuration-syntax.md +++ b/doc/4.1-configuration-syntax.md @@ -246,8 +246,6 @@ Objects can inherit attributes from other objects. Example: template Host "default-host" { - check_interval = 30, - macros["color"] = "red" } diff --git a/doc/6-advanced-topics.md b/doc/6-advanced-topics.md index c9bc351f9..8200ee6d7 100644 --- a/doc/6-advanced-topics.md +++ b/doc/6-advanced-topics.md @@ -42,7 +42,7 @@ Then you can start CA creation using After that you can find your ca.crt and ca.key file in the keys directory and can create a server certificate for every node in the cluster using - ./build-key-server + ./build-key Please don't use a passphrase during the certificate creation process. @@ -66,6 +66,7 @@ The ClusterListener needs to be configured on every node in the cluster with the -------------------------|------------------------------------ ca_path | path to ca.crt file cert_path | path to server certificate + key_path | path to server key bind_port | port for incoming and outgoing conns peers | array of all reachable nodes ------------------------- ------------------------------------ @@ -100,7 +101,7 @@ In addition to the configured port and hostname every endpoint can have specific host | hostname port | port accept_config | defines all nodes allowed to send configs - config_files | defines all files to be send to other nodes + config_files | defines all files to be send to that node - MUST BE ABSOLUTE PATH ------------------------- ------------------------------------ A sample config part can look like this: @@ -111,10 +112,11 @@ A sample config part can look like this: object Endpoint "icinga-node-1" { host = "icinga-node-1.localdomain", - port = 8888 + port = 8888, + config_files = ["/etc/icinga2/conf.d/*.conf"] } - +If you update the configs on the configured file sender, it will force a restart on all receiving nodes after validating the new config. ## Dependencies