User Tools

Site Tools


virtualization:openvz

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization:openvz [2012/08/31 12:33]
gcooper
virtualization:openvz [2012/08/31 14:46] (current)
gcooper
Line 34: Line 34:
  
 http://www.cadvision.com/blanchas/Asterisk/ZaptelPerformanceTesting.html http://www.cadvision.com/blanchas/Asterisk/ZaptelPerformanceTesting.html
 +
 +==== Firewall ====
 +
 +We run the firewall on the Host Node (HN).
 +
 +Stop all running VMs.
 +
 +<file>
 +sed -i 's|ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length|ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp|' /etc/vz/vz.conf
 +
 +/etc/init.d/vz restart
 +</file>
  
 ==== DAHDI ==== ==== DAHDI ====
Line 71: Line 83:
  
 Acceptable score: >99.975 Acceptable score: >99.975
 +
 +=== Make DAHDI Timing Available to CTs ===
 +
 +This assumes Asterisk is running as the user 'asterisk'.
 +
 +<file>
 +CTID=100
 +vzctl stop $CTID
 +vzctl set $CTID --devnodes dahdi/pseudo:rw --save
 +vzctl start $CTID
 +vzctl exec $CTID chown -R asterisk.asterisk /dev/dahdi /lib/udev/devices/dahdi
 +</file>
 +
 +=== Alternate Method? ===
  
 You can export devices from the Hardware Node (HN) to the container (CT) by using the devnodes flag. You can export devices from the Hardware Node (HN) to the container (CT) by using the devnodes flag.
virtualization/openvz.1346437995.txt.gz · Last modified: 2012/08/31 12:33 by gcooper