> Am 24.06.2016 um 08:25 schrieb Stefaans Mostert (GBL) > <stefaa...@grindrodbank.co.za>: > > > Morning all > > I have a problem with HA clustering that is driving me nuts. > > I have two hosts, host-1 and host-2, where host-1 is the master. > I used this doc.... > http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/distributed-monitoring-high-availability > > I used the node wizard to setup host-1 as master and host-2 as satellite. > Configs look like this. > > MASTER. > > zones.conf > > object Endpoint "icinga-1" { > host = "192.168.121.225" > } > > object Endpoint "icinga-2" { > host = "192.168.121.65" > } > > object Zone "config-ha-master" { > endpoints = [ "icinga-1", "icinga-2" ] > } > > object Zone "global-templates" { > global = true > } > > api.conf > object ApiListener "api" { > cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt" > key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key" > ca_path = SysconfDir + "/icinga2/pki/ca.crt" > accept_commands = true > > ticket_salt = TicketSalt > } > > constants.conf > zone and host constants correct. > > icinga2.conf > conf.d commented out. > > in zones.d > global-templates created and 2 config files created. > api-users.conf > apt.conf > > This is to test. > > SLAVE > > zones.conf > > object Endpoint "icinga-1" { > host = "192.168.121.225" > } > > object Endpoint "icinga-2" { > host = "192.168.121.65" > } > > object Zone "config-ha-master" { > endpoints = [ "icinga-1", "icinga-2" ] > } > > object Zone "global-templates" { > global = true > } > > api.conf > object ApiListener "api" { > cert_path = SysconfDir + "/icinga2/pki/" + NodeName + ".crt" > key_path = SysconfDir + "/icinga2/pki/" + NodeName + ".key" > ca_path = SysconfDir + "/icinga2/pki/ca.crt" > accept_commands = true > accept_config = true > > ticket_salt = TicketSalt > } > > constants.conf > zone and host constants correct. > > icinga2.conf > conf.d commented out. > > zones.d > empty, nothing there. > > What is wrong??
The secondary master receiving configs does not populate /etc but /var So is that your question, or is the problem somewhere else? If so, please provide icinga2 --version Logs from both nodes. Kind regards, Michael > > > Stefaans > > > > > Stefaans Mostert > CONTRACTOR: LINUX SYSTEM ADMINISTRATOR > > Tel: +27114591804 > Fax: +27114591872 > Mobile: +27844634590 > Website:http://www.grindrodbank.co.za > Fourth Floor, Grindrod Tower, 8A Protea Place, Sandton > PO Box 78011, Sandton, 2146 > > > > <stefaansm.vcf> > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users -- Michael Friedrich, DI (FH) Senior Developer NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 http://www.netways.de | michael.friedr...@netways.de ** OSBConf 2016 - September - osbconf.org ** ** OSMC 2016 - November - netways.de/osmc ** _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users