cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
78
Views
0
Helpful
0
Replies
Highlighted
Beginner

Tail-f HCC HaException: wrong response for HA:BESLAVE

Hello,

 

I'm trying to set up a local HA lab which consists of two VMs, each running an NSO instance (system install).

Using the tailf-hcc package and the manual, I attempted to set up the basic example of HA - one master and one slave with failover-master=true.

Both the VMs are reachable via Ping between themselves.

 

However, when I activate HA (ha commands activate), nothing happens. The master NSO shows the correct state when doing 'show ncs-state ha', with the exception that it doesn't show any connected-slaves.

The slave remains on "ha mode none" and its ncs-java-vm.log shows the following exception:

com.tailf.ha.HaException: wrong response for HA:BESLAVE responded with: {error,25}

    at com.tailf.ha.Ha.checkResponse(Ha.java:297)

    at com.tailf.ha.Ha.beSlave(Ha.java:153)

    at com.tailf.ns.tailfHcc.Cluster.updateLocalNode(Cluster.java:1090)

    at com.tailf.ns.tailfHcc.Cluster.update(Cluster.java:1229)

    at com.tailf.ns.tailfHcc.TcmApp$PeriodicTask.run(TcmApp.java:493)

    at java.util.TimerThread.mainLoop(Timer.java:555)

    at java.util.TimerThread.run(Timer.java:505)

 

The slave's ncs.log also has the following error:

Failed to connect to master: host is unreachable

 

Has anyone had this issue?

 

Best regards,

Gabriel