VMmanager OVZ configuration file

From ISPWiki
Revision as of 16:33, 29 January 2016 by Ksenya (talk | contribs)
Jump to: navigation, search

This articles describes parameters that can be specified in [installation path]/etc/vemgr.conf

Paths

  • ostemplatedir - the directory that can be accessed through NFS on all servers. The default value is /nfsshare /nfsshare

In the configuration file specify path:

path ostemplatedir /nfsshare
  • temppath - a temporary directory, the default value is /tmp. In the configuration file specify the option path:
path temppath /tmp
  • BackupTmpDir - a temporary directory for files that is used when making backup. In the configuration file specify the option path:
path BackupTmpDir var/.vemgr-backups

Notes: A control panel clears the temporary directory on a regular basis. Do not use a directory with important data as a temporary directory.

Parameters

  • BackupPriority - priority to start the backupctl process. Possible values -20 to 19, where -20 - is the highest priority, 19 - the lowest. 10 is set by default
  • BackupTimeout - timeout in minutes for vm preparation. The default value us set to unlimited
  • NfsMountParam - nfs-storage mounting parameters. The default value is rsize=8192,wsize=8192,timeo=14,intr
  • sshPublicKey - path to the public ssh-key. The default value is [installation path]/etc/ssh_id_rsa.pub
  • sshPrivatKey - path to the private ssh-key. These keys are used for changing data between VMmanager OVZ and cluster nodes. The default value is [installation path]/etc/ssh_id_rsa
  • MainIp - primary IP address of the NFS-server. The default value is specified by VMmanager OVZ automatically.
  • Oversell - enable/disable overselling, possible values - on/off. The default value is off
  • OversellMemFactor - the amount of RAM overselling in percent. Possible values - 50-1000. The default value is 100
  • OversellHddFactor - the amount of disk space overselling in percent. Possible values - 50-1000. The default value is 100
  • OversellCpuFactor - the amount of CPU overselling in percent. Possible values - 50-1000. The default value is 100
  • VmSyncEnabled - enable/disable data synchronization for virtual machines. Possible values - on/off. The default value is on
  • DefaultFileSystem - this parameter enables to specify a type of the file system (ploop/simfs) that is used by default when creating containers.
  • CopyMasterVzConf - if set to "on", the configuration file /etc/vz/vz.conf will be copied from the main server when creating a new cluster node.
  • CopyMasterSysctlConf - if set to "on", the configuration file /etc/sysctl.conf will be copied from the main server when creating a new cluster node.
  • VmCountHardLimit - the maximum number of containers that can be created on the cluster. Default value: unlimit
  • KernelMismatchMigrate - allows/forbids migration between cluster nodes with different versions of OpenVZ; default value on; specifying off will forbid migration between different kernels of OpenVZ.
  • DefaultMigrateMethod - method of migration. Possible values vz, isp; the default value is vz; it is used for selecting a migration method (vzmigrate or a custom algorithm)