Fortinet black logo

Handbook (HTML)

Installing firmware

Installing FortiDB firmware

You can use the boot loader menu to install a specific firmware image and reset FortiDB to default settings. Use this procedure to upgrade to a new firmware version, revert to an older firmware version, or re-install the current firmware version.

This procedure reverts the FortiDB system to its factory default configuration.

Installing a specific firmware image requires you to connect to the CLI using the FortiDB console port and a RJ-45 to DB-9 or null-modem cable. A TFTP server that you can connect from the FortiDB interface and that is on the same subnet as the internal interface is also required.

To install firmware using boot loader menu
  1. Connect to the FortiDB CLI through your console port.
  2. To get and copy your current network settings for reference, execute the following command:
  3. show

    The process of installing a new image resets your network settings to the factory defaults. To access the web-based manager, re-configure network settings.

  4. Verify that the TFTP server is running.
  5. Copy the new firmware image file to the TFTP server.
  6. Verify that the internal interface is connected to the same network as the TFTP server. To test the connection, enter the following command:
  7. execute ping <tftp_ip_address>

  8. Enter the following command to restart :
  9. execute reboot

    The FortiDB system responds with the following message:

    This operation will reboot the system !

    Do you want to continue? (y/n)

  10. Type y to display the boot loader menu.
  11. As the FortiDB system starts, a series of system startup messages is displayed. When one of the following messages appears:

    Press any key to display configuration menu.......

    Immediately press any key to interrupt the system startup.

    You have only 3 seconds to press any key. After 3 seconds, FortiDB reboots and you must log in and repeat the execute reboot command.

    If you successfully interrupt the startup process, one of the following messages appears:

    [G]: Get firmware image from TFTP server.

    [F]: Format boot device.

    [B]: Boot with backup firmware and set as default

    [C]: Configuration and information

    [Q]: Quit menu and continue to boot with default firmware.

    [H]: Display this list of options.

    Enter G,F,B,C,Q,or H:

  12. Type G to get the new firmware image from the TFTP server.
  13. The following message appears:

    Enter TFTP server address [192.168.1.168]:

  14. Type the address of the TFTP server and press Enter.
  15. The following message appears:

    Enter Local Address [192.168.1.188]:

  16. Type an IP address that FortiDB can use to connect to the TFTP server.
  17. The IP address can be any IP address that is valid for the network the interface is connected to. Verify that you do not enter the IP address of another device on this network.

    The following message appears:

    Enter firmware image file name [image.out]:

  18. Enter the firmware image file name (and location) and press Enter.
  19. The TFTP server uploads the firmware image file to the FortiDB unit. Some unit models may display the following message:

    Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]

  20. Type D.
  21. FortiDB installs the new firmware image and restarts. The installation can take a few minutes to complete. If the installation is successfully, the FortiDB CLI prompt is displayed.

  22. Configure your network settings. To configure your network settings, please refer to Configuring network settings using the CLI.
See also

Installing FortiDB firmware

You can use the boot loader menu to install a specific firmware image and reset FortiDB to default settings. Use this procedure to upgrade to a new firmware version, revert to an older firmware version, or re-install the current firmware version.

This procedure reverts the FortiDB system to its factory default configuration.

Installing a specific firmware image requires you to connect to the CLI using the FortiDB console port and a RJ-45 to DB-9 or null-modem cable. A TFTP server that you can connect from the FortiDB interface and that is on the same subnet as the internal interface is also required.

To install firmware using boot loader menu
  1. Connect to the FortiDB CLI through your console port.
  2. To get and copy your current network settings for reference, execute the following command:
  3. show

    The process of installing a new image resets your network settings to the factory defaults. To access the web-based manager, re-configure network settings.

  4. Verify that the TFTP server is running.
  5. Copy the new firmware image file to the TFTP server.
  6. Verify that the internal interface is connected to the same network as the TFTP server. To test the connection, enter the following command:
  7. execute ping <tftp_ip_address>

  8. Enter the following command to restart :
  9. execute reboot

    The FortiDB system responds with the following message:

    This operation will reboot the system !

    Do you want to continue? (y/n)

  10. Type y to display the boot loader menu.
  11. As the FortiDB system starts, a series of system startup messages is displayed. When one of the following messages appears:

    Press any key to display configuration menu.......

    Immediately press any key to interrupt the system startup.

    You have only 3 seconds to press any key. After 3 seconds, FortiDB reboots and you must log in and repeat the execute reboot command.

    If you successfully interrupt the startup process, one of the following messages appears:

    [G]: Get firmware image from TFTP server.

    [F]: Format boot device.

    [B]: Boot with backup firmware and set as default

    [C]: Configuration and information

    [Q]: Quit menu and continue to boot with default firmware.

    [H]: Display this list of options.

    Enter G,F,B,C,Q,or H:

  12. Type G to get the new firmware image from the TFTP server.
  13. The following message appears:

    Enter TFTP server address [192.168.1.168]:

  14. Type the address of the TFTP server and press Enter.
  15. The following message appears:

    Enter Local Address [192.168.1.188]:

  16. Type an IP address that FortiDB can use to connect to the TFTP server.
  17. The IP address can be any IP address that is valid for the network the interface is connected to. Verify that you do not enter the IP address of another device on this network.

    The following message appears:

    Enter firmware image file name [image.out]:

  18. Enter the firmware image file name (and location) and press Enter.
  19. The TFTP server uploads the firmware image file to the FortiDB unit. Some unit models may display the following message:

    Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]

  20. Type D.
  21. FortiDB installs the new firmware image and restarts. The installation can take a few minutes to complete. If the installation is successfully, the FortiDB CLI prompt is displayed.

  22. Configure your network settings. To configure your network settings, please refer to Configuring network settings using the CLI.
See also