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:
-
Log in to the server as
root
.
-
Configure Containers for use in the cluster:
-
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
-
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.
-
Configure virtual machines for use in the cluster:
-
Check the default location of virtual machine files:
# prlsrvctl info | grep "VM home"
VM home: /var/parallels
-
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.
|