Upgrade the Virtual Appliance in VMware
Upgrade the Virtual Appliance in VMware ESXi by deploying new virtual machines from an OVA file.
Upgrading the Virtual Appliance involves:
- Backing up and deleting the hard disks of the existing virtual machines.
- Deploying new virtual machines by using OVA 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
-
Back Up the Virtual Appliance Data
Back up Virtual Appliance data before upgrading virtual machines in VMware ESXi.
Follow these to back up the Virtual Appliance data:
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.
Prepare to upgrade the Virtual Appliance
Prepare the Virtual Appliance virtual machines before starting the upgrade process.
Complete the following steps to prepare the Virtual Appliance upgrade:
- Power off the virtual machines that are running the Kubernetes cluster.
- Rename the existing virtual machines to use their names for the new virtual machines.
- Right click each virtual machine and select Edit Settings:
- Remove the data disk from the virtual machines.
- Right click on each virtual machine and select Edit Settings.
- In Virtual Hardware > Hard Disk2, select Remove Device from the more options.
Upgrade the Virtual Appliance with the OVA File
Upgrade the Virtual Appliance by deploying new virtual machines from the OVA file.
Complete the following steps to upgrade the Virtual Appliance by using an OVA file:
- Deploy three virtual machines by using the upgrade OVA file.
- Delete the data disk of the new virtual machine:
- Go to Edit Settings.
- Select Hard Disk 2.
- Remove device
- Attach the data disks of the previous virtual machines:
- Go to Edit Settings.
- Add a new device.
- Select Existing Hard Disk and specify the disk file name that you have noted earlier.
- Enable VMware tools in the virtual machines to configure OVF properties.
- Select th eConfigure tab.
- Select vApp Options and click Edit.
- In Edit vApp Options > OVF Tools, select VMware Tools. See Edit OVF properties for a virtual machine.
- Power on the new virtual machines.
Verify the Deployment Status
Verify the deployment status of Virtual Appliance virtual machines and services in VMware Esxi.
Verify the deployment of virtual machines:
Restore Data in the Virtual Appliance
Restore backed-up data to the Virtual Appliance after completing a VMware ESXi 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.