Previous page

Next page

Locate page in Contents

Print this page

Managing Container Resources Configuration

Any Container is configured by means of its own configuration file. You can manage Container configurations in a number of ways:

  1. Using configuration sample files shipped with Parallels Server Bare Metal. These files are used when a new Container is being created (for details, see Creating and Configuring New Containers ). Currently, the following configuration sample files are provided:
    • basic . Use it for creating standard Containers.
    • confixx . Use it for creating Containers that are to run the Confixx control panel.
    • slm.plesk . Use it for creating Containers with the Plesk control panel.
    • slm.256MB . Use it for creating Containers with 256 MB of main memory.
    • slm.512Mb . Use it for creating Containers with 512 MB of main memory.
    • slm.1024Mb . Use it for creating Containers with 1024 MB of main memory.
    • slm.2048Mb . Use it for creating Containers with 2048 MB of main memory.

      Note: Configuration sample files cannot contain spaces in their names.

    Any sample configuration file can also be applied to an existing Container. You would do this if, for example, you want to upgrade or downgrade the overall resources configuration of a particular Container:

    # pctl set 101 --applyconfig basic --save

    This command applies all the parameters from the ve-basic.conf-sample file to Container 101.

    When you install Parallels Server Bare Metal on your server, the default Container samples are put to the /etc/vz/conf directory. They have the following format: ve-< name >.conf-sample (for example, ve-basic.conf-sample ). In this connection you should keep in mind the following when working with Container samples:

    • When you create a Container using the pctl create command utility and base it on some Container sample, this sample is taken from the /etc/vz/conf directory.
  2. Using specific utilities for preparing configuration files in their entirety. The tasks these utilities perform are described in the following subsections of this section.
  3. The direct creating and editing of the corresponding Container configuration file ( /etc/vz/conf/< CT_ID >.conf ). This can be performed with the help of any text editor. The instructions on how to edit Container configuration files directly are provided in the four preceding sections. In this case you have to edit all the configuration parameters separately, one by one.