Agent Manager upgrade issues
Agent Manager upgrades for multiple state instances may fail in certain situations. A detailed description of this issue and a workaround is provided in FglAM vm.config file migration fails under multi-state installations.
Agent Manager upgrades from a 5.5.4.x legacy release require an intermediary upgrade to 5.6.7 prior to upgrading to 5.8.5 or later. To complete this intermediary upgrade, install one or more of the Agent Manager 5.6.7 platform-specific cartridges (as required), and upgrade the legacy hosts to this release before deploying the 5.9.x Agent Manager cartridge or upgrading the Foglight Management Server to version 5.9.x.
After all of the legacy hosts are running version 5.6.7, and the Foglight Management Server is upgraded to version 5.9.x or later, you can start upgrading your hosts to version 5.9.x.
You may encounter issues in the following situation when upgrading the Agent Manager: Upgrade from an Agent Manager version earlier than 5.5.4.
FglAM vm.config file migration fails under multi-state installations
FglAM vm.config file migration fails under multi-state installations
Description
When upgrading a multi-state Foglight Agent Managers that share “bin” directories, some of the agent managers become unresponsive as the states are running out of memory. “Out of memory” messages appear in the logs. In addition, error messages like the following appear in the agent manager log:
Workaround
1 |
Locate the client.config and baseline.jvmargs.config files. |
The legacy vm.config file has be replaced with two new config files. The settings in this file have been split between the new
client.config and the
baseline.jvmargs.config files.
3 |
Migrate the vmparameter.x from vm.config to baseline.jvmargs.config. |
Locate the vm.config file within the config state directory instance of FglAM. At the bottom of the file there is a section for defining
vmparameter.x = ""; values. Copy over the
vmparameter.x settings from the legacy
vm.config here into the
baseline.jvmargs.config file.
Review all of the options declared in the vm.config with those of the
client.config you have copied over. The
client.config is a super-set of properties from the
vm.config (with the exception that the
vmparameter values are no longer defined here). So each property that exists in the
vm.config should also exist in the
client.config. Ensure that each of the common config values in the
client.config file matches the values in the
vm.config. If they are different, then update the
client.config to match.
If the java.vm config option was set in the
vm.config, then update the
java.vm option in the new
client.config. When transferring this value over, ensure that the path value is quoted and back-slashes escaped. For example:
Upgrade from an Agent Manager version earlier than 5.5.4
If you are upgrading from a version of the Agent Manager that is earlier than 5.5.4, the upgrade may freeze. This can happen if the Agent Manager is running certain older agents that have defects. To resolve this issue, shut down and restart the Agent Manager manually, and then proceed with the upgrade.
If one of these older agents with defects is running in the embedded Agent Manager, the Management Server may freeze during upgrade. Again, if this happens, shut down and restart the Agent Manager manually, and then proceed with the upgrade.
Certificate migration from version 5.6.2.1 or earlier
If you are upgrading from an earlier version than 5.6.2.2, certificates that you manually added to the JRE must be manually migrated to the Agent Manager certificate store after the upgrade. After you manually migrate the certificates during the upgrade from a pre-5.6.2.2 version, no further manual intervention is required for subsequent upgrades.
To perform this one-time migration, you must use the Agent Manager command-line credential tools. With these tools, you can migrate certificates from the JRE certificate store to the Agent Manager’s internal certificate store.
For more information, see the Foglight Command-Line Reference Guide.