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

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

    IT Discussion
    6
    56
    3.3k
    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

      NGinx and HA-Proxy are fine tools for this, just DO NOT use them as load balancers. No reason for that complexity, it will have no benefits for you, but will have negatives.

      J 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 and HA-Proxy are fine tools for this, just DO NOT use them as load balancers. No reason for that complexity, it will have no benefits for you, but will have negatives.

        Yes, I see this now. Thank you. Wrong terminology from me. My goal then is to have multiple IIS instances running on different hardware (on VMs on different hardware), being routed to through a pair of (somethings?) which will stop routing to any of those sites that are down. 🙂

        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

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

          NGinx and HA-Proxy are fine tools for this, just DO NOT use them as load balancers. No reason for that complexity, it will have no benefits for you, but will have negatives.

          Yes, I see this now. Thank you. Wrong terminology from me. My goal then is to have multiple IIS instances running on different hardware (on VMs on different hardware), being routed to through a pair of (somethings?) which will stop routing to any of those sites that are down. 🙂

          Right, yes, and that's why HA-Proxy doesn't have Load Balancing in its name, but rather High Availability. Because failover is its primary use case.

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

            @scottalanmiller

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

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

            @scottalanmiller

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

            NGinx and HA-Proxy are fine tools for this, just DO NOT use them as load balancers. No reason for that complexity, it will have no benefits for you, but will have negatives.

            Yes, I see this now. Thank you. Wrong terminology from me. My goal then is to have multiple IIS instances running on different hardware (on VMs on different hardware), being routed to through a pair of (somethings?) which will stop routing to any of those sites that are down. 🙂

            Right, yes, and that's why HA-Proxy doesn't have Load Balancing in its name, but rather High Availability. Because failover is its primary use case.

            So NGINX over HAProxy? Or something else?

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

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

              If you only wanted load balancing ,CloudFlare will do that for you.

              Actually, no it will not because all loads are behinds two pipes. So Cloudflare could only partially load balance this. He has multiple servers behind two pipes.

              Cloudflare cannot load balance the servers, only the two pipes.

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

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

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

                If you only wanted load balancing ,CloudFlare will do that for you.

                Actually, no it will not because all loads are behinds two pipes. So Cloudflare could only partially load balance this. He has multiple servers behind two pipes.

                Cloudflare cannot load balance the servers, only the two pipes.

                As long as each server has an IP address, CF will round robin load balance them.

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

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

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

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

                  If you only wanted load balancing ,CloudFlare will do that for you.

                  Actually, no it will not because all loads are behinds two pipes. So Cloudflare could only partially load balance this. He has multiple servers behind two pipes.

                  Cloudflare cannot load balance the servers, only the two pipes.

                  As long as each server has an IP address, CF will round robin load balance them.

                  No Scott, multiple servers on the LAN behind only 2 WAN IP addresses. Cloudflare has no visibility into this. This is basic.

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

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

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

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

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

                    If you only wanted load balancing ,CloudFlare will do that for you.

                    Actually, no it will not because all loads are behinds two pipes. So Cloudflare could only partially load balance this. He has multiple servers behind two pipes.

                    Cloudflare cannot load balance the servers, only the two pipes.

                    As long as each server has an IP address, CF will round robin load balance them.

                    No Scott, multiple servers on the LAN behind only 2 WAN IP addresses. Cloudflare has no visibility into this. This is basic.

                    Oh, I missed that he had only two WAN IP addresses.

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

                      Hey folks,

                      I've got this working using CentOS and HAProxy. I also want to do this with Nginx, so will run with that as a lab next week. More I understand that the better. Thanks for sending me down a good path.

                      Ok, so, with Linux, what is best practice regarding security?
                      Using CentOS currently. I assume I need to install an AV, what options do I have? From a fresh install, do I need to close any holes? System update has been done already, but I reckon I am missing lots that is a best practice for Linux?

                      Like i'e said... totally new with Linux so any pointers would be great. Ive seen the guide to Linux admin posted on this site already and will work through that in the coming weeks... but anything I should be wary of? The 'whatever you do, don't do...' sort of thing...

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

                        In Windows, Remote Access/RDP etc is not enabled OOB. I assume the same in Linux? Unless you can connect to each through a command line/ssh or something, which maybe needs to be enabled/disabled etc...

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

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

                          In Windows, Remote Access/RDP etc is not enabled OOB. I assume the same in Linux? Unless you can connect to each through a command line/ssh or something, which maybe needs to be enabled/disabled etc...

                          Linux has no default, it is the distros here that would have a default. CentOS defaults to SSH enabled. Most places leave it enabled. But certainly not all.

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