[Asterisk-Users] High(er) availability
E. Versaevel
erik at infopact.nl
Tue Dec 7 08:53:47 MST 2004
Loosing calls wouldn't be to much of a problem I think, and it would be
impossible to make a gracefull takeover if asterisk is in the mediastream.
keepalived implements vrrp2 so that might be good enough.
The problem lies in the registration data, but that could be "solved" by
using fixed ip addresses for the phones.
I need to setup a test environment, which I might just do :)
Erik
-----Oorspronkelijk bericht-----
Van: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] Namens Tim Donahue
Verzonden: dinsdag 7 december 2004 16:32
Aan: Asterisk Users Mailing List - Non-Commercial Discussion
Onderwerp: Re: [Asterisk-Users] High(er) availability
On Tue, 2004-12-07 at 15:47 +0100, Stefan de Konink wrote:
> E. Versaevel wrote:
> >>Which app do you use for monitoring the primary box and if it fails
> >>taking over the IP address by the backup one? I haven't found a suitable
> >>(active-active) app so far.
> >
> > Thinking of using heartbeat or something.
>
> VRRP, Virtual Redundancy Router Protocol, an option?
>
Cisco claims that VRRP falls under one of their patents, so it could
become an expensive option. There are several options out there at this
point though that may be able to handle the needs for pre-empting the IP
address.
About 1 year ago the OpenBSD project wrote a patent-free alternative for
VRRP called CARP. It allows for sharing of and automatic failover on an
IP address. I have used it to build redundant firewalls that don't lose
any state information when the connection drops. CARP is of course built
into OpenBSD however I did find what looks to be a userland
implementation for Linux. See www.ucarp.org for more information.
There are other possible solutions as well, unfortunately I have not
used any of these solutions they are just from brief google search. LVS
(Linux Virtual Server) mentions "VoIP services" however I do not know if
Asterisk would run in a cluster environment. There are also several
sites that deal with high availibity from linux, the first one I noticed
that looked like it had some really valuable information is
www.linux-ha.org.
Unfortunately this is all the easy part. The difficult part will be
getting Asterisk to handle the failover gracefully. You probably don't
want to lose all the SIP registration data and I have no idea if it will
be possible to prevent you from losing the calls. You haven't named
that as one of your goals, but it is always something to think about.
--
Tim Donahue <tdonahue at haynes-group.com>
Haynes Group, Incorporated
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list