[asterisk-users] Asterisk Load Balancing

Darren Sessions dmsessions at gmail.com
Sun Oct 5 00:52:16 CDT 2008


I know. :)

I've already mentioned some of the OpenSIPS options to him on the  
OpenSIPS users list (LCR module specifically). Just brain dumping  
everything that came to mind.

- D

_____________________________

Darren Sessions
dmsessions at gmail.com
http://www.darrensessions.com
_____________________________





On Oct 4, 2008, at 10:31 PM, Alex Balashov wrote:

> OpenSIPS/Kamailio have modules designed specifically for that kind of
> functionality now without a need for an outside monitoring process or
> SRV reliance.
>
> Darren Sessions wrote:
>
>> One other thing you could try would be to use OpenSIPS and use a
>> standard config that routes to a hostname (with a creative failure  
>> route
>> setup). You'd then setup the hostname in DNS as multiple SRV records
>> reflecting your pool of Asterisk servers (set your TTL very low for
>> these records). You could have something like sipsak send test  
>> messages
>> every 30 seconds or so to each of the Asterisk servers. If one quits
>> responding, then the monitoring app updates your DNS servers removing
>> the effected Asterisk server from the DNS pool and effectively from  
>> the
>> usable gateway pool.
>>
>> I actually wrote one of these ages ago that worked fairly well with  
>> a10
>> calls per second SER server. How many calls per second are you  
>> looking
>> to process?
>>
>> - D
>>
>>
>> _____________________________
>>
>> Darren Sessions
>> dmsessions at gmail.com <mailto:dmsessions at gmail.com>
>> http://www.darrensessions.com
>> _____________________________
>>
>>
>>
>>
>>
>> On Oct 4, 2008, at 9:59 PM, John D wrote:
>>
>>> Hi all,
>>>
>>> I've googled around for concrete solutions on load balancing  
>>> Asterisk,
>>> and it appears there are several ways to skin this cat -- but not  
>>> one
>>> solution which is all appealing. I have the following requirements,
>>> which aren't anything extraordinary:
>>>
>>> * I need to handle roughly 300 simultaneous phone calls to start
>>> * Eventually scale to 1000 simultaneous phone calls
>>> * I want to be able to pull out an entire server from the cluster
>>> without affecting my application
>>> * I'm doing all my trunking over SIP
>>>
>>> So far I've seen folks mention the use of DUNDi and OpenSER(Now
>>> OpenSIPS), but unfortunately the documentation out there is rather
>>> sparse and lacks detail for someone who isn't extremely keen with  
>>> the
>>> intricate details of Asterisk or OpenSIPS.
>>>
>>> Would anyone be able to suggest a good starting point in as far as
>>> reading documentation and testing out some solutions? I'd also be up
>>> for hiring a consultant to help me get started -- but I believe the
>>> proper forum for that is asterisk-biz. (Which I've already posted  
>>> to).
>>>
>>> Thank you for your insight on load balancing Asterisk.
>>>
>>> _______________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com  
>>> --
>>>
>>> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>>> Register Now: http://www.astricon.net
>>>
>>> asterisk-users mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>  http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
>> Register Now: http://www.astricon.net
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> -- 
> Alex Balashov
> Evariste Systems
> Web    : http://www.evaristesys.com/
> Tel    : (+1) (678) 954-0670
> Direct : (+1) (678) 954-0671
> Mobile : (+1) (706) 338-8599
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081004/e7c074c7/attachment.htm 


More information about the asterisk-users mailing list