<div dir="ltr">Good post.<div> Actually this is the architecture we  have.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 7, 2014 at 11:31 AM, Paul Belanger <span dir="ltr"><<a href="mailto:paul.belanger@polybeacon.com" target="_blank">paul.belanger@polybeacon.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Mar 6, 2014 at 3:33 PM, Markus <<a href="mailto:universe@truemetal.org">universe@truemetal.org</a>> wrote:<br>

> Hi Thorolf,<br>
><br>
> Am 06.03.2014 16:21, schrieb Thorolf Godawa:<br>
><br>
>> Using (para-)virtualization with Xen could be an other option, on<br>
>> systems with low load this works reliable, but what happens on systems<br>
>> with high load? Are there any issues known about problems with the<br>
>> realtime, packet loss etc. because it runs in a VM?<br>
><br>
><br>
> hmm, all my Asterisk'es run in (KVM) VMs, no issues there. But how is this<br>
> related to high availability? I think it's not. :)<br>
><br>
> I think the way to go for high availability (and scalability) is Kamailio!<br>
> In a redundant setup, running on 2 separate physical machines (maybe in a<br>
> VM, doesn't matter). Then you make them failsafe using whatever tool(s)<br>
> available. Then you can set up 1, 2, 10 or 100 Asterisk "behind" Kamailio<br>
> and any of them could fail (but 1 :-) ) and you will still be online.<br>
><br>
> If you want to further develop the high availability thought, then you could<br>
> use CephFS which will give you self-healing, 100% available storage over<br>
> multiple physical storage servers. There you could store your Asterisk<br>
> config files, or your MySQL database used by all the Asterisk servers, for<br>
> CDRs, SIP registrations etc. It's kinda slow, but I think fast enough for<br>
> Asterisk / MySQL. :)<br>
><br>
> And, to scale and to make the Asterisk nodes redundant (redundancy is not<br>
> really needed anymore, since Kamailio takes care of that, but basically then<br>
> you get also VM/physical redundancy), you could look into OpenNebula which<br>
> provides a nice auto-scaling feature already out of the box. If there's load<br>
> on your Asterisk VMs, OpenNebula will detect this and spawn new Asterisk VMs<br>
> (probably on different physical servers, otherwise it doesn't make that much<br>
> sense performance-wise) which will automagically receive requests/calls from<br>
> Kamailio. If the load goes down, the VM can be automagically stopped again<br>
> to free resources for other VMs/applications. OpenNebula is less popular<br>
> than OpenStack, which seems to be the first choice for Cloud-stuff today,<br>
> but what I liked about OpenNebula is that it provides the auto-scaling<br>
> feature already in the customer-facing web-frontend out-of-the-box, unlike<br>
> OpenStack. So you could offer your customers a self-managed, redundant<br>
> Asterisk cloud or something like that. :)<br>
><br>
> In theory, this combination should give you a 100% redundant, auto-healing,<br>
> auto-scaling VoIP setup. :)<br>
><br>
+1 to this post.  A lot of good information here.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Paul Belanger | PolyBeacon, Inc.<br>
Jabber: <a href="mailto:paul.belanger@polybeacon.com">paul.belanger@polybeacon.com</a> | IRC: pabelanger (Freenode)<br>
Github: <a href="https://github.com/pabelanger" target="_blank">https://github.com/pabelanger</a> | Twitter: <a href="https://twitter.com/pabelanger" target="_blank">https://twitter.com/pabelanger</a><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div><br></div></div>