Prepare the Classic Controller
To prepare classic Controller for installing Virtual Appliance services, complete the following steps:
Configure the Standalone Controller in Splunk AppDynamics On-Premises
Complete post-installation tasks for the Standalone Controller after installing AppDynamics Services.
Configure the Controller Properties by Using the Kubernetes Cluster CLI
Configure Controller properties by using the Kubernetes cluster CLI after installing services.
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.
Configure the Standalone Controller for Hybrid Connectivity
Complete these checks before running the script:
- Extract the generated hybrid-config archive on the Controller host.
- Run the script from inside the extracted hybrid-config directory.
-
Identify the actual Controller home: The directory containing db/, tools/, and appserver/.
Tip:/home/appdynamics/appdynamics/platform/controller. The suggested default is/opt/appdynamics/platform/product/controller, but the installation path can vary. - Obtain the DNS name configured as
hybrid.mysql.dbHostin the Virtual Appliance. - Use an account with permission to update the Controller and MySQL certificate files.
Controller home example: /home/appdynamics/appdynamics/platform/controller. The suggested default is /opt/appdynamics/platform/product/controller, but the installation path can vary.
Keystore password behavior: The script first tries the standard keystore password, changeit. If that password cannot open the existing Controller CA truststore, the script prompts securely for the configured password. Typed password characters are not displayed.
The selected password is used consistently for:
- The Kafka client truststore.
- The Schema Registry client truststore.
- The existing Controller CA truststore.
- The
truststore-passwordfields in the obfuscated producer and consumer configurations.
appserver/jetty/etc/cacerts.jks.
Changes made by the script:
| Item | Location relative to Controller home | Action |
|---|---|---|
| Kafka client truststore | pi-kafka-ssl-config/kafka.client.truststore.jks |
Created or replaced using kafka-ca.crt. |
| Schema Registry client truststore | pi-kafka-ssl-config/schema-registry.client.truststore.jks |
Created or replaced using schema-registry-ca.crt. |
| Controller CA truststore | appserver/jetty/etc/cacerts.jks |
Replaces the k8s-cluster alias with schema-registry-ca.crt. |
| Kafka client configurations | pi-kafka-ssl-config/AnomalyDetectionKafka* |
Writes obfuscated producer and consumer configuration. |
| MySQL server certificate | Database data directory from db/db.cnf |
Generates a 365-day certificate containing the supplied DNS SAN. |
If the configuration is successful, the following message will be displayed:
Hybrid Controller configuration completed successfully.
After the script completes successfully, restart the Controller and its MySQL service. The Controller truststore and MySQL certificate changes do not take effect until the affected services are restarted.
Restart the Standalone Controller
Restart the Standalone Controller and MySQL service after completing configuration changes.