VMmanager OVZ at work

From ISPWiki
Jump to: navigation, search

VMmanager OVZ is an operating-system level virtualization management system. Currently OpenVZ is only supported. Once you install the control panel, reboot the server to boot the updated kernel.

VMmanager OVZ manages multiple physical servers (cluster nodes). All nodes must run the same operating system. The following OS are currently supported: Centos 6 x64 (recommended), Debian 7 x64. The main server (the one where VMmanager OVZ is installed) can be used as a cluster node, however it is not required.

We recommend that you install the panel on Centos 6 x64, as the official Debian repositories contain links to the outdated kernel. Currently, Debian does not support ploop.

You must have at least one OS template to be able to add virtual machines. Os templates are located in the nfs-storage on the main server. By default the nfs-storage is located in /nfsshare. Templates are installed via the web-interface. On all cluster nodes the nfs-storage is mounted into the /nfsshare directory, from which symlinks to standard OpenVZ directories are created (/var/lib/vz/template/cache for Debian and /vz/template/cache for Centos).

VMmanager OVZ stores data in the MySQL database called vemgr.

VMmanager OVZ uses OpenVZ standard utilities, such as vzctl, vzmigrate, vzlist, etc. to perform various operations. You can also use those utilities (for example, you can view a list of virtual machines by using the vzlist -a utility), however, in this case VMmanager OVZ does not save your changes, and the system can stop functioning.

In case of errors, view the log-files: 1. the VMmanager OVZ log-file located by default in /usr/local/mgr5/var/vemgr.log on the main server. 2. There is a log file on each cluster node located in /usr/local/mgr5/var/vemini.log. Vemini is a utility for virtualization management on the cluster node. You can also view its log-files, if needed. 3. The migrateve utility starts during the migration process on the cluster node from which the virtual machine is migrated. The log-file is locate in /usr/local/mgr5/var/migrateve.log.