<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
2011-11-01 18:08, Tim Nelson skrev:
<blockquote
cite="mid:19478443.9400.1320167308985.JavaMail.root@zmail.rockbochs.com"
type="cite">
<pre wrap="">Greetings-
I'm about to dive into the process of virtualizing some of my Asterisk (primarily 1.4.x) infrastructure. In the past, when looking at virt solutions, the primary issue preventing me from moving was the lack of proper timing. We do not need it for MeetMe but rather for IAX2 trunking. I'd like to use either OpenVZ or KVM, but each seem to have independent "issues" that need to be addressed:
OpenVZ - Better resource usage, lower overhead. Primary issue is how to grant access to host node timing source (physical device, or dahdi_dummy in /dev/dahdi/) to the containerized Asterisk process.
KVM - Higher overhead, easier installation, 'true virtualization'. Primary issue is not timing per se, but KVM scheduling. Timing source, while present from dahdi_dummy natively may still not get proper scheduling by KVM process. This could also affect general call quality (even non IAX2 trunked voice), DTMF, etc.
I have to believe there are others running virtualized Asterisk installations with some degree of success on OpenVZ or KVM. Care to share your thoughts?
</pre>
</blockquote>
<br>
Hi Tim,<br>
I'm using OpenVZ, it works very well.<br>
Take a look at:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://wiki.openvz.org/Asterisk_from_source">http://wiki.openvz.org/Asterisk_from_source</a><br>
<br>
You will have to compile dahdi and install it on the HN, and then
you compile and install asterisk in the containers.<br>
I've not done this with chan_iax, but with meetme. In the case with
meetme you would have to move some files over to trick asterisk that
dahdi is compiled on the machine. The wiki mentions copying user.h.<br>
<br>
I used this as a starting point, some years ago:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://www.telephreak.org/papers/vpa/">http://www.telephreak.org/papers/vpa/</a><br>
This paper covers vserver, so it's not exactly the same - but the
steps with tonezone was the same when I built the current server
running this configuration.<br>
<br>
I'm in the process of building another server with openvz, so I'll
need to refresh my memory and try to document the procedure.<br>
<br>
<pre class="moz-signature" cols="72">--
Med vänlig hälsning
Johan Wilfer email: <a class="moz-txt-link-abbreviated" href="mailto:johan@jttech.se">johan@jttech.se</a>
JT Tech | Utvecklare webb: <a class="moz-txt-link-freetext" href="http://jttech.se">http://jttech.se</a>
direkt: +46 31 380 91 01 support: +46 31 380 91 00</pre>
</body>
</html>