How to add OpenVZ templates to the SolusVM?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

How to add OpenVZ templates to the SolusVM?

Answer

  1. Connect to the SolusVM Master server via SSH
  2. Change directory to /vz/template/cache directory

    # cd /vz/template/cache/

  3. Download pre-created template from the listed on the OpenVZ site, e.g. CentOS 7 Minimal (centos-7-x86_64-minimal.tar.gz

    # wget http://download.openvz.org/template/precreated/centos-7-x86_64-minimal.tar.gz

    # ls -l /vz/template/cache/centos-7-x86_64-minimal.tar.gz
    -rw-r--r-- 1 root root 145639219 Nov 27 2016 /vz/template/cache/centos-7-x86_64-minimal.tar.gz
  4. After that log into SolusVM web interface and browse to Dashboard > Media > Add OpenVZ Template
  5. Select the uploaded template from the drop-down menu against Template field, specify
    Name, Description, Arch fields and click on Add Template button
    addovz.PNG

Once the steps above are completed, the template will be available on the create VPS page.

If there are any slave OpenVZ nodes, it is required to synchronize the templates with the Master nodes

  1. Log into SolusVM Master web interface and browse to Dashboard > Media > Media Sync > Create tab
  2. Select the template and OpenVZ slave node
    sync.PNG
  3. Click on Create Sync Job button

     WARNING: Make sure that directory /vz/templates/cache/ exists on the slave server and created it if does not.  Otherwise synchronization task will fail.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.