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 3.1.0
Untar the file
tar -I pbzip2 -xf ONES-3.1.0_Full.tar.bz2 aviz_ones/ aviz_ones/aviz_ones.qcow2 aviz_ones/aviz_ones.xml aviz_ones/aviz_ones.xml.back
Navigate to aviz_ones
Copy ONES Release 3.1.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)
Edit an existing XML configuration file from the following template using vi
<domain type="kvm">
<name>aviz_ones_3.1.0</name>
<memory unit="KiB">25777216</memory>
<currentMemory unit="KiB">25777216</currentMemory>
<vcpu placement="static">16</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch="x86_64" machine="pc-i440fx-1.5">hvm</type>
<boot dev="hd" />
</os>
<features>
<acpi />
<apic />
</features>
<clock offset="utc" />
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="writeback" />
<source file="/home/aviz/aviz_ones/aviz_ones.qcow2" />
<target bus="virtio" dev="vda" />
</disk>
<serial type="pty">
<source path="/dev/pts/3" />
<target port="0" />
</serial>
<interface type="network">
<model type="e1000" />
<source network="br0" />
<address type="pci" domain="0x0000" bus="0x00" slot="0x00" function="0x0" />
</interface>
<controller type="usb" index="0" />
<memballoon model="virtio">
<alias name="balloon0" />
<address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0" />
</memballoon>
</devices>
</domain>
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
Start the VM
virsh create <VM XML configuration file>
#sonic@sonic-39:~$ virsh create aviz_ones.xml
#Domain ONES_VM01 created from aviz_ones.xml
#sonic@sonic-39:~$
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 aviz_ones_3.1.0 running
sonic@sonic-39:~$
Connect to Machine
sonic@sonic-39:~$ virsh console 8
Connected to domain 'aviz_ones_3.1.0'
Escape character is ^] (Ctrl + ])
ONES login:
Credentials to access ONES QCOW2 VM
Username: aviz
Password: Aviz@123
Last updated
Was this helpful?