Install Cisco AppDynamics Services in the Hybrid Deployment
In a hybrid deployment, Splunk AppDynamics On-Premises Virtual Appliance leverages your current Controller, Events Service, and End User Monitoring components from Splunk AppDynamics On-Premises and installs Anomaly Detection and Cisco Secure Application Services in your Kubernetes cluster.
Prepare to Install Splunk AppDynamics Services
Complete the following steps to prepare the environment:
Create a Three-Node Cluster
Configure the Standalone Controller in Splunk AppDynamics On-Premises
Install Services in the Cluster
- When a Virtual Machine restarts, the MySQL service may not automatically restore. To troubleshoot this issue, see Restore the MySQL Service.
- If the EUM Collector, EUM Aggregator, and EUM Screenshot pods are failing even after multiple retries, see EUM Health is Failing After Multiple Retries.
Configure DNS Entries for the Hybrid Deployment
Save the following script on the console of your primary virtual appliance node as dnsinfo.sh and run it. Follow the instructions in its output:
#!/bin/bash
set -euo pipefail
TENANT=$(helm secrets decrypt /var/appd/config/secrets.yaml.encrypted | yq .hybrid.controller.tenantAccountName)
CONTROLLER_DNS_DOMAIN=$(grep -v "^ *\t* *{{" /var/appd/config/globals.yaml.gotmpl | yq -r '.hybrid.controller.domainName')
DNS_DOMAIN=$(grep -v "^ *\t* *{{" /var/appd/config/globals.yaml.gotmpl | yq -r '.dnsDomain')
echo Verify the Virtual Appliance tenant should be \'${TENANT}\'
echo Verify the Virtual Appliance domain name should be \'${DNS_DOMAIN}\'
echo Verify the Controller domain name should be \'${CONTROLLER_DNS_DOMAIN}\'
echo
for server_name in "$CONTROLLER_DNS_DOMAIN" "${DNS_DOMAIN}" "${TENANT}.${CONTROLLER_DNS_DOMAIN}" "${TENANT}-tnt-con.${DNS_DOMAIN}" "${TENANT}-tnt-con.${CONTROLLER_DNS_DOMAIN}"; do
if ! getent hosts "${server_name}" > /dev/null; then
echo "Please add DNS entry for ${server_name} for controller host IP, VA is not able to resolve it currently"
fi
done
for server_name in "${TENANT}.auth.${DNS_DOMAIN}" "${TENANT}-tnt-authn.${DNS_DOMAIN}"; do
if ! getent hosts "${server_name}" > /dev/null; then
echo "Please double-check on standalone controller that DNS can resolve entry for ${server_name} as VA ingress IP"
fi
done
Sample script invocation:
bash ./dnsinfo.sh
Sample output:
Verify the Virtual Appliance tenant should be 'customer1'
Verify the Virtual Appliance domain name should be 'va.mycompany.com'
Verify the Controller domain name should be 'controller.mycompany.com'
Please add DNS entry for controller.mycompany.com for controller host IP, VA is not able to resolve it currently
Please add DNS entry for va.mycompany.com for controller host IP, VA is not able to resolve it currently
Please add DNS entry for customer1.controller.mycompany.com for controller host IP, VA is not able to resolve it currently
Please add DNS entry for customer1-tnt-con.va.mycompany.com for controller host IP, VA is not able to resolve it currently
Please add DNS entry for customer1-tnt-con.controller.mycompany.com for controller host IP, VA is not able to resolve it currently
Please double-check on standalone controller that DNS can resolve entry for customer1.auth.va.mycompany.com as VA ingress IP
Please double-check on standalone controller that DNS can resolve entry for customer1-tnt-authn.va.mycompany.com as VA ingress IP
Update the Standalone Controller TLS Certificate
Generate the Hybrid Configuration File
Configure the Controller Properties by Using the Kubernetes Cluster CLI
- Changes won't take effect until you restart the standalone Controller in a later step.
- If you skipped updating the CA certificates, you must regenerate hybrid configuration file after restarting a Virtual Appliance service.
Restart the Standalone Controller
cd ~/appdynamics/platform/product/controller/bin/
./controller.sh stop
./controller.sh start
Install the Anomaly Detection Services in the Cluster
IOException
error occurs when you access Anomaly Detection in the Controller UI. See Troubleshoot Virtual Appliance Issues.(Optional) Install Cisco Secure Application
Install the ATD Services in the Cluster
Ensure that AuthN service is installed along with Splunk AppDynamics services.
kubectl get pods -nauthn
Follow the steps to install Automatic Transaction Diagnostics service in the Virtual Appliance:
Download Splunk AppDynamics Agents
Splunk AppDynamics On-Premises Virtual Appliance supports you to install the Splunk AppDynamics agents. Download the agents from Download Portal.
For more information, see: