remove instance from cluster nls 2.0
remove instance from cluster nls 2.0
How do I remove a server/ instance in nls 2.0?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: remove instance from cluster nls 2.0
just shut off elasticsearch on that instance
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: remove instance from cluster nls 2.0
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: remove instance from cluster nls 2.0
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.
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.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: remove instance from cluster nls 2.0
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
stop elasticsearch on both systems
Code: Select all
service elasticsearch stopstart elasticsearch on both systems
Code: Select all
service elasticsearch startRe: remove instance from cluster nls 2.0
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!
These youngins dont know about ef man...=D
lock er up and thanks!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion