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

Julian J. M. julianjm at gmail.com
Wed Jan 9 05:30:35 CST 2008


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



More information about the asterisk-ha-clustering mailing list