Page 1 of 1
remove instance from cluster nls 2.0
Posted: Mon Mar 12, 2018 2:53 pm
by benhank
How do I remove a server/ instance in nls 2.0?
Re: remove instance from cluster nls 2.0
Posted: Mon Mar 12, 2018 4:52 pm
by scottwilkerson
just shut off elasticsearch on that instance
Re: remove instance from cluster nls 2.0
Posted: Mon Mar 12, 2018 4:53 pm
by npolovenko
Hello,
@benhank.If you go to the admin menu and then open the Instance Status menu you'll be able to remove an instance by clicking on the "trash" icon in the actions table.
Re: remove instance from cluster nls 2.0
Posted: Tue Mar 13, 2018 9:59 am
by benhank
A little explanation.
We have a single install of NLS on one server.
i then installed NLS on a test server and connected it to the production server.
now that the server is nice and replicated, i want to remove the test server from the cluster which allows me to have a pool of data to test stuff with.
Re: remove instance from cluster nls 2.0
Posted: Tue Mar 13, 2018 12:24 pm
by scottwilkerson
ok, if you want this to disconnect and then not re-connect to the cluster, do the following on the test system and the live system
stop elasticsearch on both systems
edit
/usr/local/nagioslogserver/var/cluster_hosts on both systems to ONLY include the IP of the machine you are working on.
start elasticsearch on both systems
They should not re-join each other
Re: remove instance from cluster nls 2.0
Posted: Wed Mar 14, 2018 9:40 am
by benhank
Scott your like e.f. hutton man. when you talk I listen!
These youngins dont know about ef man...=D
lock er up and thanks!