Created on
‎11-06-2019
05:38 AM
Edited on
‎01-13-2025
02:26 AM
By
Anthony_E
Description
This article describes how to move a specific FortiGate VDOM from its current ADOM to a new ADOM on either FortiAnalyzer or FortiManager to provide the Administrator or Users separate management access to different VDOMs of the FortiGate.
Scope
FortiGate VDOM, FortiAnalyzer, FortiManager.
Solution
- Enable the ADOM feature on FortiAnalyzer, if not enabled. Enabling the ADOM will log out of the device once.
![](/legacyfs/online/images/kb_16542_1.png)
-
Set the ADOM mode to 'Advanced'. In Advanced mode, assigning a VDOM from a single FortiGate device to a different ADOM is possible.
-
Create a new ADOM (or use any existing ADOM) and move the respective VDOM to the new ADOM, which needs to have a separate management access. System Settings-> All ADOMs-> Create New-> Create a new ADOM and select only the VDOM of FortiGate which needs to be moved to this new ADOM. Refer to a sample screenshot below, on which initially it has added an FGT81E device to the FortiAnalyzer and then enabled ADOM in Advanced Mode. Later while creating the new ADOM, the administrator selects VDOM 'test'.
-
Now create an admin user with the required privilege and restrict access to that user only for the specific required ADOM on FortiAnalyzer.
-
Perform SQL database rebuild for both the Old and New ADOM. This is required to remove any Analytic logs from the OLD ADOM for that VDOM and also to create an Analytic Database for the respective VDOM on the new ADOM.
- To rebuild SQL for a specific ADOM, execute the below syntax:
- To check the status of the SQL rebuild.
diagnose sql show db-size -> Repeat this command several times to make sure that the SQL DB is increasing in size
diagnose sql status rebuild-db -> Show the SQL DB rebuild progress and the time the Rebuild has been completed successfully
Related article:
Technical Tip: Moving devices and VDOMs between FortiManager ADOMs
https://community.fortinet.com/t5/FortiManager/Technical-Tip-How-to-move-devices-VDOMs-between-Forti...