Page 1 of 1

Can't add hosts after converting to cluster

Posted: Tue Mar 31, 2015 12:58 pm
by mike4vr
While we were running a single log server, we could add hosts with ease using the shell script. After we converted to a cluster, none of the hosts we want to add show up. The "Home" page shows the same amount of hosts no matter how many more we add. We modified the global configuration to use the cluster hostname, set up a DNS record, and placed them behind a load balancer. All functions appear to be working except for adding hosts. Any ideas what I can check for?

One thing to note. When it was working with a single server, we would run the setup script as such

Code: Select all

bash setup-linux.sh -s loghost1.mydomain.xyz -p 5544
Now we're running:

Code: Select all

bash setup-linux.sh -s cluster.mydomain.xyz -p 5544
cluster.mydomain.xyz obviously points to a single IP on the load balancer that distributes traffic to loghost1.mydomain.xyz and loghost2.mydomain.xyz

Re: Can't add hosts after converting to cluster

Posted: Tue Mar 31, 2015 1:19 pm
by jolson
In your 'hosts' list, is the load balancer showing up? Is it possible that the load balancer is re-writing source IP addresses? If so, is there a transparent mode that you can use?

Re: Can't add hosts after converting to cluster

Posted: Tue Mar 31, 2015 1:47 pm
by mike4vr
jolson wrote:In your 'hosts' list, is the load balancer showing up? Is it possible that the load balancer is re-writing source IP addresses? If so, is there a transparent mode that you can use?
Good call. Just got rid of the load balancer and switched it to round robin via DNS and we've got it working. Thank you.

Re: Can't add hosts after converting to cluster

Posted: Tue Mar 31, 2015 2:12 pm
by jolson
I am glad to hear that - I'll lock this thread. If you have any further questions please feel free to open a new thread. Thanks!