Difference between revisions of "VM files"

From vpsget wiki
Jump to: navigation, search
 
(7 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
<pre>
 
<pre>
 
/vz/root/
 
/vz/root/
 +
/vz/private/
 
</pre>
 
</pre>
 
Config:
 
Config:
Line 10: Line 11:
 
/etc/vz/vz.conf
 
/etc/vz/vz.conf
 
/etc/vz/dists/distro-name.conf
 
/etc/vz/dists/distro-name.conf
/etc/vz/conf/
+
/etc/vz/conf/ #<CID>.conf
 +
/etc/sysconfig/vz-scripts/ #ve-basic.conf-sample
 +
 
 +
/etc/modprobe.d/openvz.conf #options nf_conntrack ip_conntrack_disable_ve0=1
 
</pre>
 
</pre>
Separate config files for each VM is located in its container (''/vz/root/'') and depends on guest OS type.
+
Separate config files for each VM is located in its container (''/vz/root/'') and depends on guest OS type.<br/>
 
OpenVZ main log:
 
OpenVZ main log:
 
<pre>
 
<pre>
Line 47: Line 51:
 
/var/log/libvirt/qemu/
 
/var/log/libvirt/qemu/
 
</pre>
 
</pre>
 +
"[[Category:Admin area]]"

Latest revision as of 00:10, 27 September 2014

OpenVZ

Containers:

/vz/root/
/vz/private/

Config:

/etc/vz/vz.conf
/etc/vz/dists/distro-name.conf
/etc/vz/conf/ #<CID>.conf
/etc/sysconfig/vz-scripts/ #ve-basic.conf-sample

/etc/modprobe.d/openvz.conf #options nf_conntrack ip_conntrack_disable_ve0=1

Separate config files for each VM is located in its container (/vz/root/) and depends on guest OS type.
OpenVZ main log:

/var/log/vzctl.log

Separate log for each VM:

/vz/root/<vmID>/var/log/massages  #in case of linux guest

VM config:

KVM

Images:

/dev/<VolumeGroupName>/  #for example: /dev/vg1

Config:

/etc/libvirt/libvirtd.conf
/etc/libvirt/qemu.conf

Separate config for each VM:

/etc/libvirt/qemu/<vmID>.xml

KVM main log:

/var/log/libvirt/libvirtd.log

Separate log for each VM:

/var/log/libvirt/qemu/

""