KVM Deployment Guide
KVM deployments
Cisco IoT FND can be deployed on commercial hypervisors (such as VMware ESXi) and on Kernel-based Virtual Machines (KVM) using supported Linux distributions.
- Cisco IoT FND manages device lifecycles, configurations, firmware, telemetry, and alarms across distributed field networks.
- KVM provides an open, Linux-native virtualization layer, enabling flexible resource allocation and performance for production or lab deployments.
The following table summarizes the KVM deployment feature in Cisco IoT FND:
|
Feature name |
Release |
Description |
|---|---|---|
|
KVM deployments |
Cisco IoT FND Release 5.1.0 |
Deploy Cisco IoT FND on KVMs using supported Linux distributions. |
|
Cisco IoT FND upgrade on KVM |
Cisco IoT FND Release 26.2.1 |
Install net-tools package before upgrading to Cisco IoT FND 26.2.1 on KVM. |
Verify QCOW2 signature
This task guides you to run the signature verification program to verify QCOW2 signature.
Step 1 | Before attempting to run the signature verification scripts, ensure that you have the following:
|
Step 2 | Unzip the downloaded release file. Example:You should obtain the following two files:
|
Step 3 | Run the signature verification script to verify the integrity of the tar.xz file. Example:
Sample script : Sample log : |
You've verified the QCOW2 signature.
Deploy Cisco IoT FND on a KVM
This task guides you to deploy Cisco IoT FND on a KVM using Linux distributions.
Step 1 | Before proceeding to deploy Cisco IoT FND on a KVM, do these:
|
Step 2 | Create and manage virtual machines and CPUs using the RHEL 9 web console. For more information see, Creating Virtual Machines and Managing virtual CPUs . |
Step 3 | View and edit the VM interface information using the RHEL 9 web console. For more information see, View and edit virtual network information . |
Step 4 | From the Interface type drop-down list, select Direct attachment . Select the interface on which you configured the KVM IP from the Source drop-down list. Leave the Model and MAC address fields with the default values. |
Step 5 | (Optional) Add an additional network interface based on your requirement. |
Step 6 | Start the VM. For more information see, Starting VM using the web console . |
Step 7 | View the serial console of the VM and log in to the RHEL server using your default credentials.
If you do not wish to enable root login for SSH (by keeping
|
Step 8 |
Configure IPv4 address using
|
Step 9 |
Enable SSH and edit the
/etc/ssh/ssh_config
file. Locate the parameter
If you prefer not to enable root login
Restart the SSH service using the
|
You've installed Cisco IoT FND on KVM.
Create and activate a swap file
Create a swap file to create a temporary storage space on a solid-state drive or hard disk when the system runs low on memory.
Step 1 | Ensure that you have enough disk space. |
Step 2 | Follow the steps in Creating and activating a swap file to create and enable a swap file. |
Step 3 |
Verify if the swap file is active or not using the
In scale setups, swap space helps systems handle memory demands that exceed physical RAM by temporarily offloading inactive memory pages to disk. This approach supports the stability and scalability of applications and services. To know more about the need for swap on modern systems, see Do we really need swap on modern systems? |
You've created and activated a swap file.
Upgrade Cisco IoT FND on KVM
Upgrade Cisco IoT FND on a KVM PostgreSQL deployment from Release 5.1.0 to Release 26.2.1.
Before you begin
- Log in to the FND CLI with root privileges or sufficient permissions for upgrade commands.
-
Ensure the server has proper Internet access and subscription-manager access, or prepare an offline package source to install net-tools package.
Note
The FND machine must be able to access package repositories through subscription-manager or obtain the approved net-tools package from an offline source.
- Obtain the registry and image tag required for the KVM Release 26.2.1 upgrade.
Step 1 | Install the net-tools package on the server. Example:
The net-tools package is installed. |
Step 2 | Obtain the Cisco IoT FND Release 26.2.1 upgrade scripts from the Cisco support portal. |
Step 3 | Extract the upgrade package file to access the upgrade RPM. |
Step 4 | Transfer the upgrade RPM to the Cisco IoT FND server and navigate to the directory that contains the RPM. |
Step 5 | Install the upgrade RPM. Example:
The RPM installation starts. |
Step 6 | Wait for the RPM installation to complete, then continue with the container upgrade. The RPM installation is complete. |
Step 7 | Run the container-upgrade script. Example:
|
Step 8 | Use the upgrade script to load the FND and Fog Director container images for Release 26.2.1. Enter the registry and the Release 26.2.1 image tag as supplied for the deployment. For detailed instructions, refer to the section Upgrade Cisco IoT FND container images in the Deployment and Management Guide for Cisco IoT FND on OVA with Postgres and InfluxDB, Release 5.x.x and Later guide. The FND and Fog Director containers are reloaded with the Release 26.2.1 images. |
Cisco IoT FND is upgraded on the KVM PostgreSQL deployment to Release 26.2.1.