Page 1 of 1
Moving a node to a new server
Posted: Thu Jan 12, 2017 10:33 am
by CameronWP
Hello:
I am looking for documentation on how to move Log Server to a new server. I am looking to move the historical data as well. I have tried and currently am receiving the error:
Code: Select all
:message=>"Got error to send bulk of actions: None of the configured nodes are available: []", :level=>:error}
{:timestamp=>"2017-01-12T01:56:26.655000-0500", :message=>"Failed to flush outgoing items", :outgoing_count=>50, :exception=>org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []
I tried updating the ClusterID in the conf files and restarting the services but it hasn't made a difference.
Thanks!
Re: Moving a node to a new server
Posted: Thu Jan 12, 2017 11:41 am
by mcapra
A very important question: How many nodes exist in your current cluster?
If this a 2+ node environment, it's much more efficient to just power down the old node then spin up a fresh instance of Nagios Log Server and add it to the existing cluster.
I tried updating the ClusterID in the conf files and restarting the services but it hasn't made a difference.
Before I offer any insights, can you tell me exactly which sections of which files you modified?
Re: Moving a node to a new server
Posted: Thu Jan 12, 2017 2:23 pm
by CameronWP
Hi:
It appears it was a permission issue with the initial issue I was having. Everything seems happy now other than two issues:
1) None of my hosts can report in. I have confirmed that the ports are listening:
tcp 0 0 0.0.0.0:5544 0.0.0.0:* LISTEN off (0.00/0/0)
udp 0 0 0.0.0.0:5544 0.0.0.0:*
[root@nagios ~]# netstat -ona |grep 3515
tcp 0 0 0.0.0.0:3515 0.0.0.0:* LISTEN off (0.00/0/0)
My logs are empty and the system status is reporting as green check marks.
2) None of my events in my indexes from before are appearing.
Thanks!
Re: Moving a node to a new server
Posted: Thu Jan 12, 2017 2:26 pm
by CameronWP
mcapra wrote:A very important question: How many nodes exist in your current cluster?
If this a 2+ node environment, it's much more efficient to just power down the old node then spin up a fresh instance of Nagios Log Server and add it to the existing cluster.
I tried updating the ClusterID in the conf files and restarting the services but it hasn't made a difference.
Before I offer any insights, can you tell me exactly which sections of which files you modified?
I'd found a previous article talking about how the cluster_id must match in the conf file and mine did not match. This was the link:
https://support.nagios.com/forum/viewto ... 38&t=33950
Re: Moving a node to a new server
Posted: Thu Jan 12, 2017 2:31 pm
by CameronWP
Hi:
My old logs are appearing now but my reporting hosts is still locked at 2 although there should be about 80 listed.
Thanks!
Re: Moving a node to a new server
Posted: Thu Jan 12, 2017 3:03 pm
by CameronWP
Hi:
It appears I just didn't wait long enough.

Bit embarrassing but I am fully in business now. Thanks!
Re: Moving a node to a new server
Posted: Thu Jan 12, 2017 3:44 pm
by mcapra
Awesome! Did you have additional questions regarding this issue, or can we close this thread and mark the issue as resolved?
We can also leave this thread open if you would like to wait a bit and make sure the machine is rock-solid.