Recommendations For Free Virtual Server Tech And Asterisk?

Home » Asterisk Users » Recommendations For Free Virtual Server Tech And Asterisk?
Asterisk Users 13 Comments

What is the best virtual server tech (and most stable, etc) to use for a asterisk virtual hosting environment?

I have a client that wants to do virtual hosting of Asterisk (only SIP or IAX, no PRI, etc) and I’m wondering if Xen or something else would be best? We’d like to stay away from the costs of VMWare if possible.

Thanks!

Travis

13 thoughts on - Recommendations For Free Virtual Server Tech And Asterisk?

  • –Apple-Mail-7079D95A-A8FD-40B0-909B-1956EF6BF9CE
    Content-Type: text/plain;
    charset=utf-8
    Content-Transfer-Encoding: base64

    UGVyc29uYWxseSBJIGFtIGFib3V0IHRvIHRyeSBhc3RlcmlzayBvbiBwcm94bW94IHVzaW5nIGNv bnRhaW5lcnMgc2luY2UgdGhleSBydW4gY29kZSAibmF0aXZlIi4gSSd2ZSBoYWQgdGltaW5nIGlz c3VlcyBvbiBjb25mZXJlbmNlIGNhbGxzIChzdHV0dGVyKSB3aXRoIFZNd2FyZSBlc3hpIC4gTm90
    IHN1cmUgYWJvdXQgS1ZNIEkgaG9wZSBpdCdzIGFsc28gYmV0dGVyIHRoYW4gZXN4aSB0b28uDQoN
    ClNlbnQgZnJvbSBteSBpUGhvbmUNCg0KPiBPbiBBcHIgNiwgMjAxNiwgYXQgOToxMyBBTSwgTWFy a29zIFZha29uZGlvcyA8bXZha29uZGlvc0BnbWFpbC5jb20+IHdyb3RlOg0KPiANCj4gUHJveG1v eCBhbmQgS1ZNIG9uIFVidW50dSANCj4gDQo+PiBPbiBXZWRuZXNkYXksIDYgQXByaWwgMjAxNiwg UnlhbiwgVHJhdmlzIDxSeWFuVEBvc2NhcndpbnNraS5jb20+IHdyb3RlOg0KPj4gV2hhdCBpcyB0
    aGUgYmVzdCB2aXJ0dWFsIHNlcnZlciB0ZWNoIChhbmQgbW9zdCBzdGFibGUsIGV0YykgdG8gdXNl IGZvciBhIGFzdGVyaXNrIHZpcnR1YWwgaG9zdGluZyBlbnZpcm9ubWVudD8NCj4+IA0KPj4gIA0K
    Pj4gDQo+PiBJIGhhdmUgYSBjbGllbnQgdGhhdCB3YW50cyB0byBkbyB2aXJ0dWFsIGhvc3Rpbmcg b2YgQXN0ZXJpc2sgKG9ubHkgU0lQIG9yIElBWCwgbm8gUFJJLCBldGMpIGFuZCBJ4oCZbSB3b25k ZXJpbmcgaWYgWGVuIG9yIHNvbWV0aGluZyBlbHNlIHdvdWxkIGJlIGJlc3Q/IFdl4oCZZCBsaWtl IHRvIHN0YXkgYXdheSBmcm9tIHRoZSBjb3N0cyBvZiBWTVdhcmUgaWYgcG9zc2libGUuDQo+PiAN
    Cj4+ICANCj4+IA0KPj4gVGhhbmtzIQ0KPj4gDQo+PiAgDQo+PiANCj4+IFRyYXZpcw0KPj4gDQo+
    IC0tIA0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX18NCj4gLS0gQmFuZHdpZHRoIGFuZCBDb2xvY2F0aW9uIFByb3Zp ZGVkIGJ5IGh0dHA6Ly93d3cuYXBpLWRpZ2l0YWwuY29tIC0tDQo+IE5ldyB0byBBc3Rlcmlzaz8g Sm9pbiB1cyBmb3IgYSBsaXZlIGludHJvZHVjdG9yeSB3ZWJpbmFyIGV2ZXJ5IFRodXJzOg0KPiAg ICAgICAgICAgICAgIGh0dHA6Ly93d3cuYXN0ZXJpc2sub3JnL2hlbGxvDQo+IA0KPiBhc3Rlcmlz ay11c2VycyBtYWlsaW5nIGxpc3QNCj4gVG8gVU5TVUJTQ1JJQkUgb3IgdXBkYXRlIG9wdGlvbnMg dmlzaXQ6DQo+ICAgaHR0cDovL2xpc3RzLmRpZ2l1bS5jb20vbWFpbG1hbi9saXN0aW5mby9hc3Rl cmlzay11c2Vycw0K
    –Apple-Mail-7079D95A-A8FD-40B0-909B-1956EF6BF9CE
    Content-Type: text/html;
    charset=utf-8
    Content-Transfer-Encoding: base64

    PGh0bWw+PGhlYWQ+PG1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vd3d3LmFzdGVyaXNrLm9yZy9o ZWxsbyI+aHR0cDovL3d3dy5hc3Rlcmlzay5vcmcvaGVsbG88L2E+PC9zcGFuPjxicj48c3Bhbj48
    L3NwYW4+PGJyPjxzcGFuPmFzdGVyaXNrLXVzZXJzIG1haWxpbmcgbGlzdDwvc3Bhbj48YnI+PHNw YW4+VG8gVU5TVUJTQ1JJQkUgb3IgdXBkYXRlIG9wdGlvbnMgdmlzaXQ6PC9zcGFuPjxicj48c3Bh bj4gJm5ic3A7Jm5ic3A7PGEgaHJlZj0iaHR0cDovL2xpc3RzLmRpZ2l1bS5jb20vbWFpbG1hbi9s aXN0aW5mby9hc3Rlcmlzay11c2VycyI+aHR0cDovL2xpc3RzLmRpZ2l1bS5jb20vbWFpbG1hbi9s aXN0aW5mby9hc3Rlcmlzay11c2VyczwvYT48L3NwYW4+PC9kaXY+PC9ibG9ja3F1b3RlPjwvYm9k eT48L2h0bWw+
    –Apple-Mail-7079D95A-A8FD-40B0-909B-1956EF6BF9CE

  • Hello,

    Work well with kvm and CentOS 7. Some ajustements has to be made with systemd.

    I’m using it in production since 1.5 year now, no issue to report.

    Regards. Le 6 avr. 2016 21:13, “Yves” a écrit :

    Le 06/04/2016 18:12, Markos Vakondios a écrit :

    Good evening,

    My English is limited but if I can help.

    We install Asterisk Version 13.1 on VmWare with Debian 8.2, no problem since June 2015, currently I have tested on Unbutu 14.04 but problem with network-manager (problem of stability with Asterisk 1.8.32 and difficulty with routing network-manager).

    I also installed Asterisk on KVM (Debian 8.2) no problem (but not test with dahdi) without particular problem.

    here is my little opinion

    Hello everyone

    Proxmox and KVM on Ubuntu

  • List,

    Might as well throw my hat in the ring!

    I can’t say it’s the ‘best’ way to do it, but I’ve been running Asterisk VMs inside the free ‘VirtualBox’ software for many years with nill issues (well, nill related to the hypervisor environment itself anyway!).

    https://www.virtualbox.org

    Pete

  • If you want to use dahdi dummy driver inside asterisk for timer then this is possible with openvz based container virtualization.

    We have tested vicidial in this mode for 5-10 agents and it worked well.

    Mitul Limbani

  • Please dont use OpenVZ with asterisk. My office once told me to make asterisk PBX with OpenVZ on Proxmox (I
    forget about the version). It run well when just < 20 SIP user register. It supposed to registered about 400 sip user But, when arround 50-60 SIP user registered to that server, the problem showed. There were lagged SIP registration (Sip user were unregister and register it self, with more then 3000ms lagged time) Calls cannot be made (incoming & outgoing), or dropped off. Although at the end all main server (proxmox) resource was use for that OpenVZ server (main server was xeon intel with 24 core), it doesnt help at all. It was terrible. Later on, i found the article that say that OpenVZ is the most unrecomended for Asterisk server, and XEN is the best one. (but I never use Xen, just go back to non virtual server for now)

  • https://sysadminman.net/blog/2011/asterisk-virtualization-openvz-or-vmware-3004

    OpenVZ provides operating system-level virtualization where the underlying hardware runs a kernel that is shared by all of the virtual machines.

    Where OpenVZ gets a bad name is that it’s very easy to provision many more VPSs on a physical server than that server can really handle. This means lots of virtual machines all trying to use the CPU, ram, network etc on the underlying server, resulting in bottlenecks. This might not be a problem on a webserver. If a web server takes half a second longer to display a web page because the server is overloaded then maybe nobody will notice. However, if your VOIP packets are delayed for half a second then you will definitely notice!

    Probably the most crucial fact about running Asterisk on a VPS though is who you are sharing the underlying hardware with, and how well the server is managed. Even if there are only a few other virtual servers on that server and they are allowed to abuse the resources available then you will likely get a bad VOIP experience. This can definitely be the case where Asterisk is installed on a general purpose VPS.

  • Hello there Travis,

    You can check the FREE VMware ESXi with Zero $$ Cost if you will not use the enterprise frature google it. or the open source KVM both works great to use in your asterisk production environment and easy of operation management.

  • That’s odd logic, IMHO.

    OpenVZ (and likewise LXC, docker, systemd nspawn, rkt and the likes) are containers: they seperate userspace while running on the same kernel. This greatly reduces the overhead of virtualization compared to full-system virtualization, such as KVM, VirtualBox or VMWare.

    The reduced overhead naturally means that service providers are able to overbook their service much more efficiently with openvz and the likes than with vmware and the likes. But this is irrelevant if you run the server.

    There is a different issue of separation, but it is parallel to performance.


    Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen@xorcom.com
    +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com

  • 2016-04-06 17:02 GMT+02:00 Dovid Bender :

    Are you using something like PCI-passthrough to pass PCI cards to guest machine ?
    Has someone tried this ?