ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    New Project - Thoughts? (CentOS, HAProxy, Load Balance)...

    Scheduled Pinned Locked Moved IT Discussion
    56 Posts 6 Posters 3.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Is this pure web? Nginx might be better than HA-Proxy.

      J 2 Replies Last reply Reply Quote 1
      • J
        Jimmy9008 @scottalanmiller
        last edited by

        @scottalanmiller said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:

        Is this pure web? Nginx might be better than HA-Proxy.

        I will take a look at Nginx too. Any benefits over HAProxy?

        The sites are IIS, only one webserver for each site, all going to a series of SQL Servers for data etc...
        I aim to change the IIS boxes to all be load balanced (somehow).

        Like I said, don't mind learning new things, like doing so in fact - just want to make sure what I'm learning is down the right path...

        Technically, from an infrastructure pov, we have four nodes running HyperV 2016. Each has a number of 2016 VMs running on it, a mix of IIS servers and SQL Servers etc. We have a few older boxes, but still very decent, which could be provisioned as Linux/load balance boxes.

        1 Reply Last reply Reply Quote 0
        • J
          Jimmy9008 @scottalanmiller
          last edited by

          @scottalanmiller

          Only HTTP/S traffic from the IIS boxes to clients. They aren't used for anything else.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            Nginx is very good for that. Does caching.

            J 1 Reply Last reply Reply Quote 1
            • scottalanmillerS
              scottalanmiller
              last edited by

              Nginx will also do your SSL termination taking that load off of Windows.

              J 1 Reply Last reply Reply Quote 0
              • J
                Jimmy9008 @scottalanmiller
                last edited by

                @scottalanmiller

                So, NGINX Plus, I will take a look at that. Do they have a totally free version?
                CentOS with HAProxy is totally free right?

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • J
                  Jimmy9008 @scottalanmiller
                  last edited by

                  @scottalanmiller

                  @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?

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @Jimmy9008
                    last edited by

                    @Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:

                    @scottalanmiller

                    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.

                    J 1 Reply Last reply Reply Quote 1
                    • scottalanmillerS
                      scottalanmiller @Jimmy9008
                      last edited by

                      @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?

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jimmy9008 @scottalanmiller
                        last edited by

                        @scottalanmiller

                        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.

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @Jimmy9008
                          last edited by

                          @Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:

                          @scottalanmiller

                          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/

                          1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller
                            last edited by

                            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?

                            J 1 Reply Last reply Reply Quote 1
                            • J
                              Jimmy9008 @scottalanmiller
                              last edited by

                              @scottalanmiller

                              @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

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch
                                last edited by

                                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.

                                J 1 Reply Last reply Reply Quote 1
                                • J
                                  Jimmy9008 @JaredBusch
                                  last edited by

                                  @JaredBusch

                                  @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.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @Jimmy9008
                                    last edited by

                                    @Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:

                                    @JaredBusch

                                    @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.

                                    J 1 Reply Last reply Reply Quote 0
                                    • J
                                      Jimmy9008 @JaredBusch
                                      last edited by Jimmy9008

                                      @JaredBusch

                                      @JaredBusch said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:

                                      @Jimmy9008 said in New Project - Thoughts? (CentOS, HAProxy, Load Balance)...:

                                      @JaredBusch

                                      @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?

                                      JaredBuschJ 1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch
                                        last edited by

                                        If you're going to constrain yourself to on premise then as Scott suggested Nginx is the probably the best thing to do

                                        J 1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @Jimmy9008
                                          last edited by

                                          @Jimmy9008 oh I see with this you off that word should be hosted sorry Siri messed up

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch
                                            last edited by

                                            I don't edit while driving and honestly I missed the word that time

                                            J 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post