Tobias Steen
2011-Oct-01 22:30 UTC
[asterisk-users] Make asterisk cluster appear and operate as a single server?
Hi, I'm trying to plan a system of clustered asterisk machines where a number of SIP trunks will be hosted on the platform. Each trunk will be hosted for a specific customer who owns it and therefore payment is handled directly between the customers and their trunk-providers, each trunk will have about 50-200 simultaneous calls. No SIP phones will be directly connected to the platform, my thought is that the asterisk machines should only receive incoming and make outgoing calls through the trunks, and then connect the calls with each other. To make this scalable and have the option of running an infinite number of sip-trunks, I need a good way to load-balance my asterisk servers and implement failover support and also be able to add / replace the machines in the cluster in a safe and reliable way. I'm have some experience building single asterisk solutions but I have never worked with load balancing of multiple asterisk machines. Is it possible to configure all trunks on a single asterisk setup which is then reflected over a cluster of asterisk machines? If I have a cluster of machines, I guess I need some kind of front-end application / system? I will then also need to be able to connect calls between the machines, the calls to be connected with each other will always be incoming and outgoing on the same trunk. In other words, I want to create a large cluster of asterisk machines to appear and operate as a single asterisk server. I've looked at projects like OpenSIP but it feels like this is not really what I need? I really appreciate if someone can help me get on the correct path here, I need all the feedback I can get. Thanks in advance! Best regards Tobias -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111002/02322650/attachment.htm>
Michelle Dupuis
2011-Oct-02 02:12 UTC
[asterisk-users] Make asterisk cluster appear and operate as a single server?
If one server is supposed to carry the full load of the other during failure, then you have to size each server to handle 100% load - so load balancing is pointless. Checkout haast at www.generationd.com<http://www.generationd.com> and read the docs on how it does failover...certainly good for ideas. ________________________________ From: asterisk-users-bounces at lists.digium.com [asterisk-users-bounces at lists.digium.com] On Behalf Of Tobias Steen [tobias.steen at s2.se] Sent: Saturday, October 01, 2011 6:30 PM To: Asterisk Users List Subject: [asterisk-users] Make asterisk cluster appear and operate as a single server? Hi, I'm trying to plan a system of clustered asterisk machines where a number of SIP trunks will be hosted on the platform. Each trunk will be hosted for a specific customer who owns it and therefore payment is handled directly between the customers and their trunk-providers, each trunk will have about 50-200 simultaneous calls. No SIP phones will be directly connected to the platform, my thought is that the asterisk machines should only receive incoming and make outgoing calls through the trunks, and then connect the calls with each other. To make this scalable and have the option of running an infinite number of sip-trunks, I need a good way to load-balance my asterisk servers and implement failover support and also be able to add / replace the machines in the cluster in a safe and reliable way. I'm have some experience building single asterisk solutions but I have never worked with load balancing of multiple asterisk machines. Is it possible to configure all trunks on a single asterisk setup which is then reflected over a cluster of asterisk machines? If I have a cluster of machines, I guess I need some kind of front-end application / system? I will then also need to be able to connect calls between the machines, the calls to be connected with each other will always be incoming and outgoing on the same trunk. In other words, I want to create a large cluster of asterisk machines to appear and operate as a single asterisk server. I've looked at projects like OpenSIP but it feels like this is not really what I need? I really appreciate if someone can help me get on the correct path here, I need all the feedback I can get. Thanks in advance! Best regards Tobias -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111001/a771b774/attachment.htm>