Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HA Proxy balanced by server loads...

    Scheduled Pinned Locked Moved Cache/Proxy
    4 Posts 2 Posters 528 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.
    • R
      Ralz
      last edited by

      Good day.

      Can I make a configuration that pfSense checks the load of servers and send more packets to the server with less load?

      Thanks in advanced.

      Ralz

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        To query the servers in order to determine the load? Not by default. Might be scriptable but I've never seen it done.

        There are various load-balance algorithms though for determining server load by throughput or connections etc:
        http://cbonte.github.io/haproxy-dconv/1.7/intro.html#3.3.5

        Steve

        1 Reply Last reply Reply Quote 0
        • R
          Ralz
          last edited by

          Thanks Steve.

          I need to configure high availability for SMTP, my idea is distribute connections based in the load of servers.
          For example, when my first server is proccessing mails with large attachemnts, the second server will receive more connections during the time that first server has a high load of proccess.

          Ralz

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Hmm, not sure I've seen that specific use case but I would set it up and try the different algorithms to see what works best for you.

            Steve

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.