Splunk AppDynamics

Appdynamics 4.3 HA Failover

CommunityUser
Splunk Employee
Splunk Employee

I'm in the process of upgrading my cert environment from 4.2 to 4.3 I have managed to update the two controllers. Except when I ran the HAtoolkit it made my intended primary server the secondary and the intended secondary the primary. I have attempted to failover to test the solution but I receive the following error "

sh failover.sh

lib/password.sh: command substitution: line 71: syntax error near unexpected token `<'

lib/password.sh: command substitution: line 71: `base64 --decode $BASE64_NO_WRAP < <(echo -n $1))'

unable to deobfuscate passwd from /opt/AppDynamics/Controller/db/.rootpw.obf

exit code 2" 

Does anyone know how to fix this? I'd rather not have to reinstall my whole setup but if I need to I will. 

 Thanks

Labels (1)
1 Solution

Saradhi_Pothara
Communicator

Hi Wesley,

Could you please let me know the following details:

1) version of HA toolkit

cat HA/VERSION

2) Are the steps under "Mysql Password" section in this doc implemented?

https://github.com/Appdynamics/HA-toolkit/blob/master/README.txt

3) Did you download HA.shar and extract it or are you using the source code. Using source code would cause problems. The HA.shar needs to be extracted and extracted failover.sh needs to be used.

https://github.com/Appdynamics/HA-toolkit/releases

4) If all these steps are followowed, could you please run failover using bash -x and share the debug output?

  

    bash -x HA/failover.sh 

Regards,
Saradhi

View solution in original post

0 Karma

Saradhi_Pothara
Communicator

Hi Wesley,

Could you please let me know the following details:

1) version of HA toolkit

cat HA/VERSION

2) Are the steps under "Mysql Password" section in this doc implemented?

https://github.com/Appdynamics/HA-toolkit/blob/master/README.txt

3) Did you download HA.shar and extract it or are you using the source code. Using source code would cause problems. The HA.shar needs to be extracted and extracted failover.sh needs to be used.

https://github.com/Appdynamics/HA-toolkit/releases

4) If all these steps are followowed, could you please run failover using bash -x and share the debug output?

  

    bash -x HA/failover.sh 

Regards,
Saradhi

0 Karma
Get Updates on the Splunk Community!

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...

Leverage Cisco Talos Threat Intelligence Across Splunk Security Products

Leverage Cisco Talos Threat Intelligence Across Splunk Security Products   Security Edition   Have you ...

What’s New in Splunk Enterprise 9.4: Tools for Digital Resilience

What’s New in Splunk Enterprise 9.4: Tools for Digital Resilience Tune in to What’s New in Splunk Enterprise ...