Hi,
I have 4 NLS instances configured. 2 of them are in a cluster and the other two are individual instances.
Instance 1 and 2 --> clustered
Instance 3 - Single instance - installed and configured as a single node
Instance 4 - Single instance - installed and configured as a single node
I want to add 4th NLS instance to the cluster. How can I do that?
I have found a guide; https://assets.nagios.com/downloads/nag ... luster.pdf
But this guide is just for adding a new node to the cluster. (during the installation process we can add it to the cluster)
My requirement is; adding pre-tested/configured NLS instance to an existing cluster.
Thank you.
Adding, pre-configured NLS instances to a cluster
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Adding, pre-configured NLS instances to a cluster
You cannot merge settings and logs from one Instance into an existing cluster.
You can make the Instance join the cluster with the following procedure, but any "configuration" you did to the instance will be lost as it stores the config information in the cluster itself..
To to this stop elasticsearch
edit /usr/local/nagioslogserver/var/cluster_uuid and enter the cluster ID of the cluster to join
Edit /usr/local/nagioslogserver/var/cluster_hosts and enter at least one of the IP addresses in the active cluster, removing all others (besided this hosts IP)
start elasticsearch
You can make the Instance join the cluster with the following procedure, but any "configuration" you did to the instance will be lost as it stores the config information in the cluster itself..
To to this stop elasticsearch
Code: Select all
service elasticsearch stop
Edit /usr/local/nagioslogserver/var/cluster_hosts and enter at least one of the IP addresses in the active cluster, removing all others (besided this hosts IP)
start elasticsearch
Code: Select all
service elasticsearch start