Difference between revisions of "Open VZ Basic"
From MS Computech
(New page: After Installation Openvz<br> Put Template inside <br> # /vz/template/cache<br> <pre>#vzctl create 111 --ostemplate fedora-7-ppc-minimal </pre><pre>#vzctl set 111 --ipadd 10.0.0.111 --s...) |
|||
| Line 1: | Line 1: | ||
| − | After Installation Openvz<br> | + | After Installation Openvz<br> |
| − | Put Template inside <br> | + | Put Template inside <br> |
| − | # /vz/template/cache<br> | + | #/vz/template/cache<br> |
| − | <pre>#vzctl create | + | <pre>#vzctl create 100 --ostemplate name_of_template |
| − | </pre><pre>#vzctl set | + | </pre><pre>#vzctl set 100 --ipadd 10.0.0.111 --save |
| − | </pre><pre>#vzctl set | + | </pre><pre>#vzctl set 100 --userpasswd root:password --save |
| − | </pre><pre>#vzctl set | + | </pre><pre>#vzctl set 100 --nameserver 10.0.0.1 --save |
| + | </pre> | ||
| + | |||
| + | |||
| + | Memory Adjust<br> | ||
| + | |||
| + | /etc/vz/conf/xxx.conf | ||
| + | <pre>VMGUARPAGES="32768:2147483647" // 128MB Guaranteed | ||
| + | PRIVVMPAGES="64000:65536" // 256MB Burst | ||
| + | |||
| + | VMGUARPAGES="65536:2147483647" // 256MB Guaranteed | ||
| + | PRIVVMPAGES="128000:131072" // 512MB Burst | ||
| + | |||
| + | VMGUARPAGES="131072:2147483647" // 512MB Guaranteed | ||
| + | PRIVVMPAGES="256000:262140" // 1024MB Burst | ||
| + | |||
| + | VMGUARPAGES="262144:2147483647" // 1GB Guaranteed | ||
| + | PRIVVMPAGES="384000:393212" // 1,5GB Burst | ||
</pre> | </pre> | ||
<br> | <br> | ||
Revision as of 16:47, 16 November 2008
After Installation Openvz
Put Template inside
- /vz/template/cache
#vzctl create 100 --ostemplate name_of_template
#vzctl set 100 --ipadd 10.0.0.111 --save
#vzctl set 100 --userpasswd root:password --save
#vzctl set 100 --nameserver 10.0.0.1 --save
Memory Adjust
/etc/vz/conf/xxx.conf
VMGUARPAGES="32768:2147483647" // 128MB Guaranteed PRIVVMPAGES="64000:65536" // 256MB Burst VMGUARPAGES="65536:2147483647" // 256MB Guaranteed PRIVVMPAGES="128000:131072" // 512MB Burst VMGUARPAGES="131072:2147483647" // 512MB Guaranteed PRIVVMPAGES="256000:262140" // 1024MB Burst VMGUARPAGES="262144:2147483647" // 1GB Guaranteed PRIVVMPAGES="384000:393212" // 1,5GB Burst