Difference between revisions of "VM files"
Line 12: | Line 12: | ||
/etc/vz/conf/ | /etc/vz/conf/ | ||
</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> |
Revision as of 13:55, 1 April 2013
OpenVZ
Containers:
/vz/root/
Config:
/etc/vz/vz.conf /etc/vz/dists/distro-name.conf /etc/vz/conf/
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/