Can a single FglAM run multiple instances?
How to install multiple Fglam's on a single host?
The files related to the Foglight Agent Manager's runtime state—for example, configuration and log files—are saved in the /state/ directory hierarchy. Under the state directory, there is a subdirectory for each instance you create.
You can run multiple instances of the Foglight Agent Manager using a single Foglight Agent Manager bin directory. In this type of configuration, you create multiple instances and each instance uses a different state directory but runs from a single Foglight Agent Manager bin directory. One example use of this type of configuration is to test new agent settings without making changes to the agents you are currently using to monitor your production environment.
Caution: In a configuration where multiple Foglight Agent Manager instances share one bin directory, each time you deploy agents, upgrade agents, or deploy Foglight Agent Manager upgrades to one instance, all other instances are updated with it.
You can also configure multiple physical installations of the Foglight Agent Manager to use a corresponding state directory that exists on a single shared drive. One example use of this functionality is running the Foglight Agent Manager in cluster environments.
As described below, you create a new instance (and its associated state sub-directory) by including the --create-state and --location "" (or -l "") options with the fglam command; you then use the fglam --location "" command to run that new instance.
Note: If you do not create multiple instances (by following the instructions below), the Foglight Agent Manager creates an instance called default and stores the state files in the state/default directory.
IMPORTANT: The feature "Multiple states of FglAM" will be desupported within Foglight version 5.6.11.
To create a new Foglight Agent Manager instance:
Navigate to /bin and run the following command:
fglam --create-state --location ""
NOTE: The target directory must NOT exist when running the '--create-state argument to fglam. The command creates the folder with the specified --location parameter.
To run a Foglight Agent Manager instance:
fglam --location ""
© 2023 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy