Previous page

Next page

Locate page in Contents

Print this page

install

Summary:

Installs an application or an operating system template on a Hardware Node or a Virtuozzo Container.

Linux Can also be used to install individual software packages (rpm, deb) on physical servers and Virtuozzo Containers.

Request specification:

Name

Min/Max

Type

Description

install

1..1

pkg_setup_cmdType

The package installation parameters.

Returns:

Name

Min/Max

Type

Description

packages

0..1

packagesType

A list of packages that were installed as a result.

Description:

Depending on the type of the package installation, the input parameters must be specified as follows.

Installing an Application or an OS template on the Hardware Node.

Before an OS template can be used to create Virtuozzo Containers, or before an application template can be installed on a Virtuozzo Container, they must be installed on the Hardware Node. To install a template, the path parameter must contain the name and the path of the package from which to install a template. The package with the specified name must reside in the specified directory on the Hardware Node prior to installation. The eid parameter must be omitted from the request or must contain the Server ID of the Hardware Node. You may try using the force option if you are having problems installing a template. You must use the vzapackagem interface to perform these operations. The data type of the package element must be the correct type for the package being installed.

Installing an Application template on a Virtuozzo Container

To install an application template on a Virtuozzo Container, the eid parameter must contain the Server ID of the Container. The package structure must contain the template information. To select a template to install and to obtain its information, use the list call, which retrieves the list of the available templates. You must use the vzapackagem interface to perform this operation. The data type of the package element must be the correct type for the package being installed. Internally, Agent uses a dot notation for identifying EZ Template packages. The dot is always placed in front of an EZ template name. When you create an EZ template yourself, make sure to begin the name of your template with the dot character.

Installing an RPM or DEB package on a Hardware Node

To install an RPM or DEB package on a Hardware Node, the path parameter must contain the name and the path of the package. The eid parameter must be omitted from the request or must contain the Server ID of the Hardware Node. Use the packagem interface to perform this operation. The data type of the package element must be the correct type for the package being installed.

Please send us your feedback on this help page