iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
🆙

Upgrading Splunk AppDynamics On-Premises Virtual Appliance (Part 2)

に公開

Introduction

This article shares a record of upgrading the Splunk AppDynamics On-Premises Virtual Appliance (hereafter AppD VA) in my environment. This is the second part, following the first part.

In this article, based on VM1 to VM3 with the upgrade script already applied in the first part, I will describe checking the deployment status, recreating the cluster, restoring data, and a simple operation check.

Checking Deployment Status

After starting the three VMs, log in to any VM (e.g., VM1) via SSH using the username and initial password described in Bootstrap the AWS Instance. The location from which you execute SSH depends on the environment, so I will omit the details here. However, in my environment, I log in via the NLB placed in front of VM1 to VM3, similar to the installation.

In this case, the SSH host keys of VM1 to VM3 will have changed due to the VM upgrade. Therefore, if necessary, edit $HOME/.ssh/known_hosts beforehand and delete the host key lines for the target VMs. This topic is general SSH knowledge, so I will omit the details in this article.

After logging in, change the initial password.

Warning: Permanently added '[■■■■■■■■■.■■■.■■]:10022' (ED25519) to the list of known hosts.
appduser@■■■■■■■■■.■■■.■■'s password:
You are required to change your password immediately (administrator enforced).
You are required to change your password immediately (administrator enforced).
Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.14.0-1018-aws x86_64)
(omitted)

     _                ____   __     ___
    / \   _ __  _ __ |  _ \  \ \   / / \
   / _ \ | '_ \| '_ \| | | |  \ \ / / _ \
  / ___ \| |_) | |_) | |_| |   \ V / ___ \
 /_/   \_\ .__/| .__/|____/     \_/_/   \_\
         |_|   |_|

By accessing the Software herein, you (and the organization you represent)
("You") acknowledge and agree that the use of the Software and open source
software are governed by (1) the Cisco General Terms at
https://www.cisco.com/site/us/en/about/legal/contract-experience/index.html and
the applicable Offer Description(s) at
https://www.cisco.com/c/en/us/about/legal/cloud-and-software/software-terms.html
 or (2) any other superseding agreement between AppDynamics, or its parent
company Cisco Systems, Inc., as applicable, and You.  Capitalized terms not
defined herein shall have the meaning as defined in the Cisco General Terms at
https://www.cisco.com/site/us/en/about/legal/contract-experience/index.html
References to End User in any superseding agreement shall mean You.

AppDynamics Proprietary and Confidential * Revision 2025.10
Last login: Mon Jan 12 09:47:45 2026 from 10.0.10.98
WARNING: Your password has expired.
You must change your password now and login again!
Changing password for appduser.
Current password:
New password:
Retype new password:
passwd: password updated successfully
Connection to ■■■■■■■■■.■■■.■■ closed.

After changing the initial password, you will be automatically logged out. Log in again to the same VM. Then, to check the post-deployment status, run the appdctl show boot command.

$ appdctl show boot
 NAME             | STATUS    | ERROR
------------------+-----------+-------
 microk8s-setup   | Succeeded | --
 ssh-setup        | Succeeded | --
 storage-setup    | Succeeded | --
 cert-setup       | Succeeded | --
 enable-time-sync | Succeeded | --
 firewall-setup   | Succeeded | --
 hostname         | Succeeded | --

It is OK if all STATUS values are Succeeded. If an error like the following appears when running appdctl show boot, the AppD VA may still be bootstrapping. In that case, wait a few minutes and run the same command again.

$ appdctl show boot
Error: Get "https://127.0.0.1/boot": Socket /var/run/appd-os.sock not found. Bootstrapping maybe in progress.
Please check appd-os service status with following command:
systemctl status appd-os

Perform the same password change and appdctl show boot command execution on each of VM1 to VM3. This confirms the AppD VA deployment status.

Recreating the Cluster

With the deployment status confirmed, next we recreate the AppD VA cluster. First, log in to VM1 via SSH. Then, after confirming the private IP addresses of VM2 and VM3, add both VMs to the AppD VA cluster using those values.

