Upgrade the Virtual Appliance in KVM
Upgrade the Virtual Appliance in KVM by deploying new virtual machines and restoring backed-up data.
Upgrading the Virtual Appliance involves:
- Backing up the hard disks of the existing virtual machines.
- Deploying new virtual machines by using QCOW2 image.
- Restoring the backup to their hard disks.
- Attaching the new hard disks to the older virtual machines
Splunk AppDynamics On-Premises Virtual Appliance provides the reference script that helps in upgrading the Virtual Appliance.
- Standard Deployment
- Hybrid Deployment
Standard Deployment
Follow the steps to upgrade the Virtual Appliance in KVM.
Back up the Virtual Appliance Data
Back up Virtual Appliance data before upgrading virtual machines in KVM.
Before you begin the upgrade, complete the following steps:
Migrate Custom Actions
Migrate custom actions to the updated path during a Virtual Appliance upgrade.
The custom actions path has changed from the previous release. Create and run the following script to migrate custom actions during the upgrade.
Generate a Backup File
Generate a backup file and save it outside the Virtual Appliance cluster.
Upgrade the Virtual Appliance
Upgrade the Virtual Appliance by running the upgrade script with the QCOW2 file and configuration file.
This script verifies the virsh
-
Stops the virtual machine.
-
Uploads the new
QCOW2image to the node storage pool. -
Deletes the OS disk image. However, it retains the data disk image.
-
Creates a new OS disk from the template image.
-
Starts the virtual machine.
Verify the Deployment Status
Verify the deployment status of Virtual Appliance virtual machines and services in KVM.
Verify the deployment of virtual machines:
Restore Data in the Virtual Appliance
Restore backed-up data to the Virtual Appliance after completing a KVM upgrade.
Migrate EUM and Synthetic Services Data to MinIO
Migrate existing EUM and Synthetic services data to MinIO for the Virtual Appliance.
Generate the Hybrid Configuration File
Generate the hybrid configuration file when custom certificates are not used for Ingress and Kafka clusters.
Ensure that you have the latest CA certificates obtained after installing services. If not, update the CA certificates and regenerate the hybrid configuration file after restarting the service.