Skip to Content

Solved: How do I fix synchronization issue in FortiManager?

This article describes how to synchronize FortiGate’s configuration to FortiManager’s database.

Solution

Config status

FortiGate’s configuration synchronization to FortiManager can be verified by the config and policy package status in the FortiManager.

Config status in FortiManager:

  1. Conflict
  2. Out-of-sync
  3. Modified
  4. Unknown

Conflict

Solution: To fix the conflict status in the FortiManager’s config status follow the below steps

Navigate to Device Manager > Double-click on the FortiGate > Configuration and installation widget> Revision history > Select revision > View diff

To update the current configuration running on the FortiGate to FortiManager follow the below steps:

Retrieve:

Navigate to Device Manager > Managed Devices > Double click the FortiGate > Dashboard > Summary > Configuration and Installation widget > Revision > select the menu icon > Retrieve

To retrieve via CLI:

# diagnose test deploymanager reloadconf <OID>

To retrieve via CLI

To retrieve via CLI

Import configuration: To synchronize the ADOM database of FortiManager import the configuration

Navigate to Device Manager > Import configuration > Check if the name of the policy is same > Overwrite > Check the interface mapping > Next

Import configuration: To synchronize the ADOM database of FortiManager import the configuration

To push the configuration changes made from FortiManager to FortiGate install the configuration so the changes will be updated on FortiGate. Before following this step take the FortiGate configuration backup

Navigate to FortiGate > Dashboard > Admin > Configuration > Backup

Install: Navigate to FortiManager > Device Manager > Install > Install Wizard > Install Device Settings (only) > Check the install preview

Install: Navigate to FortiManager > Device Manager > Install > Install Wizard > Install Device Settings (only) > Check the install previewAuto-update

For any configuration changes made on the FortiGate locally, it will automatically update the changes to the FortiManager’s device database. To enable this

Navigate to System Settings > Advanced > Advance settings > Configuration changes Receive from FortiGate > Set it to Automatically accept

Navigate to System Settings > Advanced > Advance settings > Configuration changes Receive from FortiGate > Set it to Automatically accept

From CLI:

# config sys admin setting
set auto-update enable
end

Note: User needs to manually ‘Import configuration’ to synchronize the policy package status

Modified

When the config status is modified, verify by checking the difference before pushing the changes to FortiGate:

Navigate to Device Manager > Double-click on the FortiGate > Configuration and installation > Revision history > Select revision > View diff

When the config status is modified, verify by checking the difference before pushing the changes to FortiGate:

Navigate to Device Manager > Double-click on the FortiGate > Configuration and installation > Revision history > Select revision > View diff

To push these changes to the FortiGate:

Navigate to Device Manager > Install > Install Wizard > Install Device Settings (only) > Check the install preview

To push these changes to the FortiGate:

Policy-package status

Conflict

To update the configuration running on the FortiGate to FortiManager follow the below steps:

Retrieve: By retrieving, the complete configuration of FortiGate will be updated on the FortiManager’s device database.

Device Manager > Managed Devices > Double click the FortiGate > Dashboard > Summary > Configuration and Installation widget > Revision > select the icon in front of that and Chose Retrieve

Import configuration:

Navigate to Device Manager > Import configuration > Check if the name of the policy is same > Overwrite > Check the interface mapping > Next

To push the configuration changes made from FortiManager to FortiGate install the configuration so the changes will be updated on FortiGate. Before following this step take the FortiGate configuration backup

Navigate to FortiGate > Dashboard > Admin > Configuration > Backup

Install:

Navigate to FortiManager > Device Manager > Install > Install Wizard > Install Policy Package & Device Settings > Check the install preview > Install

If any errors are seen in the preview review and fix that error before installing to FortiGate

If any errors are seen in the preview review and fix that error before installing to FortiGate

Modified

If the policy-package status is modified verify first by checking the difference before pushing the changes to FortiGate:

Navigate to Device Manager > Double click on the FortiGate > Configuration and installation > Revision history > Select revision > View diff

To push these changes to the FortiGate:

Navigate to Device Manager > Install > Install Wizard > Install Policy Package & Device Settings > Check the install preview

Troubleshooting: If users are still facing any issues stop till the preview and raise a case with the Fortinet technical support to troubleshoot the issue further and share the below debug

# diagnose debug application securityconsole 255
# diagnose debug app depmanager 255
# diagnose debug application fgfmsd 255 <FortiGate's IP>
# diagnose debug enable
# diagnose debug time enable

Install Wizard > Select the FortiGate > Stop till the preview —> If users see any changes which are not expected configuration changes, do not install

To stop debugging:

# di de di

Alex Lim is a certified IT Technical Support Architect with over 15 years of experience in designing, implementing, and troubleshooting complex IT systems and networks. He has worked for leading IT companies, such as Microsoft, IBM, and Cisco, providing technical support and solutions to clients across various industries and sectors. Alex has a bachelor’s degree in computer science from the National University of Singapore and a master’s degree in information security from the Massachusetts Institute of Technology. He is also the author of several best-selling books on IT technical support, such as The IT Technical Support Handbook and Troubleshooting IT Systems and Networks. Alex lives in Bandar, Johore, Malaysia with his wife and two chilrdren. You can reach him at [email protected] or follow him on Website | Twitter | Facebook

    Ads Blocker Image Powered by Code Help Pro

    Your Support Matters...

    We run an independent site that is committed to delivering valuable content, but it comes with its challenges. Many of our readers use ad blockers, causing our advertising revenue to decline. Unlike some websites, we have not implemented paywalls to restrict access. Your support can make a significant difference. If you find this website useful and choose to support us, it would greatly secure our future. We appreciate your help. If you are currently using an ad blocker, please consider disabling it for our site. Thank you for your understanding and support.