$ appdctl cluster init 10.0.129.24 10.0.129.135
Copying ID:  /home/appduser/.ssh/id_rsa.pub  to:  appduser@10.0.129.24
The authenticity of host '10.0.129.24 (10.0.129.24)' can't be established.
ED25519 key fingerprint is SHA256:■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
appduser@10.0.129.24's password:
Copied ID:  /home/appduser/.ssh/id_rsa.pub  to:  appduser@10.0.129.24
Fetching host info:  appduser@10.0.129.24:/var/appd-os/host-info.yaml
Copied host info from:  appduser@10.0.129.24:/var/appd-os/host-info.yaml  to:  10.0.129.24.yaml
Copying ID:  /home/appduser/.ssh/id_rsa.pub  to:  appduser@10.0.129.135
The authenticity of host '10.0.129.135 (10.0.129.135)' can't be established.
ED25519 key fingerprint is SHA256:■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
appduser@10.0.129.135's password:
Copied ID:  /home/appduser/.ssh/id_rsa.pub  to:  appduser@10.0.129.135
Fetching host info:  appduser@10.0.129.135:/var/appd-os/host-info.yaml
Copied host info from:  appduser@10.0.129.135:/var/appd-os/host-info.yaml  to:  10.0.129.135.yaml
Copied auth keys:  /home/appduser/10.0.130.33-auth-keys  to:  /home/appduser/.ssh/authorized_keys
Copying auth keys:  /home/appduser/10.0.129.24-auth-keys  to:  appduser@10.0.129.24:/home/appduser/.ssh/authorized_keys
Copied auth keys:  /home/appduser/10.0.129.24-auth-keys  to:  appduser@10.0.129.24:/home/appduser/.ssh/authorized_keys
Copying auth keys:  /home/appduser/10.0.129.135-auth-keys  to:  appduser@10.0.129.135:/home/appduser/.ssh/authorized_keys
Copied auth keys:  /home/appduser/10.0.129.135-auth-keys  to:  appduser@10.0.129.135:/home/appduser/.ssh/authorized_keys
Updating hosts file on:  10.0.130.33
{
    "status": "ok"
}
Updating hosts file on:  10.0.129.24
Copying cluster file to: appduser@10.0.129.24:/home/appduser/cluster.yaml
Copied cluster file to: appduser@10.0.129.24:/home/appduser/cluster.yaml
Updated hosts file on:  10.0.129.24
{
    "status": "ok"
}

Updating hosts file on:  10.0.129.135
Copying cluster file to: appduser@10.0.129.135:/home/appduser/cluster.yaml
Copied cluster file to: appduser@10.0.129.135:/home/appduser/cluster.yaml
Updated hosts file on:  10.0.129.135
{
    "status": "ok"
}

Fetching remote encryption config:  appduser@10.0.129.24:/var/snap/microk8s/current/args/encryption-config.yaml
[sudo] password for appduser:
Copied encryption config from:  appduser@10.0.129.24:/var/snap/microk8s/current/args/encryption-config.yaml  to:  encryption-config-10.0.129.24.yaml
Fetching remote encryption config:  appduser@10.0.129.135:/var/snap/microk8s/current/args/encryption-config.yaml
Copied encryption config from:  appduser@10.0.129.135:/var/snap/microk8s/current/args/encryption-config.yaml  to:  encryption-config-10.0.129.135.yaml
Copying local encryption config
Copied local encryption config to:  encryption-config-10.0.130.33.yaml
Combined YAML file has been created: encryption-config-merged.yaml
Copying merged encryption config file to: appduser@10.0.129.24:/var/snap/microk8s/current/args/encryption-config.yaml
Copied merged encryption config file to:  appduser@10.0.129.24:/var/snap/microk8s/current/args/encryption-config.yaml
Copying merged encryption config file to: appduser@10.0.129.135:/var/snap/microk8s/current/args/encryption-config.yaml
Copied merged encryption config file to:  appduser@10.0.129.135:/var/snap/microk8s/current/args/encryption-config.yaml
Updating local encryption config
Copied merged local encryption config to:  /var/snap/microk8s/current/args/encryption-config.yaml
Host Name :  ip-10-0-130-33 Host IP :  10.0.130.33
Host Name :  ip-10-0-129-24 Host IP :  10.0.129.24
Executing join cluster on host:  10.0.129.24
Using Token:  ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Using URL:  10.0.130.33:25000/■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
this may take a while, be patient, wait for the good news...
Joined cluster on:  10.0.129.24
{
    "status": "WARNING: Hostpath storage is enabled and is not suitable for multi node clusters.\n\nContacting cluster at 10.0.130.33\nWaiting for this node to finish joining the cluster. .. .. ..  \nSuccessfully joined the cluster.\n"
}

