Archive for the tag 'Containers'

Hardware Requirements for Parallels Virtuozzo Containers

Parallels Virtuozzo Containers for Linux

CPUs: x86, ia64, AMD64, EM64T, Itanium

Memory:
2 GB minimum. More recommended. The required amount depends on the total number of Containers you wish to run on the Node (minimum 50 MB per Container).

Hard disk space:20 GB or more free disk space. The required amount depends on the size of the software to be installed inside Containers.

updating Parallels Plesk Panel inside Parallels Virtuozzo Containers using EZ templates.

Install the vzaiproxy package on the hardware node. You can download this package from http://autoinstall.plesk.com/vzaiproxy

Change line 16 in file /etc/init.d/vzlinkmgr to the following:

DEVICE_MAJOR=125

Change line 32 in file /usr/sbin/vzaiproxy to the following:

DefaultAgentCmd = (’vzctl’, ‘exec’, ‘1′, ‘/opt/vzagent/bin/vzlcon’)

Install all EZ templates from Parallels Plesk Panel distribution on the hardware node.
Run Parallels Plesk Panel installation or upgrade using Parallels Products Installer (either via the web-interface or command line interface) or Parallels Plesk Panel GUI (Home Page > Updates).

Follow the instructions presented on the screen to complete the upgrade.

Refer to Parallels Plesk http://parallels.com/Plesk/

Resources available for OpenVZ containers.

Resources that can be set, include disk space usage, memory usage, CPU usage, and more.

Restricting and setting hard limits of what is permitted in a container ensures that no tasks within the container can get greedy and steal resources from other containers or the host system itself.

First, look at the vzlist tool. This will provide information on any installed containers which makes managing them simpler vzlist tool

This will provide information on any installed containers which makes managing them simpler:

# vzlist -a

How to increase the available disk space from 1GB to something more useful like 10GB.

Check disk space.

# vzctl exec 101 df -hT

The above increases the default 1GB drive space available to a barrier of 10GB and a maximum limit of 11GB.

# vzctl set 101 –diskspace 10G:11G –save
# vzctl exec 101 df -hT

There are two ways to change settings for containers. The first is using vzctl as above (remember to use the -save option to make the changes persistent). The second is to edit the configuration file for the container. For a container with a CTID of 101, the file would be /etc/sysconfig/vz-scripts/101.conf.

Install Parallels Pro Control Panel into Virtuozzo Containers.

Steps:

Install the Containers and then install Parallels Pro CP.

Download the respective Parallels Pro Virtuozzo Container Template.

For CentOS 5 i386:

http://download.pro.parallels.com/ensim/apt/ensim/EPL/10.3.4/ez/ppcpl10-centos-5-x86-ez-4.0.0-3.parallels.noarch.rpm

Before installing Parallels Pro CP from Parallels Virtuozzo Containers Templates, prepare your Virtuozzo Containers according to the requirements below.

Important: before proceeding with the Containers installation, make sure that the hostname –i command doesn’t return 127.0.0.1 IP.

Before creating the Containers and installing Parallels Pro CP, log in as root to your Hardware Node. Open the /etc/sysconfig/vz file and change the value of the VZPRIVRANGE to “1 N” where N is max ID of Container you will be using, for example:

VZPRIVRANGE=”1 10000”

Refer to the log file /var/log/ensim/installer..-.log for errors during the installation.

« Prev