[Asterisk-Users] looking for failover ideas

William Lloyd wlloyd at slap.net
Tue Aug 23 19:07:19 MST 2005


I'm looking at doing something very similar.

I was going to add into Asterisk Realtime an extra field that is a  
server identifier.  For example to allow multiple asterisk machines  
to use the same CDR DB.  You would be able to select on the data from  
just one of the servers.

Also for example in sip.conf for registration.  Have the specific  
asterisk server that processes the sip registration put it's  
identifier (IP address for example) into a field in the DB also.   
That way other asterisk servers sharing the DB would be able to know  
what asterisk server a SIP phone is registered to.

Does anybody else think this might be useful?

Where would be the best place to have a server identifier variable?   
asterisk.conf?  within the sip.conf that applies just to the sip SQL  
tables?

-bill


On 23-Aug-05, at 1:28 PM, Anish Basu wrote:

> We are building asterisk clusters using mysql replication.  All the
> configuration and cdr data is stored using the res_mysql module.
> Replication creates identical servers.  Then, the phones register  
> to each
> server using DNS SRV records.  If any server goes down, all the phones
> registered to that server will register to any of the remaining  
> servers.
> The only downside of this is that all active calls get dropped once  
> the
> server goes down, but users can make and receive new calls  
> instantaneously.
>
> Another idea is to use Asterisk Realtime so that the mysql  
> replication will
> share registration information between servers, thus eliminating  
> the need
> for the phones to re-register.  Has anyone successfully implemented  
> this or
> something similar?
>
> --Anish
>
> Message: 8
> Date: Tue, 23 Aug 2005 08:33:03 -0700 (PDT)
> From: "Jeremy C. Reed" <reed at reedmedia.net>
> Subject: [Asterisk-Users] looking for failover ideas
> To: Asterisk-Users at lists.digium.com
> Message-ID: <Pine.NEB.4.62.0508230821430.639 at pilchuck.reedmedia.net>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> I found many mailing list threads and one wiki webpage with ideas and
> questions related to failover and high availability solutions.
>
> Is there any webpage or wiki page that summarizes all these ideas?
>
> What I have found:
>
> - case 1: two identical Asterisk boxes with one acting as hot- 
> failure backup
> http://www.voip-info.org/tiki-index.php?page=Asterisk+failover+case1
>
> - low tech DPDT relay
> http://www.voip-info.org/tiki-index.php?page=Asterisk+failover
>
> - VRRPD (KeepAlive daemon)
>
> - Linux-HA and DRBD and heartbeat monitoring
>
> - many mailing list postings with partial ideas
>
> Should I ask the asterisk docs list instead?
>
>   Jeremy C. Reed
>
> _______________________________________________
> 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