Splunk AppDynamics

Failover Automation

Haluk_Yaşar_Ero
Path Finder

Hello everyone,

I have not started yet, I wanted to progress with the sharing of ideas from you.

I have 4 appdynamics servers 1 es 1ec 2 controller.

Every month, I turn off their manual failover in patch passes, respectively.

I want to automate it via ansible , vro or servicenow instead of doing it manually.

For example;
1 es server will be stopped, after the patch guarantees running, it will restart and wake up the service.
He will repeat 2 Ec as we will meet.
3. if it wants to fail over it will check and stop and restart whichever server is secondary.
4. After starting the failover and switching to the other server, it will perform the same steps on the previous first server and print the successful or error messages as the last log on all servers.

I look forward to your thoughts on this.

I would like to make an additional correction: Patches are automatically passed to the server, but it is only expected to be restarted. What I want to do is to include failover in this restart sequence.


that is, just removing the restart operation from the manual and automating it.

Labels (3)
0 Karma

greg_bowers
New Member

To automate the monthly restart and failover processes for your AppDynamics servers, you can use Ansible playbooks or workflows in vRealize Orchestrator (vRO) or ServiceNow. These automation scripts should include the steps to patch, restart, and, if applicable, perform failover for your servers. Set up scheduling, logging, and notifications for monitoring and alerting, and thoroughly test the automation in a non-production environment before deploying it in your production environment.

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...