I know a lot has changed over the past couple of years, and even monthly, and that Asterisk running within a virtualised environment is very happy indeed. If one would only be using SIP/IAX would Xen/KVM be the best solution ? / or perhaps VServer/LXC maybe advantageous due to binary hashing. Your thoughts would be very welcome. -- Thanks, Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110507/8bae0e08/attachment.htm>
On Sat, May 07, 2011 at 04:24:08PM +0100, --[ UxBoD ]-- wrote:> I know a lot has changed over the past couple of years, and even monthly, and that Asterisk running within a virtualised environment is very happy indeed. If one would only be using SIP/IAX would Xen/KVM be the best solution ? / or perhaps VServer/LXC maybe advantageous due to binary hashing. Your thoughts would be very welcome.VServer / OpenVZ / LXC run the the instances on top of the same kernel. They use kernel-level seperation. So this means that they basically see the subsets of the same file system and such. KVM / Xen provide the view of a different machine. The guest machine run its own kernel. I guess this is better if you don't trust the guest, but you pay more in resource consumption. If you want to run a different kernel, you must use this one. -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
On Sat, 2011-05-07 at 16:24 +0100, --[ UxBoD ]-- wrote:> I know a lot has changed over the past couple of years, and even > monthly, and that Asterisk running within a virtualised environment is > very happy indeed. If one would only be using SIP/IAX would Xen/KVM be > the best solution ? / or perhaps VServer/LXC maybe advantageous due to > binary hashing. Your thoughts would be very welcome. > --At work we have a couple of asterisk instances. Some of them are used for doing interfaceing job, like towards isdn-BA or isdn-PRA, skype or GSM. (those do only _that_ and nothing more. Others (dialplan, voicemail, etc etc) are running as an XEN-image. Reason: much more easier to replace Some of the are still 1.4 while others run several different 1.6 versions. Currently i'm experimenting with a bunch of virtual 1.8-systems. from my point of view sles/xen works rock solid. hw
Hi Phil, Happily running with the following here: dom0: Debian Lenny Xen 3.2-1 2.6.26-2-xen-amd64 domU: Asterisk 1.4 Debian Lenny 2.6.26-2-xen-amd64 domU: Asterisk 1.6 Debian Squeeze 2.6.32-5-amd64 (which is a Xen-aware kernel) domU: Asterisk 1.8 Debian Squeeze 2.6.32-5-amd64 (which is a Xen-aware kernel) All kernels are stock kernels from the Debian repositories. I'm using dahdi-dummy for conferencing. I haven't been running very long with this (new) set up but so far all looks good. You obviously need to make sure that you have sufficient resources for your domU's. You might consider CPU pinning, possibly dedicated discs depending on your situation. cheers, Jan On 08/05/11 03:24, --[ UxBoD ]-- wrote:> I know a lot has changed over the past couple of years, and even > monthly, and that Asterisk running within a virtualised environment is > very happy indeed. If one would only be using SIP/IAX would Xen/KVM be > the best solution ? / or perhaps VServer/LXC maybe advantageous due to > binary hashing. Your thoughts would be very welcome. > -- > Thanks, Phil > > > -- > _____________________________________________________________________ > -- 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/20110510/8f5b2e36/attachment.htm>