Host Name :  ip-10-0-129-135 Host IP :  10.0.129.135
Executing join cluster on host:  10.0.129.135
Using Token:  ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Using URL:  10.0.130.33:25000/■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
this may take a while, be patient, wait for the good news...
Joined cluster on:  10.0.129.135
{
    "status": "WARNING: Hostpath storage is enabled and is not suitable for multi node clusters.\n\nContacting cluster at 10.0.130.33\nWaiting for this node to finish joining the cluster. .. .. ..  \nSuccessfully joined the cluster.\n"
}

Cluster is ready
Run the following command to see the cluster status: appdctl show cluster
Executing update microk8s config into local config for  appduser@10.0.129.24
Microk8s config updated on:  appduser@10.0.129.24
Executing update microk8s config into local config for  appduser@10.0.129.135
Microk8s config updated on:  appduser@10.0.129.135
label_nodes.sh output:
Only 2 nodes are Ready. Waiting for remaining nodes...
All 3 nodes are Ready!
All 3 nodes are now Ready. Proceeding...
node/ip-10-0-129-135 labeled
node/ip-10-0-129-24 labeled
node/ip-10-0-130-33 labeled
node/ip-10-0-130-33 labeled
node/ip-10-0-129-135 labeled
node/ip-10-0-129-24 labeled
NAME              STATUS   ROLES    AGE   VERSION    LABELS
ip-10-0-129-135   Ready    master   34m   v1.30.14   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=ip-10-0-129-135,kubernetes.io/os=linux,microk8s.io/cluster=true,node-role.kubernetes.io/master=,node.kubernetes.io/microk8s-controlplane=microk8s-controlplane,workload=mysql
ip-10-0-129-24    Ready    master   34m   v1.30.14   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=ip-10-0-129-24,kubernetes.io/os=linux,microk8s.io/cluster=true,node-role.kubernetes.io/master=,node.kubernetes.io/microk8s-controlplane=microk8s-controlplane,workload=mysql
ip-10-0-130-33    Ready    master   49m   v1.30.14   beta.kubernetes.io/arch=amd64,beta.kubernetes.io/os=linux,kubernetes.io/arch=amd64,kubernetes.io/hostname=ip-10-0-130-33,kubernetes.io/os=linux,microk8s.io/cluster=true,node-role.kubernetes.io/master=,node.kubernetes.io/microk8s-controlplane=microk8s-controlplane,workload=controller

It is OK if no errors are output. On the other hand, depending on the situation, you may encounter an error containing the following message as described in Troubleshoot Virtual Appliance Issues.

Insufficient permissions to access MicroK8s.

If such an error occurs, log out from that VM and log in again.

Then check the node status.

$ appdctl show cluster
 NODE               | ROLE  | RUNNING
--------------------+-------+---------
 10.0.130.33:19001  | voter | true
 10.0.129.24:19001  | voter | true
 10.0.129.135:19001 | voter | true

It is OK if RUNNING is true for all three nodes.

Restore

Since the cluster recreation is complete, next we restore the data (configuration information, i.e., settings/definitions/certificates, etc.).

After logging in to any VM (e.g., VM1) via SSH, confirm that the /var/appd/data directory exists.

$ ls /var/appd/data
authn-datadir-auth-mysql-0-pvc-286baa14-a6e4-4781-94de-fca3003422be                      kafka-data-appd-kafka-1-pvc-9df40f13-8276-4f34-ae30-ce7e0742b4de
authn-datadir-auth-mysql-0-pvc-6051ea8a-12f7-45f7-b6ee-2c41daab1de5                      kafka-data-appd-zookeeper-2-pvc-3718a537-4ee6-4e74-8e1e-d6739eeaed4d
cisco-eum-eum-store-eum-ss-0-pvc-6d37c4bb-cd75-430c-9c23-01f4a87c6660                    mysql-datadir-appd-mysql-2-pvc-89b92be9-3347-46a5-b4a3-42f9ca167159
cisco-synthetic-synthetic-store-synthetic-ss-0-pvc-3a243117-3f25-4ae6-a8c0-3f5df9690245  postgres-appd-postgres-instance-fq6z-pgdata-pvc-133ea41c-decb-4266-9532-0bd1fcb9736c
custom-actions                                                                           redis-redis-data-redis-node-2-pvc-7bc1223b-0add-4f1a-9c69-1f9cf54e1844
es-elasticsearch-data-appd-es-node-2-pvc-285050ce-294c-4756-b7be-dc9ad3ecb7c9

