KB2010010402: Install guide for xn-mem without additional modules

This guide shows how to use xn-mem of the xn-suite without using the other components.

Install the xn-suite as described in the install guide .

Disable all modules in "/etc/xncore/modules.conf" except xn-mem. Open the config file with an editor and change it to the following:
XNMANAGE=no
XNMEM=yes
XNMON=no
XNTRAFF=no
XNWEB=no

Restart the services with disabled services not beeing started:
/etc/init.d/xn-daemon restart

Create a config file for each vserver: "/etc/xncore/vserver/vservername.conf". Ensure that the value for vservername is the name of the Xen DomU.

Insert the minimum and maximum memory values into the vserver config file as follows (values in MByte):
memory_min=256
memory_max=1024

When making changes to that vserver config files the daemon does not have to be restarted.

Important: If you are using vservers running Linux kernel 2.6.18 or older please pay attention to the following KB article:
KB2010010701 Memory assignment for vservers with Linux kernel 2.6.18 and older

© 2011 xnCORE. Alle Rechte vorbehalten.   Nutzungsbedingungen   Impressum   Kontakt

Linux ist ein eingetragenes Warenzeichen von Linus Torvalds.
Xen ist ein eingetragenes Warenzeichen von Citrix Systems, Inc. und allen Tochterunternehmen.
Alle anderen Warenzeichen und eingetragenen Warenzeichen sind Eigentum der jeweiligen Inhaber.