I've got a few Centos5 based xen servers in production and they are working very well. To date we've not put any asterisk servers on them yet.With centos and xen it's pretty easy to build, both dom0 and guest doms. We've got it now that we can take a raw machine, and in 2-3 hours have a Dom0, httpd dom and a mysql dom all built and configured.

I think the biggest issue you have to deal with is hardware. The main limitations are in the RAM, disk and network access. Like others have stated, make sure your guest Dom's have enough ram so that they don't have to resort to swap. Now I guess I differ from Reza in that I do configure some swap but I do it more as a safety pressure valve for the server. We monitor the swap usage and as soon as a server starts using it we investigate why, and either fix the memory leak or allocate more ram to the dom if it realy needs it. All our xen servers are multicore, but all our guest Doms are only utilizing a single core thereby allowing for some load balancing. Example, single box, Dom0 , smtp dom, apache dom on core 0 and mysql dom on core 1.

We're moving towards utilizing iSCSI for our dom images over dedicated gigabit ether to a SAN ( openfiler.com ). My only concern and this is what we're going to be testing is whether this can really support all of our Database requirements, or whether all other machines will go to this way with the exception of our main Database server.

But back to asterisk, in a straight sip/iax scenario it is no issue if you have some half decent hardware. The only caveat I would possible make here since I've not tested this would be how large meetme conferences would perform. Anyone played or tested a large meetme conference on a dom?

Mike

Jim Van Meggelen wrote:
This just totally blows away so many things I thought I 'knew' about virtual
machines.

I gotta go get me another Linux box to play with.

Jim

--
Jim Van Meggelen
[EMAIL PROTECTED]
http://www.oreillynet.com/pub/au/2177

"A child is the ultimate startup, and I have three. This makes me rich."
                    Guy Kawasaki
--


-----Original Message-----
From: Matthew Mackes [mailto:[EMAIL PROTECTED] Sent: November 10, 2007 8:55 PM
To: Reza - Asterisk Enthusiast
Cc: 'Asterisk Mailing'
Subject: Re: [on-asterisk] Running under Virtual PC.,,


Hey Everyone,


I have my home Asterisk (Rpath, poundkey) running in a VMware Server environment, hosted on CentOS, with three other VMs. (My IPCOP Firewall, a Fileserver, and SSL Explorer) All 4 VM's run nicely on a P4D with 2GB of RAM. I have disabled X on the Host, and My Host only shows about 10% usage at peek. Idle it shows almost none, and when I am only placing calls (no other VM's in use) the pound key VM shows 5% and the host shows less.

I have 4 Cisco 7960's registered, and Sipphone, FWD, Sipbroker, my office (via IAX) and Vitelity all registered for trunking, and 2 ATAs for POTS.

All accounts and devices stay registered, and work without issue.

I think its important to remember that unless you are transcoding between codecs your Asterisk server doesn't do a whole lot. If you stay ULaw for example on all of your devices, Asterisk really is just directing traffic. However, and I cannot stress this enough, MS Windows is a poor VMServer platform when it comes to resource usage. Vmware and Virtual PC are forced to fight the Windows Host OS for resources.


Matt




Reza - Asterisk Enthusiast wrote:
        Remzi:
        
Can you share with us your Hardware Specs for the benchmark you provided?
        
        Thanks!
        Reza.
        
----- Original Message ----- From: "Remzi Semsettin Turer" <[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]> To: "'Asterisk Mailing'" <[email protected]> <mailto:[email protected]> Sent: Saturday, November 10, 2007 4:06 PM
        Subject: RE: [on-asterisk] Running under Virtual PC.,,
        
        
We are running on two virtual servers, one on Xen, one on VMWare ESX, both have perfect sound quality. We don't have any hardware cards, pure SIP, and had used different codecs, including g711, g723 and g729 with no issues. We have around 10 people concurrently using the system.
        
With that said, Jim you have a point, Windows is not the best host for virtualization. Both our environments are based on Linux.
        
        -----Original Message-----
        From: Jim Van Meggelen [mailto:[EMAIL PROTECTED]
        Sent: Saturday, November 10, 2007 10:53 AM
        To: 'Asterisk Mailing'
        Subject: RE: [on-asterisk] Running under Virtual PC.,,
        
What you are proposing might work as a development system (I'll admit that I have not used Virtual PC, but I use VMWare extensively), but regardless, you would not want to put such a system into production. Asterisk requires priority access to the CPU, and as such, it is hard to imagine any kind of virtual machine being able to run it in a manner that delivered proper sound quality. The Asterisk software will actually run well-enough, but the sound quality is going to be poor, even on a powerful system with the Virtual machine running at high priority. Even if it could be tuned to deliver proper sound quality, you would still never be able to predict when some windows background task would steal a bunch of resources. Windows likes to go off and do its own thing, and when it decides to perform some background task, it is quite capable of hogging resources such that your asterisk
        system will deliver terrible sound quality.
        
If you want a low-cost platform on which to run a small asterisk system, look to something like the Linksys WRT54GL (OpenWRT). If you need FXO, grab something like a Linksys SPA3001. You'll be able to run a phone or two on
        that with no problems.
        
Virtual machines are awesome for development; asterisk runs perfectly. Unfortunately, the sound quality is generally terrible. Not such a problem
        in the lab, but a show-stopper in production.
        
        Jim
        
        --
        Jim Van Meggelen
        [EMAIL PROTECTED]
        http://www.oreillynet.com/pub/au/2177
        
        "A child is the ultimate startup, and I have three.
        This makes me rich."
                            Guy Kawasaki
        --
        
        
        
        
        
                -----Original Message-----
                From: Thomas Keats [mailto:[EMAIL PROTECTED]
                Sent: November 10, 2007 10:10 AM
                To: Asterisk Mailing
                Subject: [on-asterisk] Running under Virtual PC.,,
                
I have just upgraded to a new system, and managed to get high
                speed in the country (Hello WiMax), with that I am
                experimenting with Microsoft Virtual PC.
                
                I like what I've seen so far and want to reduce desktop
clutter, and floor clutter by combining most, if not all PC's
                into one unit.  Has anyone had any experience running
                asterisk under Linux in a Virtual PC environment?
                
                Windows Vista Ulitmate, with Virtual PC 2007.
                Generic X100P (I think) PBX card.
2 GIG Ram, soon to be upgraded, with 250 GB SATA3 Seagate...
                Slackware 10
                Asterisk 1.4(?)
                
                Any suggestions would be appreciated.
                
                THANKS!
                
                
                
---------------------------------------------------------------------
                To unsubscribe, e-mail: [EMAIL PROTECTED] For
                additional commands, e-mail: [EMAIL PROTECTED]
                
                
                
        
        
---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]
        
        
        
---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]
        
        
        
        
        
---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]
        


--
Matthew Mackes
Network Administrator
[EMAIL PROTECTED]
Delta Sonic Car Wash Systems, Corporate Headquarters Buffalo, New York


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Mike Ashton

Quality Track Intl

Ph:     647-722-2092 x 301
Cell:   416-527-4995
Fax:    416-352-6043

QTI CONFIDENTIAL AND PROPRIETARY INFORMATION

The contents of this material are confidential and proprietary to Quality Track 
 International, Inc.
and may not be reproduced, disclosed, distributed or used without the express 
permission of an authorized representative of QTI.
Use for any purpose or in any manner other than that expressly authorized is 
prohibited.
If you have received this communication in error, please immediately delete it 
and all copies, and promptly notify the sender.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to