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

Has anyone tried load balancing MySQL?

Scheduled Pinned Locked Moved HA/CARP/VIPs
2 Posts 2 Posters 1.9k 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.
  • P
    peterdh44
    last edited by Jan 25, 2009, 6:02 AM

    We are trying to load balance reads against two MySQL replicas and we are having problems.  The slaves are on a subnet connected to an OPT interface.

    When reads come from the WAN and go to the LB Virtual WAN IP it seems to work.  However, when we try to connect from the LAN interface, the connections cannot be made.  I see port 3306 going to the correct IP on the OPT subnet, but responses are not coming back.

    The slaves have web servers attached on eth0 to the LAN and MySQL attached on ETH1 to OPT.

    Any thoughts?  Ive tried various combinations of NATting without success.  What am I missing?

    Thanks,

    Peter

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jan 25, 2009, 6:39 AM

      If the responses aren't coming back, it sounds like the servers are missing their default gateway or have it set to something other than pfSense.

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received