Migrating from Debian or CentOS to Ubuntu 22.04 for FNM Manager
If you’re running FastNetMon on a Debian or CentOS server and need to migrate to Ubuntu 22.04 to meet the requirements for FNM Manager, this guide will walk you through the steps. The migration process involves creating a backup, setting up Ubuntu 22.04, reinstalling FastNetMon and FNM Manager, and restoring the backup.
Step 1: Backup FastNetMon Configuration
Before starting the migration, back up the current FastNetMon configuration on your existing server by running the following command in the shell:
sudo fcli export_configuration fastnetmon_backup.tar
This will generate a backup file named fastnetmon_backup.tar
. Save this file securely, as it will be used to restore the configuration on the new server.
Step 2: Install Ubuntu 22.04
Perform a fresh installation of Ubuntu 22.04 on the new server using the standard installer. Ensure the server is properly configured with the required network and system settings.
Step 3: Install FastNetMon and FNM Manager
Once Ubuntu 22.04 is installed, set up FastNetMon and FNM Manager using a full installation process. Follow the detailed steps provided in the official installation guide:
FastNetMon and FNM Manager Installation Guide
Step 4: Restore FastNetMon Configuration
After installing FastNetMon and FNM Manager, restore the configuration from the backup file.
-
Clear the existing FastNetMon configuration:
sudo fcli create_configuration
-
Remove the default global hostgroup:
sudo fcli delete hostgroup global
-
Import the backup configuration:
sudo fcli import_configuration fastnetmon_backup.tar
Step 5: Reconfigure FNM Manager
With the restored FastNetMon configuration, reconfigure FNM Manager to synchronize with the current setup:
fnm_cli --setup_fnm_api
Step 6: Register the FNM Manager License
To complete the setup, register your FNM Manager license using the following command:
fnm_cli --register_license --voucher="YOUR_LICENSE_CODE" --name="YOUR_COMPANY_NAME" --email="YOUR_EMAIL"
Once the license is successfully registered, you can access the FNM Manager panel by opening a web browser and navigating to:
https://YOUR_SERVER_IP:8081
Log in to verify that everything is functioning correctly. For additional details on the registration process, refer to the installation guide.
Summary
This migration process ensures a seamless transition to Ubuntu 22.04 while preserving your existing FastNetMon configuration. By following these steps, you can quickly set up your environment and continue managing your network effectively with FNM Manager.