Copy the backup file obtained during the backup (e.g., backup-0093.tar) to VM1. This method depends on the environment, so I will omit the description in this article.

Then, use the appdcli run restore <backup_tar> command to restore the Kubernetes PersistentVolumes.

$ appdcli run restore backup-0093.tar
Do you want to restore self-signed ingress certificates ? Enter 0 for No or 1 for Yes: 1
persistentvolume/pvc-01dd33e5-c4ad-4f59-8a5e-a34efb413b0c created
(中略)
persistentvolumeclaim/redis-data-redis-node-2 created
PVC restore executed successfully to cluster
Ingress custom certs already in use. Ignoring
Importing secret: onprem-feed-sys
====================================================================================
Merge any changes done in globals.yaml.gotmpl & secrets.yaml to the new installation
====================================================================================
Restore completed.

It is OK if no errors are output and Restore completed. is displayed.

Next, confirm that the PersistentVolumeClaims (PVCs) are in Bound state.

$ kubectl get pvc -A
NAMESPACE         NAME                                 STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   VOLUMEATTRIBUTESCLASS   AGE
cisco-eum         eum-store-eum-ss-0                   Bound    pvc-6d37c4bb-cd75-430c-9c23-01f4a87c6660   20Gi       RWO            local-data     <unset>                 10m
cisco-synthetic   synthetic-logs-synthetic-ss-0        Bound    pvc-43b1caf8-516a-4686-a5ea-ac2283f8d8d4   2Gi        RWO            local-logs     <unset>                 10m
cisco-synthetic   synthetic-store-synthetic-ss-0       Bound    pvc-3a243117-3f25-4ae6-a8c0-3f5df9690245   20Gi       RWO            local-data     <unset>                 10m
es                elasticsearch-data-appd-es-node-0    Bound    pvc-44e89eb4-9487-4af0-a8c2-6d565c9ca7fe   50Gi       RWO            local-data     <unset>                 10m
es                elasticsearch-data-appd-es-node-1    Bound    pvc-9293f00a-6216-4412-bce9-4f252f67d134   50Gi       RWO            local-data     <unset>                 10m
es                elasticsearch-data-appd-es-node-2    Bound    pvc-285050ce-294c-4756-b7be-dc9ad3ecb7c9   50Gi       RWO            local-data     <unset>                 10m
kafka             data-appd-kafka-0                    Bound    pvc-ed6a3663-c47a-4f07-9ec1-7d3a96de756a   50Gi       RWO            local-data     <unset>                 10m
kafka             data-appd-kafka-1                    Bound    pvc-9df40f13-8276-4f34-ae30-ce7e0742b4de   50Gi       RWO            local-data     <unset>                 10m
kafka             data-appd-kafka-2                    Bound    pvc-64c8223d-e092-4d07-81f4-0849f910b679   50Gi       RWO            local-data     <unset>                 10m
kafka             data-appd-zookeeper-0                Bound    pvc-40ded7c3-4d6f-4a02-ba05-9e6ec5230802   1Gi        RWO            local-data     <unset>                 10m
kafka             data-appd-zookeeper-1                Bound    pvc-c47f7370-c5fa-4424-bfd8-522d6dddeb82   1Gi        RWO            local-data     <unset>                 10m
kafka             data-appd-zookeeper-2                Bound    pvc-3718a537-4ee6-4e74-8e1e-d6739eeaed4d   1Gi        RWO            local-data     <unset>                 10m
mysql             datadir-appd-mysql-0                 Bound    pvc-d43b6742-da9e-4bcb-99c7-ab422ac6adc4   100Gi      RWO            local-data     <unset>                 10m
mysql             datadir-appd-mysql-1                 Bound    pvc-b918e113-4111-4371-ac08-92015828c6f4   100Gi      RWO            local-data     <unset>                 10m
mysql             datadir-appd-mysql-2                 Bound    pvc-89b92be9-3347-46a5-b4a3-42f9ca167159   100Gi      RWO            local-data     <unset>                 10m
postgres          appd-postgres-instance-fq6z-pgdata   Bound    pvc-133ea41c-decb-4266-9532-0bd1fcb9736c   50Gi       RWO            local-data     <unset>                 10m
postgres          appd-postgres-instance-k92k-pgdata   Bound    pvc-127f7a28-17cc-4d5f-92ab-162a991b3676   50Gi       RWO            local-data     <unset>                 10m
postgres          appd-postgres-instance-rxpg-pgdata   Bound    pvc-f63d7825-992f-406a-8257-0d46abeb265a   50Gi       RWO            local-data     <unset>                 10m
postgres          appd-postgres-repo1                  Bound    pvc-8366f1c5-abe0-475f-a8ef-52c08b3b0a80   50Gi       RWO            local-data     <unset>                 10m
redis             redis-data-redis-node-0              Bound    pvc-01dd33e5-c4ad-4f59-8a5e-a34efb413b0c   10Gi       RWO            local-data     <unset>                 10m
redis             redis-data-redis-node-1              Bound    pvc-c8a56ecf-6b99-47a7-8c6a-d406df730457   10Gi       RWO            local-data     <unset>                 10m
redis             redis-data-redis-node-2              Bound    pvc-7bc1223b-0add-4f1a-9c69-1f9cf54e1844   10Gi       RWO            local-data     <unset>                 10m

