KVM ONES Deployment

QCOW Deployment

Download Qcow2 Package

  • Work with Aviz Sales/Support contact to create an account on Aviz Networks Support Portal

  • Login to https://support.aviznetworks.com with your account credentials

  • Click on the Downloads section, under ONES, click to download ONES Release 2.0

  • Copy ONES Release 2.0 package (qcow2) to KVM Hypervisor Server

Create the VM using GUI App virt-manager

If your host server has Ubuntu Desktop and virt-manager installed you can use it to deploy the VM. Make sure you can start the Virtual Machine Manager and that it connects successfully to the local hypervisor.

Creating a VM with virt-manager is very straightforward, Use the following steps to deploy the ONES-Application

  • File -> New Virtual Machine -> Import existing disk image -> Forward

Now the ONES Application is ready to use

Create the VM using QEMU (XML configuration)

  • Create an XML configuration file from the following template using vi

vi ones.xml
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <memory unit='KiB'>4194304</memory>
  <currentMemory unit='KiB'>4194304</currentMemory>
  <vcpu placement='static'>4</vcpu>
    <type arch='x86_64' machine='pc-i440fx-1.5'>hvm</type>
    <boot dev='hd'/>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='writeback'/>
      <source file='/home/oper/taas_vm/ones.qcow2' />
      <target bus='virtio' dev='vda'/>
    <serial type='pty'>
      <source path='/dev/pts/3'/>
      <target port='0'/>
    <!-- Management interface eth0 -->
    <interface type='network'>
	<model type='e1000' />
        <source network='br0'/>
        <address type='pci' domain='0x0000' bus='0x00' slot='0x00' function='0x0'/>
   <controller type='usb' index='0'/>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
User Inputs in XML File
Line #2   The Name of the VM
Line #3   The amount of System Memory for the VM
Line #4   The amount of System Memory for the VM
Line #5   The number of vCPU Core for the VM
Line #25  The Path to the qcow2 VM image file
Line #35  The name of the Linux bridge on the host machine
  • Create a Linux bridge configuration file (bridged-network.xml) for libvirt from the following template

vi bridged-network.xml
    <forward mode="bridge" />
    <bridge name="br0" />
User Inputs in XML File
Line #4 the name of the Linux bridge on the host machine
  • Define the Linux bridge for the VM

#Execute the below command to attach the VM to the Linux Bridge 
sonic@sonic-39:~$ virsh net-define bridged-network.xml
sonic@sonic-39:~$ virsh net-start br0
sonic@sonic-39:~$ virsh net-autostart br0
sonic@sonic-39:~$ virsh net-list
 Name                 State      Autostart     Persistent
 br0                  active     yes           yes

  • Start the VM

virsh create <VM XML configuration file>

#sonic@sonic-39:~$ virsh create ones.xml 
#Domain ONES_VM01 created from ones.xml

If you see a permission error run the virsh command with sudo may fix the issue

  • Check the VM status

sonic@sonic-39:~$ virsh list
 Id    Name                           State
 8     ONES_VM01                      running

Credentials to access ONES QCOW2 VM

Username: aviz
Password: Aviz@123

OVA Integration

Last updated

Copyright © Aviz Networks, Inc.