Upgrade installations with multiple state instances
When upgrading an Agent Manager installation that has multiple state instances running, all the state instances must be upgraded simultaneously, otherwise the upgrade process fails with errors.
You must use one of the following upgrade options:
Once you finish upgrading the Agent Manager hosts, restart each of the agents that were deactivated.
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.
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 the Database cartridges
This section explains how to upgrade an earlier version of a database monitoring cartridge to the latest version. For details, refer to the following topics:
For more information about upgrade and compatibility for specific catridges, refer to the related Release Notes.