It is OK if all STATUS values are Bound. This completes the data restoration.

Now we would like to proceed to starting the AppDynamics basic services as described in the product manual, but there is one thing to do before that. It is applying a workaround for a known issue described in the AppD VA version 25.10.0 release notes. Specifically, open /var/appd/config/globals.yaml.gotmpl with a text editor, and add the following lines at the end of the file, then save.

# Migration config for datastores
migration:
  elasticsearch:
    fs:
      enabled: false
      mountPath: /mnt/nfs_events

Then attempt to start the AppDynamics basic services. Here, specify the same profile as during installation, small, as the last argument.

$ appdcli start appd small

hook[prepare] logs | Checking if GPG key 'appd-gpg-key' exists...
hook[prepare] logs | sec   rsa4096 2026-04-04 [SCEA]
hook[prepare] logs |       ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
hook[prepare] logs | uid           [ unknown] appd-gpg-key (AppDynamics gpg key)
hook[prepare] logs | ssb   rsa4096 2026-04-04 [SEA]
hook[prepare] logs |
hook[prepare] logs | GPG key 'appd-gpg-key' already exists.
hook[prepare] logs | Encrypting secrets.yaml...
hook[prepare] logs | secrets.yaml is encrypted
hook[prepare] logs | GPG key synced to 10.0.129.135 successfully.
hook[prepare] logs | GPG key synced to 10.0.129.24 successfully.
hook[prepare] logs |

hook[prepare] logs | ************ Performing prepare steps **********
hook[prepare] logs | Writing run specs
hook[prepare] logs | Updating node ip address
hook[prepare] logs | Updating domain name
hook[prepare] logs | ************ prepare steps completed  **********
hook[prepare] logs |
Building dependency release=cert-manager, chart=charts/cert-manager
(中略)
UPDATED RELEASES:
NAME                   NAMESPACE             CHART                          VERSION        DURATION
cert-manager-ext       cert-manager          charts/cert-manager-ext        0.0.1                2s
replicator             replicator            charts/kubernetes-replicator   2.10.2               2s
mysql-certs            mysql                 charts/mysql-certs             0.0.1                5s
authz-service          authz                 charts/authz-service           25.10.0-585          5s
cluster                                      charts/cluster                 0.0.1                5s
ingress                ingress-master        charts/ingress                 0.0.1                5s
redis-ext              redis                 charts/redis-ext               0.0.1                7s
elasticsearch          es                    charts/elasticsearch           0.0.1                8s
fluent-bit             fluent                charts/fluent-bit              0.47.10              8s
synthetic              cisco-synthetic       charts/synthetic               0.0.1                9s
eum                    cisco-eum             charts/eum                     0.0.1                9s
ingress-nginx          ingress               charts/ingress-nginx           4.11.3               9s
events                 cisco-events          charts/events                  0.0.1                9s
redis                  redis                 charts/redis                   19.5.2               9s
cluster-agent          cisco-cluster-agent   charts/cluster-agent           1.32.1279            9s
postgres               postgres              charts/postgres                0.0.1                9s
controller             cisco-controller      charts/controller              0.0.1                9s
kafka                  kafka                 charts/kafka                   0.0.1               24s
bootstrap              cisco-controller      charts/bootstrap               0.0.1                1s
schema-registry        schema-registry       charts/schema-registry         0.0.1                3s
mysql                  mysql                 charts/mysql                   0.0.1             1m34s
auth-service-ingress   authn                 charts/onprem-auth             0.1.0               52s
auth-service           authn                 charts/auth-service            25.10.0-1718         1s
bootstrap-authn        authn                 charts/bootstrap-authn         0.0.1                1s

