node setup: Add a note for --endpoint syntax for client-master connection

fixes #11793
This commit is contained in:
Michael Friedrich 2016-05-25 10:24:18 +02:00
parent 5a011fcb28
commit 2356ec021a
1 changed files with 6 additions and 0 deletions

View File

@ -370,6 +370,7 @@ Required information:
* The client common name (CN). Use the FQDN, e.g. `icinga2-node2.localdomain`. * The client common name (CN). Use the FQDN, e.g. `icinga2-node2.localdomain`.
* The master host and zone name. Pass that to `pki save-cert` as `--host` parameter for example. * The master host and zone name. Pass that to `pki save-cert` as `--host` parameter for example.
* Optional: Master endpoint host and port information for the `--endpoint` parameter.
* The client ticket number generated on the master (`icinga2 pki ticket --cn icinga2-node2.localdomain`) * The client ticket number generated on the master (`icinga2 pki ticket --cn icinga2-node2.localdomain`)
Generate a new local self-signed certificate. Generate a new local self-signed certificate.
@ -408,6 +409,11 @@ the previously stored trusted master certificate.
--master_host icinga2-node1.localdomain \ --master_host icinga2-node1.localdomain \
--trustedcert /etc/icinga2/pki/trusted-master.crt --trustedcert /etc/icinga2/pki/trusted-master.crt
In case the client should connect to the master node, you'll
need to modify the `--endpoint` parameter using the format `cn,host,port`.
--endpoint icinga2-node1.localdomain,192.168.56.101,5665
Restart Icinga 2 once complete. Restart Icinga 2 once complete.
# service icinga2 restart # service icinga2 restart