Previous page

Next page

Locate page in Contents

Print this page

Templates

A template (or a package set) in Virtuozzo is a set of original application files repackaged for use by Virtuozzo. Usually, it is just a set of RPM packages for Red Hat like systems. Virtuozzo provides tools for creating templates, installing, upgrading, adding them to and removing them from a Container.

Using templates lets you:

  • Share RAM among similar applications running in different Containers to save hundreds of megabytes of memory.
  • Deploy applications simultaneously in many Containers.
  • Use different versions of an application in different Containers (for example, perform upgrades only in certain Containers).

There are two types of templates: OS and application:

  • An OS template is an operating system and the standard set of applications to be found right after the installation. Virtuozzo uses OS templates to create new Containers with a preinstalled operating system.
  • An application template is a set of repackaged software packages optionally accompanied with configuration scripts. Application templates are used to add extra software to existing Containers.

For example, you can create a Container on the basis of the redhat OS template and add the MySQL application to it with the help of the mysql template.

Note: For detailed information on Virtuozzo templates, see the Virtuozzo 6 Templates Management Guide.