This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Internal Load Balancing

So I have 2 MariaDB servers setup in a master master replication status.  I went into the load balancing section and added a LB rule for them.  From all indications everything looks correct.  The server shows both DB servers up and running.

I set it up like this

Service MySQL
Virtual an additional IP that I tied to the internal interface
My 2 DB Servers

The load balancing works great for my external facing services but this isn't the first problem I've had with internal loadbalancing.  I setup one for NTP with the same deal.  It works great for the external side of things but internally I cannot get it to work.  

Thank you all in advance for your help with this.


This thread was automatically locked due to age.
Parents
  • Ahhhhh, not Load Balancing at all!

    Your NAT rule is ineffective because you can't DNAT traffic to a network or group.  If you have that setup and you are trying to use a Load Balancing rule, the DNAT captures the traffic first and, essentially, sends it to bit Heaven.  (See #2 in Rulz.)

    You will want to disable/delete that NAT rule, add/enable the SNAT I recommended earlier in this thread (please let us know if it works without enabling that rule) and add/enable a rule in 'Network Protection >> Load Balancing'.

    Does it work as you want, now?

    Cheers - Bob
Reply
  • Ahhhhh, not Load Balancing at all!

    Your NAT rule is ineffective because you can't DNAT traffic to a network or group.  If you have that setup and you are trying to use a Load Balancing rule, the DNAT captures the traffic first and, essentially, sends it to bit Heaven.  (See #2 in Rulz.)

    You will want to disable/delete that NAT rule, add/enable the SNAT I recommended earlier in this thread (please let us know if it works without enabling that rule) and add/enable a rule in 'Network Protection >> Load Balancing'.

    Does it work as you want, now?

    Cheers - Bob
Children
No Data