Legal Disclaimer: The resource assets in this website may include abbreviated and/or legacy terminology for HPE Aruba Networking products. See www.arubanetworks.com for current and complete HPE Aruba Networking product lines and names.
Setting Up HCMS Virtual Appliances on KVM
You can install the HCMS virtual appliance using KVM using the following ways:
Set up HCMS virtual appliance on KVM using Virtual Machine Manager GUI
The virt-manager application is a desktop user interface for managing KVM virtual appliances.
You must first install the virt-manager application.
To install the virt-manager application, on RHEL distributions, execute the following command:
#yum install virt-manager
For more information Virtual Machine Manager such as download instructions, documentation, and supporting tools, see Virt manager.
-
Download the tarball file from HPE Aruba Networking Central and unzip it to a folder on your server to extract the files. For instructions on downloading the files, see Downloading Virtual Appliances.
-
To open the virt-manager application window from windows shell, execute the following command:
#virt-manager &While running this command from an SSH Secure Shell. SSH is a network protocol that provides secure access to a remote device. session, ensure to SSH to the KVM server using the -X option to enable X11 forwarding. For example: ssh -X <username>@<host_IP>.
-
Connect to the localhost. Right-click and select Name.
Ensure that the user is added to the libvirt group on the KVM server. Execute the following command:
sudo adduser `id -un` libvirt
sudo adduser `id -un` kvm
-
Select Import existing disk image. Click Forward.
-
Browse and select the disk file (disk.qcow2). Choose Ubuntu 22.04 LTS as the operating system to install. Click Forward.
-
Set the CPU Central Processing Unit. A CPU is an electronic circuitry in a computer for processing instructions. and Memory according to mini, small, or medium specification. Click Forward. The available CPU specifications are:
Mini- CPU: 4, Memory: 4096 Disk: 256GB
Small- CPU: 8, Memory: 16384 Disk: 256GB
Medium- CPU: 24, Memory: 65536 Disk: 480GB
-
Enter a unique collector name. Click the drop-down menu and select Bridge device. Enter the device name.
-
Click Finish.
-
Once you set up the KVM HCMS virtual appliance, you must power on the new virtual appliance and configure CLI options as shown here.
-
Register the data collector as shown here.
-
Create the data collector as shown here.
To delete the VM Virtual Machine. A VM is an emulation of a computer system. VMs are based on computer architectures and provide functionality of a physical computer. using the GUI, simply right-click on it and click Delete.
Set up HCMS virtual appliance on KVM using CLI
The virt-install tool provides a number of options that can be passed on the command line. To see a complete list of options, run the following command:
To execute virt-install commands, you must have root privileges.
-
Download the zip file from HPE Aruba Networking Central and unzip it to a folder on your server to extract the files. Execute:
virt-install --virt-type kvm --name <COLLECTOR_NAME> --vcpus <NUMBER_OF_VIRTUAL_CPUS> --memory <VIRTUAL_MEMORY> --disk disk.qcow2 --network bridge:<BRIDGE_INTERFACE_NAME> --import --osinfo ubuntujammyFor example, creating a mini VM:
virt-type kvm --name mini --vcpus 4 --memory 4096 --disk disk.qcow2 --network bridge:br0 --import --osinfo ubuntujammy -
Once you set up the KVM HCMS virtual appliance, you must power on the new virtual appliance and configure CLI options as shown here.
If you encounter ERROR /usr/libexec/qemu-bridge-helper --use-vnet --br=br0 --fd=28: failed to communicate with bridge helper: stderr=access denied by acl Access Control List. ACL is a common way of restricting certain types of traffic on a physical port. file : Transport endpoint is not connected , execute the following command to resolve it (Here, the bridge interface name is “br0”) sudo vi /etc/qemu-kvm/bridge.conf . Add "allow br0”
-
Register the data collector as shown here.
-
Create the data collector as shown here.
Set up HCMS virtual appliance on KVM using scripts
-
Download the zip file from HPE Aruba Networking Central and unzip it to a folder on your server to extract the files. For instructions on downloading the files, see Downloading Virtual Appliances.
-
Execute the following command:
./install.sh -b < BRIDGE_INTERFACE_NAME> -n < COLLECTOR_NAME>For example, ./install.sh -b br0 -n mini
-
Once you set up the KVM HCMS virtual appliance, you must power on the new virtual appliance and configure CLI options as shown here.
-
Register the data collector as shown here.
-
Create the data collector as shown here.