IRC Services with failover support?

Posted by insertjokehere on Server Fault See other posts from Server Fault or by insertjokehere
Published on 2011-02-14T02:34:40Z Indexed on 2011/02/14 23:27 UTC
Read the original article Hit count: 241

Filed under:
|
|

I run a single server (call it 'server A') IRC 'network', and thank to the generosity of some friends, I have been given a second server ('server B') that I can run an IRCd on in order to provide redundancy in case server A crashes. This is fine, I can set up a round-robin DNS with the servers linked. The problem I have is what to do about services? Does anyone know of a way to get the services to 'fail over' in case of a server failure? Eg, Server A starts off running the services, but suddenly crashes. Server B detects this and starts its own copy of the services (ideally with the same configuration and data as the services on Server B)

One solution that comes it mind is to write a bot that each server runs, that sit in a channel periodically checking if the bot from the other server is in the channel. If it is, then all is well. If not, then failover. I would prefer not to have to code this myself though

We are currently using Unreal IRCd and Anope services on Linux

© Server Fault or respective owner

Related posts about failover

Related posts about redundancy