PDF
Download PDF
Download page Upgrade the Virtual Appliance.
Upgrade the Virtual Appliance
When you upgrade the Virtual Appliance, it upgrades the components of Virtual Appliances. You might experience an outage up to one hour, so plan your upgrade accordingly.
Prepare to upgrade the Virtual Appliance
Complete the following steps to prepare the Virtual Appliance upgrade:
- Download the Virtual Appliance upgrade OVA file from the Downloads portal.
- Shutdown the Splunk AppDynamics, Anomaly Detection, and Cisco Secure Application services.
appdcli stop secapp appdcli stop aiops appdcli stop appd <<Wait for pods to terminate before deleting operators>> appdcli stop operators
CODE - Run the backup command:
appdcli run backup
CODE<backup_tar>
file with all the necessary data. - Copy the backup file outside of the cluster.
- 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:
- In Virtual Hardware, expand Hard Disk 2.
- Note the Disk File name
- Remove the data disk from the virtual machines.
- Right click on each virtual machine and select Edit Settings.
- In Virtual Hardware > Hard Disk 2, select Remove Device from the more options.
Upgrade the Virtual Appliance with 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 the Configure 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 whether the deployment of virtual machines are successful:
appdctl show boot
CODEEnsure the status of the services in each node. If any service appears as
Failed
, restart that virtual machine. You might have to redeploy the virtual machine if it is still failing. - Create a three-node cluster:
- Run the following command in the primary node and specify the IP address of the peer nodes:
appdctl cluster init <Node-2-IP> <Node-3-IP>
CODE - Run the following command to verify the node status:
appdctl show cluster microk8s status
CODE
Ensure that the output displays theRunning
status astrue
for the nodes that are part of the cluster.Sample Output
NODE | ROLE | RUNNING ----------------+-------+--------- 10.0.0.1:19001 | voter | true 10.0.0.2:19001 | voter | true 10.0.0.3:19001 | voter | true
CODEYou must re-login to the terminal if the following error appears:
Insufficient Permissions to Access Microk8s
CODE
- Run the following command in the primary node and specify the IP address of the peer nodes:
- Verify whether the data directories exist in the following location:
/var/appd/data
CODE - Copy the
<backup_tar>
file to one of the cluster nodes that is generated earlier. See Prepare to Upgrade Virtual Appliance. - Run the following command to restore the persistent volumes specifications:
appdcli run restore <backup_tar>
CODE - Verify the PVC are in the
Bound
state by running the following command:kubectl get pvc -A
CODE - Start the following services:
appdcli start appd [Profile]
CODE
After the upgrade, the cluster uses the existing data disk and becomes functional.