Morgan (boobay) wrote in lj_everywhere,
Morgan
boobay
lj_everywhere

  • Mood:
  • Music:

LJ using two Masters DBs

Hi,

I set up a LJ on two dedicated servers, both have exactly the same code and mysql data:

A is master for B and slave to B
B is master for A and slave to A

(two way replication 4.0.14)
So far only A is visible to the public, B also always seams to get updated instantly / seams to update A correctly.
I am now thinking about DNS load balancing (hitting A or B randomly) - in LJ's config is only 1 DB server each,
it's a pure mysql replication solution so far.

Will this work longterm, without any DB inconsistencies?
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 4 comments