Difference between revisions of "VM files"
Line 5: | Line 5: | ||
<pre> | <pre> | ||
/vz/root/ | /vz/root/ | ||
+ | /vz/private/ | ||
</pre> | </pre> | ||
Config: | Config: |
Revision as of 16:52, 2 April 2013
OpenVZ
Containers:
/vz/root/ /vz/private/
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/
""