Article ID: 130011, created on Dec 16, 2016, last review on Dec 19, 2016

  • Applies to:
  • Operations Automation

There are two types of OS templates - CT OS templates and VM OS templates. They are propagated differently across the virtualization nodes registered in OACI.

Automatic Propagation of CT OS Templates

The logic of CT OS template propagation in OACI is the following:

When a node is being registered in OACI, it gets a location assigned to it. OACI checks what OS templates are installed on other nodes within this location. If some of those templates are absent on a new node, OACI copies them.

That task is triggered every five minutes on the Instance Manager (IM). During this task the IM executes the "select" request to the database to find which node has missing OS templates.

The "Locations" are implemented to separate the networks the hardware nodes may belong to. The networks may reside in different countries with different languages. Moreover, the networks may be isolated from each other, in that case the OS template copying is not be possible.

Default OS templates of containers are delivered from yum repositories, thus their presence in different locations is expected.

Manual Copying of VM OS Templates Between Virtualization Nodes

VM OS templates created manually on a virtualization node are not propagated automatically to other virtualization nodes registered in OACI.

You can manually copy VM OS template from one node to another by doing the following:

  1. Log in to the destination node via SSH with root credentials and copy OS template to this node from the source node.

    scp -r root@hostname_of_source_node:/vz/vmprivate/vm_template_file /vz/vmprivate/

    For example, scp -r root@srv111.test:/vz/vmprivate/w2k12-plesk_onyx-17.0.pvm /vz/vmprivate/

  2. On the destionation node, register the copied VM OS template in Virtuozzo.

    prlctl register /vz/vmprivate/template_directory_name

    For example, prlctl register /vz/vmprivate/w2k12-plesk_onyx-17.0.pvm

  3. Register the copied VM OS template in OACI. For more details, refer to

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF