You require to generate hybrid configuration file only if you are not using custom certificates 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.
- Run the script to connect the Kafka node ports with the standalone Controller:
~/appd-charts/utils$ bash prepare-hybrid.sh
Sample output:
Writing Kafka CA Cert
Writing Schema registry CA Cert
Writing AnomalyDetectionKafkaSSLProducer
Writing AnomalyDetectionKafkaConsumerSSL
Writing configure script
Creating archive of hybrid config
hybrid-config/
hybrid-config/kafka-ca.crt
hybrid-config/AnomalyDetectionKafkaConsumerSSL
hybrid-config/configure.sh
hybrid-config/schema-registry-ca.crt
hybrid-config/AnomalyDetectionKafkaSSLProducer
Completed
This script generates the hybrid-config.tar file that includes the required configuration files.
- Copy the
hybrid-config.tar file to your standalone Controller instance.
- Log in to the standalone Controller.
- Locate and extract the
hybrid-config.tar file contents.
tar -xvf hybrid-config.tar
- Run the
configure.sh script to provision the Controller with certificates and secrets to connect to the Kubernetes cluster:
The following script is extracted from the hybrid-config.tar file.
$ bash configure.sh
Usage: configure.sh <controller-home> <keystore-passwd>
Using controller home as /opt/appdynamics and keystore password as changeit
Do you want to proceed? (y/n): y
Creating Kafka truststore
Certificate was added to keystore
Creating schema registry truststore
Certificate was added to keystore
Writing obfuscated producer config
Writing obfuscated consumer config
Completed
注:
Certificates in the Virtual Appliance expire after 60 days. To maintain connectivity, you must copy the updated certificates from the Virtual Appliance to your Splunk AppDynamics オンプレミス Classic Controller. To do this, regenerate the hybrid configuration file on the Virtual Appliance and then copy it to your Standalone Controller.