The Community Forums

Interact with an entire community of cPanel & WHM users.
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Use Remote MySQL but keep a slave copy on main cpanel web server.

Discussion in 'Database Discussions' started by NevGibson, Feb 6, 2013.

  1. NevGibson

    NevGibson Registered

    Joined:
    Dec 28, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I currently have 2 cpanel servers: Webster (web), and Databud (mysql), with a fast local connection, so I've used the Remote MySQL feature on Webster, to offload all the database work onto Databud. That is working well.

    What I was hoping to do is also have Webster be a mysql slave for Databud so that in the event that something went wrong on databud I could just switch back to using local mysql on webster. I already have webster's files backed up on databud so the reverse could work to if webster failed. Both servers are powerful enough to handle everything on their own if needed, at least temporarily.

    Has anyone tried this sort of a setup? Is it possible without a ton of work?

    I searched for quite a while and couldn't find anything about it. I tried setting it up myself, but I couldn't do it. I don't know enough about how using Remote MySQL changes things to know if I was going to break stuff. It seemed like I couldn't even access Webster's mysql server, as I was getting auto-forwarded to the one on Databud.

    It seems like this is might be a solution that could be useful for other people, to allow redundancy but still harness the full power of both servers.

    Any thoughts or advice would be appreciated. Thanks!
     
Loading...

Share This Page