Can cluster be on separate LANs?

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Can cluster be on separate LANs?

Post by eloyd »

Do the NLS servers in a cluster need to be on the same network? Let me 'splain:

Hypothetically, we want to do this:
  • Box X is in a VMware environment in a data center. X has access to all the other boxes in that data center but no public IP accessibility
  • Box Y is in a VMware environment in a lab. Y has access to all the other boxes in that lab but no public IP accessibility
  • There is a VPN between X and Y so that they can talk to each other
Can we make X and Y part of the same cluster and point data center boxes at X and lab boxes at Y but search them both from either X or Y?

I though about just trying it to see, but I don't want to go down that road if it's going to be trouble.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can cluster be on separate LANs?

Post by scottwilkerson »

This should work fine as long as both instances in the cluster can communicate with each other.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Can cluster be on separate LANs?

Post by eloyd »

Do they need to be sized the same as far as disk space allocation or does the cluster spread things around proportionally?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Can cluster be on separate LANs?

Post by tgriep »

The cluster will spread out the data over time between the 2 servers.
We recommend that the servers be as close as possible space wise in case of failure of a larger server, the smaller server will not be able to rebuild the data because of space issues.
Be sure to check out our Knowledgebase for helpful articles and solutions!
stecino
Posts: 248
Joined: Thu Mar 14, 2013 4:42 pm

Re: Can cluster be on separate LANs?

Post by stecino »

I have 4 cluster node system, 2 are in one data center, the other 2 are in another. Works pretty well so far.
One thing I would recommend, in your rsyslog config, forward logs from servers in data center A, to NLS cluster nodes in data center A, and in B to B.
This way you don't have latency.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Can cluster be on separate LANs?

Post by eloyd »

Yes, that's the idea. The big thing is that the people in lab want to be able to see data from both lab and data center. The question was really about whether the VPN was going to cause a problem, but it's looking like "no."

This can be closed.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can cluster be on separate LANs?

Post by scottwilkerson »

It shouldn't be an issue at all
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked