Broker failover is unable to take on active role
search cancel

Broker failover is unable to take on active role

book

Article ID: 393245

calendar_today

Updated On:

Products

VMware Telco Cloud Service Assurance VMware Smart Assurance

Issue/Introduction

The failover log indicated there are exception errors from the Monitor-Driver for failover:

JAVA-EINVOKEEXC-Java exception invoking Class "com/smarts/failover/ws/RequestSender", method "setBroker" with signature "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)v" failed

[Date & Time] t@<tread number> Monitor-Driver
ASL_MSG-*-ASLP-failover/failover-monitor.asl: Notify http://<URL>:<port>/smarts-edaa/setBroker of broker change failed; will retry later.

[Date & Time] t@<tread number> Monitor-Driver
[CN-E-Failover_SETBROKER_FAILED-setBroker POST request failed for url: <URL>:<port>/smarts-edaa/setBroker setting to broker: <broker location>:<port>
JIF-JVMIF_EXCEPTIONINCIJVM-Error in InvokedStaticMethod: Exception in CI_JVM.
JAVA-EXCEPTION-While invoking "InvokedVoidMethod", with reason: "Connection refused" and stack trace:
 . java.net.ConnectException: Connection refused
...

 

Environment

TCSA 2.4

Smarts 10.1.x

Cause

Customer does not use EDAA but have the following lines uncomment

OnChangePOST = "http://smarts-tomcat-host-A:8080/smarts-edaa/setBroker";
OnChangePOST = "http://smarts-tomcat-host-B:8080/smarts-edaa/setBroker";

Resolution

Since customer does not use EDAA, customer need to comment the following lines in the failover.conf file:

OnChangePOST = "http://smarts-tomcat-host-A:8080/smarts-edaa/setBroker";
OnChangePOST = "http://smarts-tomcat-host-B:8080/smarts-edaa/setBroker";

Then reload the configuration