Created on 04-18-2018 01:39 PM Edited on 11-06-2024 05:46 AM By Stephen_G
Description
This article explains the use of the 'exec migrate' command on FortiAnalyzer/FortiManager to help with migrating configurations between models (since configuration backup files are model-specific). It may also be used in the RMA procedure.
Scope
FortiManager and FortiAnalyzer.
Solution
Some common migration scenarios that this command helps with:
Command Usage:
To help loading the configuration onto a different model of FortiAnalyzer/FortiManager:
execute migrate all-settings <ftp/scp/sftp> <server ip> <filename> <username> <password>
It allows all configurations in the configuration file to be loaded except for system settings (see below).
Requirement:
The configuration file should be loaded onto a VM/appliance running the same firmware as the original VM/appliance when the configuration was backed up.
System Settings:
Any logs must be backed up and restored independently of the configuration file.
exec backup logs
exec restore logs
FortiGate config adjustment:
Once loaded the new FortiAnalyzer config and or FortiManager config adjusting the FortiGate config will be needed.
This can be done using the below batch CLI command:
Changing FortiManager config:
exe batch start
config system central-management
set fmg 'new FMG IP if needs be'
set serial 'new FMG serial'
end
exe batch end
Claim the tunnel from FortiManager CLI using the below syntax once done:
exe fgfm reclaim-dev-tunnel <device_name>
devicename <- Optional device name.
Changing FortiAnalyzer config:
exe batch start
config log fortianalyzer setting
set server 'new FAZ IP if needs be'
set serial 'new FAZ serial'
end
exe batch end
References:
Also, see the FortiManager Admin / Online guide in the chapter: System Settings -> Dashboard -> System Information widget -> Migrating the configuration.
Related articles:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.