The FGLAM adapter gets disabled when Foglight Server (FMS) is started in High Availability mode (HA).
During this process, the Application Servers-JAVA and NEXUS cartridges were not enabled automatically. When tried to manually enable Application Servers-JAVA and NEXUS cartridges, an ERROR is found stating that "Failed to resync types".
Java cartridge has various topology ERRORS when FMS server was started.
Steps:
1. Go to FMS console | Dashboards | Administration | Tooling | Script Console
2. Run the "expire-invalid-types.groovy" script and check which invalid types.
3. There might be many Java topology types and other types may also be affected such as database, etc.
4. Save the output.
5. Re-run the "expire-invalid-types.groovy" script after editing it that is set the "expireInvalidTypes flag" to TRUE and again check that output.
6. This should looks right. Note any errors or exceptions if any.
7. Check in the new output if all the types were successfully "EXPIRED".
8. Restart the FMS.
9. Check in the Foglight server logs for any exceptions or errors. There should not be any topology type of errors in the FMS startup logs.
10. If there are no errors found in the FMS startup logs then attempt to re-enable the ApplicationServer Cartridges.
11. The Java cartridge should startup clean.