Install successful

If Install successful is displayed, it is temporarily OK. If an error like the following appears, run appdcli start appd small again and check the situation.

  	* rpc error: code = Unknown desc = exec (try: 500): database is locked
Install failed

However, even if Install successful is displayed, the AppD VA is still starting internally, so it may take 10 to 20 minutes for the startup to complete. Therefore, run the following command.

$ watch -n 30 "appdcli ping"

The execution result of this command will initially include service endpoints with a Failed status, but after waiting for a while (e.g., about 10 to 20 minutes), it should finally display the following.

+---------------------+---------------+
|  Service Endpoint   |    Status     |
+=====================+===============+
| Controller          | Success       |
+---------------------+---------------+
| Events              | Success       |
+---------------------+---------------+
| EUM Collector       | Success       |
+---------------------+---------------+
| EUM Aggregator      | Success       |
+---------------------+---------------+
| EUM Screenshot      | Success       |
+---------------------+---------------+
| Synthetic Shepherd  | Success       |
+---------------------+---------------+
| Synthetic Scheduler | Success       |
+---------------------+---------------+
| Synthetic Feeder    | Success       |
+---------------------+---------------+
| AD/RCA Services     | Not Installed |
+---------------------+---------------+
| SecureApp           | Not Installed |
+---------------------+---------------+
| OTIS                | Not Installed |
+---------------------+---------------+
| ATD                 | Not Installed |
+---------------------+---------------+
| UIL                 | Not Installed |
+---------------------+---------------+

If after waiting for a while not all endpoints from Controller to Synthetic Feeder become Success, refer to the following documentation or consult support.

I will omit the details here, but in my environment, the following additional steps were necessary.

  1. Stop the AppD services again (appdcli stop appd) and confirm.
  2. Check and note the names of the following PersistentVolumeClaims and their associated PersistentVolumes (kubectl get pvc -A).
  • eum-store-eum-ss-0
  • synthetic-store-synthetic-ss-0
  • synthetic-logs-synthetic-ss-0
  1. Delete the PersistentVolumeClaims (kubectl delete pvc [target]).
  2. Delete the PersistentVolumes (kubectl delete pv [target]).
  3. Restart the AppD services (appdcli start appd small) and confirm (watch -n 30 "appdcli ping").

I judged that this additional procedure is a limitation specific to upgrading from AppD VA version 25.7.0 to 25.10.0.

Now, the AppDynamics basic services have started.

Simple Operation Check

Finally, let's do a simple operation check.

Log in to the AppD VA as in the operation check in the article Installing Splunk AppDynamics On-Premises Virtual Appliance (Part 2). Next, click the Servers menu on the left, then double-click a row for any server to open the detail screen. Open the time range selection list box in the upper right and select a time range that includes the time before the upgrade (e.g., last 6 hours).
AppDynamics server detail screen

It is OK if metric data is displayed for both of the following time periods.

  • Time period before the upgrade (e.g., around 5-6 PM)
  • Time period after the upgrade (e.g., around 9-10 PM)

Summary

In this article, as the second part of the AppD VA upgrade, I described checking the deployment status, recreating the cluster, restoring data, and a simple operation check. Although one known issue and one limitation were encountered, by applying their workaround procedures, the AppD VA upgrade was successfully completed.

Discussion