Archive for the tag 'Containers'

Commands to mirrors EZ templates for Parallels Virtuozzo containers

This command mirrors EZ templates for Parallels Virtuozzo containers for RPM-based repositories.

# rsync -au –delete rsync://rsync.autoinstall.plesk.com/autoinstall/PSA10/ destination_directory/PSA10

These commands create links that the installer uses to install EZ templates on DEB-based OSes.

If you plan not to mirror EZ templates or you serve RPM-based OSes, omit this step.

# cd destination_directory/debian; ln -s PSA_10.0.0 PSA10

# cd destination_directory/ubuntu; ln -s PSA_10.0.0 PSA10

How to upgrade Plesk 8.x or 9.x to the Panel 10.0 installed with EZ templates in Parallels Containers environment.

1. Install the latest versions of the Panel templates on the hardware node with the following command:

rmp -Uvh [list of vztemplates]

2. Do not remove templates for previous versions of Plesk and install the latest versions of the Panel templates in the container with the following command:

vzpkg install [CTID] [list of selected plesk10.0* templates]

For example:

vzpkg install 444 pp10 pp10-kav

Note: Mail server templates pp10-qmail and pp10-postfix must not be installed at the same time.

Reference: http://parallels.com/

How to clone a Container in Parallels Containers for Linux

Issue a command in the following format:

vzmlocal -C {CT List}
{CT List} = [source_CTID]:[dst_CTID][:[[dstCT_private]][:[dstCT_root]]] [...]

You should specify the source Container ID ([source_CTID]) and the destination Container ID ([dst_CTID]).

Specifying the destination Container private area path ([dstCT_private]) and root path ([dstCT_root]) is optional allowing you to override the default paths - /vz/private/[dst_CTID] and /vz/root/[dst_CTID], respectively.

For example, to clone the Container with the Panel created during the previous procedure, run the following command:

# vzmlocal -C 444:445

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/

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

To install a Panel template on a Parallels Containers hardware node using the vzup2date utility:

Connect to the target Parallels Containers hardware node over SSH.

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

For EZ templates
:

vzup2date -z

For standard templates:

vzup2date -z

Select the required OS and application templates and click Next to start installation.

Next »