I'm running a demo of Log Server and so far things are working great. I'm planning to go live with 2 instances but in my testing I currently have 3 servers in the cluster. I cannot figure out how to remove a log server instance from the cluster. Seems like a simple task but I can't find anything in the documentation or through searching. Is this possible to do?
Thanks in advance for any help.
Remove log server instance?
Re: Remove log server instance?
Decommissioning (or it it's a VM, deleting) the machine hosting the node is the easiest way.
I would suggest powering down the machine, allowing the system to quiesce, then removing the node from the "Instance Status" page in the GUI like so:
As a note, if Elasticsearch remains installed+configured on the machine you're removing, it will attempt to rejoin the cluster if it's powered on again.
I would suggest powering down the machine, allowing the system to quiesce, then removing the node from the "Instance Status" page in the GUI like so:
As a note, if Elasticsearch remains installed+configured on the machine you're removing, it will attempt to rejoin the cluster if it's powered on again.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Remove log server instance?
Thanks! I hadn't shut down the old instance yet so the remove option wasn't there.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Remove log server instance?
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
Re: Remove log server instance?
after powering the server off and removing the instance in the GUI, what needs to be done on the elasticsearch so that it dont try to connect to the cluster again? I need to remove 1 instance from the cluster and have it run as a standalone, is this possible? do i need to re-install NLS again?
Re: Remove log server instance?
In the future, please create your own thread for this. If you'd like a single instance to run standalone then you'd need to reconfigure your elasticsearch.yml settings accordingly, and make sure your cluster_uuid / cluster_hosts are clean / seperate. The directory they're in are /usr/local/nagioslogserver/var. Should you have problems, the fastest solution will be to reinstall.judge01 wrote:after powering the server off and removing the instance in the GUI, what needs to be done on the elasticsearch so that it dont try to connect to the cluster again? I need to remove 1 instance from the cluster and have it run as a standalone, is this possible? do i need to re-install NLS again?
Former Nagios Employee
Re: Remove log server instance?
Thank you and my apologies. will do that next time. Again, thank you so much.
Re: Remove log server instance?
Sure thing! Did you have additional questions regarding this issue?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/