Fortinet black logo
9.4.0

Collect & Transfer Migration Data

Collect & Transfer Migration Data

FortiNAC-OS appliances running v7.2.5 or greater: Copy the migration tool from the FortiNAC-OS to the CentOS appliance. If CentOS appliances are running v7.2.5 or greater, skip this step.

  1. Log in to the FortiNAC-OS appliance CLI as admin.

  2. Copy the bundleCentOSMigration tool to the CentOS appliance. Type

    execute enter-shell

    scp /bsc/campusMgr/bin/bundleCentOSMigration root@<eth0 IP address>:/bsc/campusMgr/bin

Gather the configuration and database of the FortiNAC server.

  1. Log in to the CentOS appliance CLI as root.

  2. Run tool to gather the configuration and database. Type:

    bundleCentOSMigration

    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. Copy the .zip file to the new 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 ./

  4. Type yes if prompted to continue connecting.

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

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

    exit

    The # prompt will return.

Collect & Transfer Migration Data

FortiNAC-OS appliances running v7.2.5 or greater: Copy the migration tool from the FortiNAC-OS to the CentOS appliance. If CentOS appliances are running v7.2.5 or greater, skip this step.

  1. Log in to the FortiNAC-OS appliance CLI as admin.

  2. Copy the bundleCentOSMigration tool to the CentOS appliance. Type

    execute enter-shell

    scp /bsc/campusMgr/bin/bundleCentOSMigration root@<eth0 IP address>:/bsc/campusMgr/bin

Gather the configuration and database of the FortiNAC server.

  1. Log in to the CentOS appliance CLI as root.

  2. Run tool to gather the configuration and database. Type:

    bundleCentOSMigration

    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. Copy the .zip file to the new 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 ./

  4. Type yes if prompted to continue connecting.

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

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

    exit

    The # prompt will return.