Hello, Is it possible to install Asterisk on Vmware(centos) from source. Is there any difference or disadvantage for this compared to asterisk running on physical machine. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100811/05a14968/attachment.htm
Tino wrote:> Hello, > > Is it possible to install Asterisk on Vmware(centos) from source. Is > there any difference or disadvantage for this compared to asterisk > running on physical machine. >What version of vmware? Generally it works but it could be a problem if you require access to dahdi interface cards.
Thanks Gareth for your quick reply. It is the lateset version and i think i need access to Dahdi interface. Is there any disadvantages other than this. On Wed, Aug 11, 2010 at 2:11 PM, Gareth Blades <list-asterisk at skycomuk.com>wrote:> Tino wrote: > > Hello, > > > > Is it possible to install Asterisk on Vmware(centos) from source. Is > > there any difference or disadvantage for this compared to asterisk > > running on physical machine. > > > > What version of vmware? > > Generally it works but it could be a problem if you require access to > dahdi interface cards. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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/20100811/b8d1a6de/attachment.htm
On 08/11/10 18:46, Tino wrote:> Thanks Gareth for your quick reply. > It is the lateset version and i think i need access to Dahdi > interface. Is there any disadvantages other than this.If you need access to cards installed in the machine, you can forget running Asterisk under VMware. VMware does not allow direct access to the underlying hardware on the machine.
Are you talking about VMware Server, ESX/ESXi, or one of their other products? The only VMWare product that I can even conceive might work is ESX/ESXi. Others have already pointed out that in VMware, you won't get direct access to the hardware. VMWare does have some limited capability to directly interface with hardware, but I agree with everybody else that it is likely not going to work. The second problem with VMWare in a virtual machine is timing. On a physical machine, Asterisk and Linux have almost complete control over the timing. That's important for voice data streams that need to send data at precise points in time. In a virtual machine, I would expect poorer sound quality due to dropouts. From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tino Sent: Wednesday, August 11, 2010 1:37 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] asterisk on Vmware Hello, Is it possible to install Asterisk on Vmware(centos) from source. Is there any difference or disadvantage for this compared to asterisk running on physical machine. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100811/f6d4422e/attachment.htm
On 10-08-11 04:36 AM, Tino wrote:> Is it possible to install Asterisk on Vmware(centos) from source. Is > there any difference or disadvantage for this compared to asterisk > running on physical machine.As mentioned you won't have access to DAHDI hardware as VMware won't permit access to it. However, I have run VMware Server 2 on several machines and successfully used Asterisk inside of it, at least for testing purposes. For a while I was running my business PBX in a virtual machine until I ran into some issues, but it ended up not being related to VMware and I never switched it back -- however I have low load (i.e. 2-3 channels at most). Some tips: * If you need hardware access and you can install into the host system (like when you run VMware Server), you could install a barebones Asterisk installation along with DAHDI and use that as the access from your virtual machines to the hardware over SIP (i.e. create a connection from the virtual machine Asterisk to the host system Asterisk via SIP). This way you could have multiple phone numbers and direct each number from the host system to one of several virtual machines. * As of Asterisk 1.6.2, you have additional timing options such as res_timing_pthread and res_timing_timerfd (kernel version dependent). The res_timing_pthread had several issues in the past, but should have been fixed for the most part as of Asterisk version 1.6.2.10 (don't use that timing module before that version). * Giving the virtual machine more RAM than necessary can actually make the system perform worse rather than better in my experience. * Perform load testing with SIPp to make sure you system can handle what you expect to put on it. I typically do this by loading up the system with SIPp and having an extension (my phone) dialed into the Milliwatt() application to listen for when audio quality starts to die, and note that as the max load / max calls / max memory for the system. * Good luck! :) Leif Madsen.
On Wed, Aug 11, 2010 at 4:36 AM, Tino <tino at sparksupport.com> wrote:> Is it possible to install Asterisk on Vmware(centos) from source. Is there > any difference or disadvantage for this compared to asterisk running on > physical machine.This has come up repeatedly on the list. Basically, the less you use it, the less likely you are to run into problems. Some people have reported voice quality issues, due to unreliable timing sources. Other people report they haven't seen those problems. If voice quality issues are a deal breaker for you, don't do this.