Fortinet black logo
9.1.0

Collect & Transfer Migration Data

Collect & Transfer Migration Data

Gather the configuration and database for both primary and secondary servers.

Open two CLI sessions, one to each CentOS appliance (primary and secondary).  Log in as root.
  1. Run tool to gather the configuration and database. In each appliance, type:

    bundleCentOSMigration

  2. The resulting file is written to the /root directory using the naming convention centos-backup-<year>_<month>_<day>_<hr>_<min>_<sec>.zip

    Example:

    >bundleCentOSMigration
    Bundling migration archive
      Adding: bsc/campusMgr/bin/.cm_config  (deflated 36%)  <…>Archive is named centos-backup-2023_01_11_14_39_20.zip
  3. Perform the following steps on both primary and secondary appliances:

    Copy the .zip file from the CentOS appliance to the corresponding FortiNAC-OS appliance. Log in to the FortiNAC-OS appliance CLI as admin and type:

    execute enter-shell
    scp root@<CentOS eth0 IP address>:/root/<centos backup zip file> ./

    Example:

    CentOS eth0 IP address: 192.168.4.2

    centos-backup-2023_01_11_14_39_20.zip file saved in /root 
    # execute enter-shell
    :~$ scp root@192.168.4.2:/root/centos-backup-2023_01_11_14_39_20.zip ./      

    Type yes if prompted to continue connecting.

  4. Enter the root CLI password of the CentOS appliance when prompted.

  5. Once transfer is complete and the prompt is returned, type:

    exit

    The # prompt will return.

Collect & Transfer Migration Data

Gather the configuration and database for both primary and secondary servers.

Open two CLI sessions, one to each CentOS appliance (primary and secondary).  Log in as root.
  1. Run tool to gather the configuration and database. In each appliance, type:

    bundleCentOSMigration

  2. The resulting file is written to the /root directory using the naming convention centos-backup-<year>_<month>_<day>_<hr>_<min>_<sec>.zip

    Example:

    >bundleCentOSMigration
    Bundling migration archive
      Adding: bsc/campusMgr/bin/.cm_config  (deflated 36%)  <…>Archive is named centos-backup-2023_01_11_14_39_20.zip
  3. Perform the following steps on both primary and secondary appliances:

    Copy the .zip file from the CentOS appliance to the corresponding FortiNAC-OS appliance. Log in to the FortiNAC-OS appliance CLI as admin and type:

    execute enter-shell
    scp root@<CentOS eth0 IP address>:/root/<centos backup zip file> ./

    Example:

    CentOS eth0 IP address: 192.168.4.2

    centos-backup-2023_01_11_14_39_20.zip file saved in /root 
    # execute enter-shell
    :~$ scp root@192.168.4.2:/root/centos-backup-2023_01_11_14_39_20.zip ./      

    Type yes if prompted to continue connecting.

  4. Enter the root CLI password of the CentOS appliance when prompted.

  5. Once transfer is complete and the prompt is returned, type:

    exit

    The # prompt will return.