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. |
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
You should obtain the following two files:
|
Step 3 |
Run the signature verification script
Example:
|
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.