Ubotu failover setup

Ben Rubin bnrubin at gmail.com
Wed Sep 19 12:20:04 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I had discussed a similar solution a while ago when we lost ubotu to
something or other.  It wasn't nearly this detailed, but we realized that we
needed something automatic in place.

The only issue that I can see with your plan is that when ubotu regains its
connection after a netsplit or similar connectivity disruption, it does not
reconnect to its channels a timely fashion, or at all.  So either we need to
fix the root cause of that, or have the backup bots failover on a channel by
channel basis.




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: http://firegpg.tuxfamily.org

iD8DBQFG8RPf19l+4izFNGIRAtRrAJ49uqnOqNpR0Ne+1/1q7c4FaO4a/gCgnDOC
CB/d4Io5RRdNLgeZaDb7Aj0=
=6avn
-----END PGP SIGNATURE-----
On 9/19/07, Dennis Kaarsemaker <dennis at ubuntu.com> wrote:
>
> Hiya,
>
> I've been pondering about a good Ubotu failover setup for a while and
> here's what I've come up with. If nobody thinks this is a terrible idea,
> I'd like to implement it soon.
>
> - N copies of ubotu run at N hosts
> - The nicknames of all copies are linked to ubotu
> - There is a fixed order of preference between them, with ubotu itself
>   being leading
> - Code and datafiles (except users) are synchronized automatically
> - The copies do not have users and are in read-only mode (so no factoid
>   editing)
> - During normal operation the copies only exist in #ubuntu-bots
> - The copies all run an extra plugin, FailOver, that will detect when
>   ubotu or any copy leaves unexpectedly or comes back
> - When a copy becomes the first preferred copy, because ubotu (and
>   possibly other copies) are unavailable, it will join all channels
>   ubotu needs to be in. It will not assume the nickname ubotu
> - When ubotu is back in a channel, the copy of ubotu will automatically
>   leave it.
>
> Thoughts, comments?
>
> --
> Dennis K.
>
> Time is an illusion, lunchtime doubly so.
>
> --
> Ubuntu-irc mailing list
> Ubuntu-irc at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-irc
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-irc/attachments/20070919/4f8aa24b/attachment.html>


More information about the Ubuntu-irc mailing list