
Configuring the Upgraded System
Creating Containers with the New Layout
To start creating Containers with the Container-in-an-image-file layout after upgrade, you need to
complete these tasks:
• Upgrade the /vz partition to use the ext4 file system, if it is formatted with another file system
(e.g., with ext3).
• Cache the OS templates you plan to base your Containers on.
Converting the /vz partition
To upgrade the /vz partition to ext4, complete the following tasks:
1 Stop the vz and parallels-server services:
# service vz stop
# service parallels-server stop
2 Unmount the /vz partition:
# umount /vz
3 Convert the file system:
# tune2fs -O extents,uninit_/jointfilesconvert/425082/bg,dir_index /dev/DEVICE_NAME
# e2fsck -fDC0 /dev/DEVICE_NAME
where DEVICE_NAME is the name of the device the /vz partition is mounted on. The latter
command will display a message that it has found some errors and needs to fix them. Press Y
to agree and continue with the conversion process.
4 Change the current mount options in /etc/fstab:
a Mount the /vz partition on the device it was previously mounted on:
# mount /dev/DEVICE_NAME /vz
b Check the current entry for the /vz partition:
# grep "/vz" /etc/fstab
/dev/DEVICE_NAME /vz ext3 defaults,noatime 1 2
c Edit the /etc/fstab file by replacing ext3 with ext4.
5 Start the vz and parallels-server services:
# service vz start
# service parallels-server start
Creating a Container with the new layout
In Parallels Cloud Server 6.0, an OS template is cached automatically when you create the first
Container based on this template. Before creating the Container, however, you need to make sure
that
• You have an active Internet connection to access the Parallels official repository storing
software packages for the OS template the Container will be based on. Or
20
Comentarios a estos manuales