Archive for the 'Plesk Support' Category

Set a barrier and limits for the new Container

Set a barrier and limit for unswappable kernel memory, private (or potentially private) memory, number of files opened by all Container processes, disk space and the total number of disk inodes (files, directories, symbolic links) a Container can allocate

Save the barrier/limit values to the Container configuration file.

# vzctl set 444 –save –kmemsize 24299200:26429120 –privvmpages 362144:392912 –numfile
12000:12000 –diskspace 5117880:5242880 –diskinodes 350000:370000

Enable working Power Panel on the vzpp port with the “–offline_management yes –offline_service vzpp” options.

# vzctl set 444 –save –offline_management yes –offline_service vzpp
SBDavid

vzctl command examples

vzctl command examples

Create a Container with ID 444 and IP 10.100.1.2, based on the Debian 5 OS template.

# vzctl create 444 –ostemplate debian-5.0-x86_64

To set the IP address and hostname.

# vzctl set 444 –ipadd 10.100.1.2 –hostname example.com –save

Start the newly created Container:

# vzctl start [CTID]

How to create a new Container and install the Panel in it:

Create a container and configure it.

Issue the following commands:

vzctl create [CTID] [options]

where
* defines an arbitrary container ID number higher than 100, which is unique on the hardware node
* –save switch tells vzctl whether to save changes into the Container configuration file.

vzctl set [CTID] [setting_name] [value] [--save]

How to use a custom mirror for Parallels Updates Server

If you already have your Parallels Updates Server mirror setup.

Then on the hardware node, edit the file defining the repository URL.

The file for editing is /vz/template/[os]/[os-version]/[platform]/config/app/[app-template-name]/default/repositories.

For example:

/vz/template/[os]/[os-version]/[platform]/config/app/plesk10.0/default/repositories

Replace the Parallels Updates server URLs with the corresponding ones of your mirror and save the file.

Clean or re-fetch the packages metadata.

For Example

vzpkg clean

How to install a Panel template on a Parallels Containers hardware node manually

Obtain the template from the Parallels Web site and upload it to the target Parallels Containers hardware node.

Install the application template by running a command in the following format:

rpm -Uvh [absolute path to the template]

For example, the following command installs Qmail RPM:

rpm -Uvh pp10-centos-5-x86_64-ez-3.0.0-35.prl.293476.noarch.rpm

Reference: http://parallels.com/

« Prev - Next »