The secondary Foglight Management Server (FMS) in a high availability (HA) environment does not get synchronized. After starting up in HA mode, the cartridges are not getting synchronized. If a new cartridge is getting deployed on the primary FMS, it is getting synchronized, but existing cartridges will not be synchronized.
To solve this issue do the following:
1. Stop the secondary FMS
2. Move the "$FGL_HOME/state/cartridge.exploded" directory to temp location outside of $FGL_HOME (as a backup). The directory will be recreated, when starting up the FMS.
3. Log on to the machine, where the primary FMS is installed.
4. Navigate to the "$FGL_HOME/cartridge" directory.
5. Compare the contents to the “Cartridge Inventory” page on the UI. If any enabled cartridges on the UI do not have corresponding .car files in the $FGL_HOME/cartridge directory, the solution should not be applied! It will not result in a sync-up between the two servers, because the primary servers $FGL_HOME/cartridge directory is missing cartridges that are available on the UI.
For example, if the “Cartridge Inventory” page displays enabled “Sybase” cartridges, but there is no Sybase*.car files in the $FGL_HOME/cartridge directory, do not proceed with the solution outlined in this article.
NOTE: Some .car files (visible in the directory) may contain multiple cartridges (visible on the UI). The multiple cartridges are usually pre-fixed with the same name, e.g. “Dependency-*”.
6. After confirming that all enabled cartridges on the UI have corresponding .car files in the $FGL_HOME/cartridge directory, copy the cartridges from the primary FMS under "$FGL_HOME/cartridge" directory to the secondary FMS into "$FGL_HOME/upgrade/cartridge" directory.
7. Start secondary FMS.
The startup might take a bit longer than usual. After the secondary FMS has been started, check the "Cartridge Inventory" dashboard if all cartridges are there now.