[SR-Users] Request for advice, running SIP-Router in OpenVZ Container

Vitaliy Aleksandrov vitalik.voip at gmail.com
Mon Aug 20 00:29:30 CEST 2012


On 08/17/2012 03:42 PM, JR Richardson wrote:
>
> Hi All,
>
> I'm considering running Kamailio as a virtual machine, with such low 
> utilization, it doesn't seem to make sense to keep running it on a 
> physical host server.
>
> I've been virtualizing Asterisk PBX's for years and run a host of 
> other virtualized servers with OpenVZ, VMware and MS V-Server without 
> issues.
>
> I'd like any opinions or thoughts about pitfalls or caveats I should 
> be aware of specific to virtualized SIP-Router/Kamailio.
>
> Thanks in advanced.
>
> JR
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

It works great in VMware and XEN VMs without any issues.
In my experience i had only two problems with virtual environment:
- I/O (network, disc).
- timing precision.

Disc I/O can be a problem if you are going to write lots of logs and the 
VM running kamailio are connected to overloaded disc array or external 
storage. Use only async syslog mode otherwise kamailio process will be 
blocked in log operation and will be not available to process incoming 
sip traffic. So use fast drives and try to avoid time consuming 
operations (syslog, db queries, radius, etc...) during message 
processing as they block current process and kamailio has fixed number 
of running processes.

 From my point of view timing precision is not a problem for a sip-proxy 
as it's not a big deal to send some re-transmit few milliseconds 
earlier/later.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120820/4832236d/attachment.htm>


More information about the sr-users mailing list