Standby node in HA stops and does not restart


In a high-availability (HA) environment, an interruption in communication between the active and standby nodes (such as after a network connection interruption) might cause both nodes to become active, a situation which forces the later node to stop.

Issue

In an HA environment for the App Visibility portal or collector, the standby node becomes unavailable and after you restart the node, it stops right away.

Probable cause

An interruption in communication (such as an interruption in the network connection)  between the active and standby nodes might cause both nodes to perform as if they are both active. When communication is reestablished, the system stops the later node—that is, the node which became active at a later time—and you receive an event about the standby node being unavailable.

If you restart the node, sometimes the system still recognizes it as an active node, and the system stops the service.

You can examine the component log file:

  • Windows
    • serverInstallationDirectory\collector\logs\collector.log
    • serverInstallationDirectory\portal\logs\portal.log
  • Linux
    • serverInstallationDirectory/collector/logs/collector.log
    • serverInstallationDirectory/portal/logs/portal.log

Look for the following message:

This component started as an active node instead of the standby node. Shutting down the serverType serverName service.

Resolution

To resolve this issue, restart the active node, and then start the standby node.

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*