New Project - Thoughts? (CentOS, HAProxy, Load Balance)...
-
Nginx is very good for that. Does caching.
-
Nginx will also do your SSL termination taking that load off of Windows.
-
So, NGINX Plus, I will take a look at that. Do they have a totally free version?
CentOS with HAProxy is totally free right? -
@scottalanmiller said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
Nginx is very good for that. Does caching.
'Ip_hash' would load balance to IP; that does what I need if I can specify HTTP_CF_CONNECTING_IP as the client IP rather than Cloudflare. Can NGINX do that?
-
@Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
So, NGINX Plus, I will take a look at that. Do they have a totally free version?
CentOS with HAProxy is totally free right?What? Why did you jump from Nginx which is part of CentOS to NGinx Plus which no one here has ever mentioned, ever (in any thread)? Of course it is free, it's been the leading web server for a long time. We all use it. Tons of threads on it. It's part of your OS.
Just do this...
yum install nginx
And there it is.
-
@Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
HTTP_CF_CONNECTING_IP
Why do you want that? What's the goal of this?
-
The first link i found went to that version hence wondering if a free version exists. Like i said, never looked at anything Linux before so a high learning curve here...
I think I that cloud flare header can't be used, the load balancer would see all traffic from the one address and would then point all traffic, like affinity, to the same webserver. Using that value shows the traffic is from different clients.
-
@Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
The first link i found went to that version hence wondering if a free version exists. Like i said, never looked at anything Linux before so a high learning curve here...
I think I that cloud flare header can't be used, the load balancer would see all traffic from the one address and would then point all traffic, like affinity, to the same webserver. Using that value shows the traffic is from different clients.
Oh, I see.
https://www.serverstack.com/blog/2013/01/21/load-distribution-with-nginx-and-cloudflare/
-
Why do you want to load balance multiple IIS instances? Are your individual web servers so big that you can't grow them any longer?
-
@scottalanmiller said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
Why do you want to load balance multiple IIS instances? Are your individual web servers so big that you can't grow them any longer?
The end goal is to 4 x IIS VMs with each being on a different host. Each VM runs the same site (so 4 running copies on different hardware). With load balancer, especially if they can work as a redundant pair too on separate hosts, we'd have to lose all four IIS VMs, or both Internet lines, or both load balancers, or all four hosts to be unavailable to clients.
Or power/flood/Cloudflare issues/what not.
But in terms of what we have available to us, its within reach to at least have better capability with what we can control. I just need to understand what tools to use now, be in HAProxy, NGINX, NetScaler... etc
-
The better question here is why this crap not posted somewhere else why are you doing in internal.
There's no way you can do this is cost efficiently as a hosting provider.
-
@JaredBusch said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
The better question here is why this crap not posted somewhere else why are you doing in internal.
There's no way you can do this is cost efficiently as a hosting provider.
Bad Thursday Jared? Why don't you post your crap somewhere else.
We have on site for many reasons, none of which I need to explain to you. -
@Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
@JaredBusch said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
The better question here is why this crap not posted somewhere else why are you doing in internal.
There's no way you can do this is cost efficiently as a hosting provider.
Bad Thursday Jared? Why don't you post your crap somewhere else.
We have on site for many reasons, none of which I need to explain to you.Don't throw your bad business decisions on me. I simply asked a question because it's true. Something everyone on here always tries to do was get to an actual valid business solution not just the solution a person asks for especially when they specifically stated they did Not know all possible solutions. And less you tell somebody we have no way to know that you evaluated I hosted solution where this could all be done properly or not.
-
@JaredBusch said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
@Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
@JaredBusch said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
The better question here is why this crap not posted somewhere else why are you doing in internal.
There's no way you can do this is cost efficiently as a hosting provider.
Bad Thursday Jared? Why don't you post your crap somewhere else.
We have on site for many reasons, none of which I need to explain to you.Don't throw your bad business decisions on me. I simply asked a question because it's true. Something everyone on here always tries to do was get to an actual valid business solution not just the solution a person asks for especially when they specifically stated they did Not know all possible solutions. And less you tell somebody we have no way to know that you evaluated I hosted solution where this could all be done properly or not.
Yes, all valid questions. 'Why this crap not posted somewhere else' is rude; no need to be rude at all and not appreciated.
Our hosting decisions to keep on site, and to figure out a way to do load balancing etc is also not a bad business decision. It is less expensive than a hosting provider; how exactly do you think it would be more expensive?
-
If you're going to constrain yourself to on premise then as Scott suggested Nginx is the probably the best thing to do
-
@Jimmy9008 oh I see with this you off that word should be hosted sorry Siri messed up
-
I don't edit while driving and honestly I missed the word that time
-
@JaredBusch said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
I don't edit while driving and honestly I missed the word that time
No problem darn typos!
-
@JaredBusch said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
If you're going to constrain yourself to on premise then as Scott suggested Nginx is the probably the best thing to do
We've looked at moving off site a few times. Its way more expensive off site. Since we have our servers, redundant firewalls, switches already, adding a free way to load balance (HAProxy/Nginx/Whatever) adds no real cost to us. We have the hardware and space already.
Moving the kit off site could be done, but why pay to host somewhere else. We have a great DR system, so if we lost Head Office it wouldn't matter. This is for day to day running of the services.
-
@Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
@scottalanmiller said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:
Why do you want to load balance multiple IIS instances? Are your individual web servers so big that you can't grow them any longer?
The end goal is to 4 x IIS VMs with each being on a different host. Each VM runs the same site (so 4 running copies on different hardware). With load balancer, especially if they can work as a redundant pair too on separate hosts, we'd have to lose all four IIS VMs, or both Internet lines, or both load balancers, or all four hosts to be unavailable to clients.
Or power/flood/Cloudflare issues/what not.
But in terms of what we have available to us, its within reach to at least have better capability with what we can control. I just need to understand what tools to use now, be in HAProxy, NGINX, NetScaler... etc
But why? What's the benefit to this?