[asterisk-ha-clustering] Load sharing between two asterisk servers

Ricardo Carvalho rjcarvalho at gmail.com
Wed Jan 9 06:19:28 CST 2008


Thanks Julian, you helped a lot!

Regards,
Ricardo Carvalho.




On Jan 9, 2008 11:30 AM, Julian J. M. <julianjm at gmail.com> wrote:

> Sure, when the second server kicks in, it will use the synced AstDB..
> And that's where asterisk stores registration info:
>
> CLI> database show SIP/Registry
> /SIP/Registry/201                                 :
> 10.200.0.201:5060:3600:201:sip:201 at 10.200.0.201
> /SIP/Registry/202                                 :
> 10.200.0.202:2051:600:202:sip:202 at 10.200.0.202:2051;line=r8a9j9qd
> /SIP/Registry/203                                 :
> 10.200.0.203:5060:3600:203:sip:203 at 10.200.0.203:5060;user=phone
>
> Dundi is great when you have an active-active scenario (with two or
> more servers), in which extensions can be registered on any server
> (load balancing using DNS), and still be reachable from any other
> extension (no matter where they are registered): If an extension is
> not register locally do a DUNDi lookup.
>
> But in this case (active-passive) I think that having a single AstDB
> is better... Also, if only one server is active at the same time, who
> will you query with DUNDi? ;)
>
> Julián J. M.
>
> On Jan 9, 2008 11:21 AM, Ricardo Carvalho <rjcarvalho at gmail.com> wrote:
> > And should a synced AstDB database work to keep all phones registered in
> the
> > second server?
> > Wouldn't be preferred something like DUNDI or whatever?
>
> --
> http://www.julianmenendez.es
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ha-clustering mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-ha-clustering
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ha-clustering/attachments/20080109/9843ac3e/attachment-0001.htm 


More information about the asterisk-ha-clustering mailing list