The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Fail-over? by Myke 2006-03-31 12:09:05
I have two TomCat servers. They are redundant and of equal weight.
They talk to a DB, it is replicated across 3 nodes, A->B->C (a chain, not a tree like A->B & A->C)

The DB servers need to know who is master so that one can always be enabled as a master (ie: RO mode off.) The Tomcat servers also need to know this, but they can determine that by seeing which DB is in RW mode.

How do you determine who should be the DB master? How you determine who has failled, how do you define such a failure?

(ie: if B dies, C DOESN'T become the master because A is still fine, unless A died too. If C can't see A or B, is it master? or did it's network card fail?)
[ Reply ]
  That depends on your DB replication solution. (n/t by Arachnid2006-03-31 12:13:58
    Huh? (n/t) by Myke2006-03-31 12:15:47
      Determining failure, etc. by Arachnid2006-03-31 12:49:58
        But that doesn't matter at all. by Myke2006-03-31 13:02:52
  The "dunno" part is the problem. by aix tom2006-03-31 12:25:25
    Presently MySuQL by Myke2006-03-31 12:31:21
      In that case ... by aix tom2006-03-31 13:01:41
        What if we have a split? by Myke2006-03-31 13:04:00
          So maybe let's say ... by aix tom2006-03-31 13:28:48

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)