Previous page

Next page

Locate page in Contents

Print this page

Stage 3: Configuring Virtual Machines and Containers

To configure a server with Parallels Cloud Server to store its virtual machines and Containers in the cluster, do the following:

  1. Log in to the server as root .
  2. Configure Containers for use in the cluster:
    1. Check the path to the Container private area in the /etc/vz/vz.conf file. By default, the path is set to the following:

      VE_PRIVATE=/vz/private/$VEID

    2. Make a symbolic link from the Container private area to the directory in the Parallels Cloud Storage cluster that will store Containers. Assuming that this directory is /pstorage/pcs1/private , create this directory and run the following command:

      # ln -s /pstorage/pcs1/private/ /vz/private

      Note: If the /vz/private directory already exists on your server, remove it before running the ln -s command.

  3. Configure virtual machines for use in the cluster:
    1. Check the default location of virtual machine files:

      # prlsrvctl info | grep "VM home"

      VM home: /var/parallels

    2. Make a symbolic link from the default location to the directory in the Parallels Cloud Storage cluster that will store virtual machines. For example, to make a link to the /pstorage/pcs1/vmprivate directory, create this directory and execute the following command:

      # ln -s /pstorage/pcs1/vmprivate/ /var/parallels

      Note: If the /var/parallels directory already exists on your server, remove it before running the ln -s command.