Upgrade the Virtual Appliance in KVM
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
Before you begin the upgrade, complete the following steps:
Migrate Custom Actions
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
Upgrade the Virtual Appliance
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 of virtual machines:
Restore Data in the Virtual Appliance
Migrate EUM and Synthetic Services Data to MinIO
Generate the Hybrid Configuration File
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.