This article outlines the steps required to migrate the Foglight Management Server (FMS) to a different machine, including scenarios where the FMS hostname, IP address, and backend database are changing. It also includes guidance for updating Foglight Agent Managers (FglAM) and embedded FglAM configurations.
Important: If the FMS hostname is changing, a new license key may be required.
Contact: license@quest.com with your site ID, contact information, and details about the migration.
Stop the FMS and Back Up Installation
Stop FMS.
Back up the entire $FMS_HOME
directory, including the embedded database (if used).
Restore on New Host
Restore the backup to the desired directory on the new server.
Note: If the directory path differs, update the startup scripts:
$FMS_HOME/bin/fmsStartup.sh
$FMS_HOME/bin/fmsShutdown.sh
Stop Embedded Database (if applicable)
Use ps -ef | grep -i foglight
to check for embedded MySQL/PostgreSQL processes.
If running, stop the database with:
$FMS_HOME/bin/shutdownDb.sh
Start FMS
$FMS_HOME/bin/fmsStartup.sh
Install New License
If the hostname changed, log into Foglight and apply a new license.
Verify FglAM Connectivity
Ensure all connected FglAMs are registering successfully.
If hostname changed, edit each fglam.config.xml
file to point to the new FMS.
Review Logs
Check $FMS_HOME/logs/
for hostname or connection-related errors.
Stop FMS and Back Up Installation
Stop FMS.
Back up the entire $FMS_HOME
directory.
Restore on New Host
Copy the backup to the new server.
Use Robocopy to avoid path length issues:
robocopy \\sourcehost\Quest_Software\Foglight E:\Quest_Software\Foglight /E /ZB /V /COPYALL /DCOPY:DAT /LOG:"E:\Quest_Software\log.txt" /TEE
Start FMS
$FMS_HOME\bin\fms.exe -s
Install New License
If the hostname has changed, install the new license.
Verify FglAM Connectivity
Confirm agent managers are connecting and agents are active.
Review Logs
Check $FMS_HOME\logs\
for hostname or IP-related issues.
Optional: Install FMS as Windows Service
$FMS_HOME\bin\fms.exe -i
Update Windows Shortcuts
Adjust any shortcuts to point to the new FMS location.
Registry Considerations for Upgrades
During upgrades, the Windows registry may not reflect the migrated installation.
Point the installer manually to the existing Foglight directory.
Firewall Configuration
Ensure all required ports are open between the new FMS and FglAMs.
Note: Migration across different operating systems (e.g., Linux to Windows) is not supported.
If FMS hostname or IP changes:
Edit:
$FMS_HOME/fglam/state/default/config/fglam.config.xml
Replace the old FMS address with the new one.
Prevent the embedded FglAM from registering with the outdated hostname.
Refer to Solution 4248557 for details.
All external FglAMs must update their fglam.config.xml
files to point to the new FMS location.
See Solution 4228980 for the full procedure.
After the move:
Log in to the FMS console.
Go to:
Dashboards > Administration > Rules & Notifications > Manage Registry Variables
Locate and update the variable: CATALYST_URL
Set it to the new hostname or IP (e.g., http://fms2.domain.com:8080
)
If you are also moving the external backend database:
Update Foglight to point to the new DB instance.
Refer to Solution 4260799 for details.
Additional Information
Example: Migrating Linux FMS between Data Centers
Old server (Data Center 1):
cd /apps/foglight/FMS_HOME/Server/bin
./fmsShutdown.sh
tar -cvf foglight.tar /apps/foglight
New server (Data Center 2):
useradd foglight
tar -xvf foglight.tar -C /apps/
chown -R foglight: /apps/foglight
cd /apps/foglight/FMS_HOME/Server/bin
./fmsStartup.sh
Update:
CATALYST_URL registry variable
Install the new license
---
Foglight External Backend Database move:
If moving a FMS external backend database, combine this solution also with the changes needed in solution 42249
Client Side changes:
If the IP Address and/or host name of the FMS is going to change, client side configuration changes may be needed to have the clients point to the new FMS location. See solution 50479
Changing spid or FglAM host name or IP address how
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center