Archive for February, 2011

Implementation and Execution of an installation script.

Script below is applicable in cases when Parallels Installer is previously uploaded to the target server and the execution bit is set in its permissions.

#!/bin/sh
SERVERS_LIST=”node1.example.com node2.example.com”
for current_server in $SERVERS_LIST; do
scp parallels_installer root@$current_server:
ssh -f root@$current_server “parallels_installer –source http://updates.example.com/ –target /tmp/panel –select-release-id PLESK_10_0_0 –install-component base –install-component postgresql –install-component asp –notify-email admin@domain-name.com”
done

To avoid being prompted for password each time you connect via SSH to the servers where the Panel should be installed, place your public key to the list of authorized keys of a user on whose behalf the script is run on each server.

Reference: http://parallels.com/

SBDavid

Parallels Installer options

Parallels Installer options

To know more about options related to upgrading already installed Panel or the host operating system, issue the following command:

parallels_installer –help

By default, the installer saves the retrieved files in the directory /[current user name]/psa. For instance, if the installer was executed by user root, the /root/psa directory will be created and used. If you want to use a custom directory for storing the retrieved files, use the –target option.

Example:

–target /opt/storage/psa

Using parallels installer to perform complete installation

The following command performs the complete installation (all available product components are installed) of Parallels Plesk Panel 10.0 (release ID is PANEL_10_0_0) from the Parallels Update server. All installer output will be redirected to an XML file.

./parallels_installer –select-release-id PLESK_10_0_0 –install-everything –enable-xml-output

Reference : http://parallels.com/

How to install Parallels Plesk Panel using command line.

To install Parallels Plesk Panel, issue a command of the following format:

parallels_installer [packages source options] –select-release-id [ID] [components installation options] [other options]

where

Packages source options define the location where the installer should obtain the Panel packages for installation
[packages source options] = –source [URL]

Examples, Linux/Unix

The following command installs Parallels Plesk Panel 10.0 (release ID is PANEL_10_0_0) from the mirror set up on server available via HTTP at host mirror.example.com. Installation files will temporarily be stored at /tmp/panel, and the installation status will be reported to e-mail admin@example.com. The installed components are base Panel packages, PostgreSQL server, and SpamAssassin spam filter.

./parallels_installer –source http://mirror.example.com/ –target /tmp/panel –select-release-id PLESK_10_0_0 –install-component base –install-component postgresql –install-component spamassassin –notify-email admin@example.com

Reference: http://parallels.com/

Getting List of Product Components from Parallels Plesk Panel

To get a list of the release components, issue the command of the following format:

parallels_installer –select-release-id [ID] –show-components

For Parallels Plesk Panel 10.0 on a Linux/Unix server:

parallels_installer –select-release-id PLESK_10_0_0 –show-components

A list of components is displayed with component names in the left part, and indication of whether this component can be installed ([install]) or upgraded ([upgrade]), with brief descriptions in the right part, for example (fragment):

* base [install] - Parallels Plesk Panel base packages
* autoinstaller [install] - Parallels Installer
* postfix [upgrade] - Postfix mail server

The actual components are marked by [up2date].

Reference : http://parallels.com/

« Prev - Next »