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.
ハイブリッド展開の DNS エントリの設定
プライマリ仮想アプライアンスノードのコンソールに、次のスクリプトを dnsinfo.sh として保存し、実行します。その場合は、出力の手順に従ってください。
#!/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
スクリプトの呼び出し例:
bash ./dnsinfo.sh
サンプル出力:
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.
スタンドアロンコントローラを再起動します。
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.(オプション)Cisco Secure Application をインストールします
Install Cisco Secure Application を参照してください。
クラスターへの ATD サービスのインストール
AuthN サービスが Splunk AppDynamics サービスとともにインストールされていることを確認します。
kubectl get pods -nauthn仮想アプライアンスに自動トランザクション診断サービスをインストールする手順は次のとおりです。
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: