Agents are deployed on an embedded FglAM but when the primary (active) FMS fails over to the secondary (passive) FMS none of the agents appear to fail over to the new FMS. All the agents appear in the Agent Status dashboard as broken, i.e. not activate and not collecting data.
When a FMS is shutdown normally any embedded FglAM is also shutdown so this would explain why the agents are not failed over.
When Foglight ins installed in HA Mode by default the embedded FglAM instance is not deployed. In a situation like this it would appear that that the FMS was originally running in standalone mode.
- Shutdown the primary FMS
- Check the embedded FglAM instance is also shut down.
- Edit the $FMS_HOME/config/server.config and change the value of server.fglam.embedded to false
- Move the $FGLAM_HOME/fglam directory to a new directory outside the $FMS_HOME directory which we will refer to to as $FGLAM_HOME
- Copy $FMS_HOME/jre to $FGLAM_HOME/jre
- Start FglAM from this new directory
- The agents should now connect to the other FMS which should now be running as the new primary server
- Start the FMS which was was shut down can then be started back up