Chat now with support
Chat with Support

Foglight 5.9.5 - Upgrade Guide

Understand product versions Best practices Upgrade the Foglight Management Server Upgrade the Foglight Agent Manager Upgrade the Application Monitoring cartridges Upgrade the Database cartridges Upgrade the End User Management cartridges Upgrading the Infrastructure Management cartridges Upgrade the Integration cartridges Upgrade the cartridges in a federated or High Availability (HA) environment Appendix: Deploying an agent package using the browser interface

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.
Two new files are deployed to the state config directory during a FglAM upgrade. Locate these files (client.config and baseline.jvmargs.config) within the FglAM state instance that was upgraded.
As these file instances may already contain transferred values from the legacy vm.config, you need to review each of the settings in both of these files in order to ensure that these configuration options apply to the FglAM state instance that they are being copied into.
2
Note that the vm.config settings were migrated.
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.
4
Validate the settings in client.config with vm.config values.
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.
5
Migrate the java.vm config option.
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.

 

Upgrade the Application Monitoring cartridges

This section explains how to upgrade an earlier version of an Application Monitoring cartridge to the most current version. For details, refer to these topics:

Related Documents