This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization:openvz [2012/08/27 10:18] gcooper |
virtualization:openvz [2012/08/31 14:46] (current) gcooper |
||
---|---|---|---|
Line 34: | Line 34: | ||
http:// | http:// | ||
+ | |||
+ | ==== Firewall ==== | ||
+ | |||
+ | We run the firewall on the Host Node (HN). | ||
+ | |||
+ | Stop all running VMs. | ||
+ | |||
+ | < | ||
+ | sed -i ' | ||
+ | |||
+ | / | ||
+ | </ | ||
==== DAHDI ==== | ==== DAHDI ==== | ||
Line 58: | Line 70: | ||
< | < | ||
- | cat / | + | echo hpet > / |
</ | </ | ||
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 ' | ||
+ | |||
+ | < | ||
+ | CTID=100 | ||
+ | vzctl stop $CTID | ||
+ | vzctl set $CTID --devnodes dahdi/ | ||
+ | vzctl start $CTID | ||
+ | vzctl exec $CTID chown -R asterisk.asterisk /dev/dahdi / | ||
+ | </ | ||
+ | |||
+ | === 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. | ||
Line 235: | Line 261: | ||
Using '' | Using '' | ||
+ | |||
+ | < | ||
+ | vim / | ||
+ | |||
+ | .bash_history | ||
+ | lost+found | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | /usr/src/* | ||
+ | </ | ||
< | < | ||
tar --numeric-owner -czvf / | tar --numeric-owner -czvf / | ||
+ | |||
+ | scp / | ||
</ | </ | ||