Welcome, Guest Login

Support Center

How to use virt-manager to manage Virtuozzo 7 Virtual Machines and Containers

Last Updated: Sep 16, 2016 04:00PM UTC

Since Virtuozzo 7 containers and virtual machines are managed via the libvirt API, it is possible to use Virtual Machine Manager virt-manager for the same purpose. To do it, install our customized version of virt-manager on any RedHat-based machine. We do not support Virtual Machine Manager installation on Virtuozzo 7 hosts.

Only Fedora 22, 23 and CentOS 7 are officially supported as operating systems for Virtual Machine Manager setup. CentOS 7 does not support VNC console for containers now, but we are working on it. In the following example, Fedora 23 is used as virt-manager host.

Installing virt-manager

  1. Add the Virtuozzo repository to your OS by creating /etc/yum.repos.d/virtuozzo.repo with the following contents:

    [vz]
    name=vz
    mirrorlist=http://download.openvz.org/virtuozzo/mirrorlists/7.0/factory-os.mirrorlist
    enabled=1
    gpgcheck=0
    
  2. Install virt-manager and virt-install from the Virtuozzo repository:

    ~# yum install virt-manager virt-install --disablerepo=* --enablerepo=vz
    
  3. Connect virt-manager to Virtuozzo 7 server:

    • Launch virt-manager.
    • In the File > Add connection window, select Virtuozzo in the hypervisor drop-down list.
    • Select the preferred connection type (SSH by default) and specify connection options.
    • Enter the password.
    • On the Edit > Preferences > NewVM tab, change Storage format from System default to QCOW2.

NOTE: virt-manager can create its own default network with NAT while creating container or virtual machine. Virtuozzo 7 does not support NAT by default. For instructions on how to enable NAT, visit https://openvz.org/Using_NAT_for_container_with_private_IPs. We recommend to use a Virtuozzo bridged or host-routed network.

Using virt-manager

To create a virtual machine with virt-manager, do the following:

  1. Launch virt-manager.
  2. Select the Virtuozzo hypervisor.

    alttext

  3. Click the new VM icon.

  4. Choose the options as shown on the screenshot and click Forward:

    alttext

  5. Click Browse next to the Use ISO image field.

    alttext

  6. Click the plus button to add a new image repository.

  7. Specify the repository name and type.

    alttext

  8. Enter the path to your image repository and click Finish.

    alttext

  9. Choose your ISO image and click Choose Volume.

    alttext

  10. Choose your OS type and click Forward.

    alttext

  11. Choose VM options and click Forward.

  12. Choose storage options and click Forward.
  13. Enter the VM name and choose the network as shown below.

    alttext

  14. When the VM starts, connect to its console by clicking the Open button.

The virtual machine is ready. A Virtuozzo container can be created in a similar way.

Open a new case
















  • You can call our Support Team:

     +1 855-466-6670  Toll-free
     +1 425-689-7142  US
     +44 203-389-8331  UK
     +49 8914-379-4365  DE
     +7 499-609-2754  RU
e13d0138f9baaceff06b8753a609e5c0@virtuozzo.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete