Troubleshooting Note : How to run an HQIP test for hardware integrity control
Products
FortiAnalyzer
FortiGate
FortiMail
Description
The HQIP (Hardware Quick Inspection Package) test image is used to check the unit's system function and its interfaces. HQIP will check almost all components, including CPU, memory, Compact Flash, hard disk and PCI devices (NIC/ASIC). It will also check the critical benchmarks and system configurations.
 
HQIP cannot detect all hardware malfunctions.  If unit is rebooting or unstable then HQIP cannot detect the issue. 
This procedure is not valid for the latest production. As of September 2008, all Fortinet production have HQIP image saved in a back up partition.

 

For HDD issue with multiple disks device, do not run HQIP because this will destroy the data.  Ask for smart test or HDD diagnose command.

Additional information about HQIP can be found at FortiGate Hardware System Advanced Test Guide
Scope
FortiGate, FortiAnalyzer, FortiMail.
Solution
The HQIP process involves the following steps
  1. Download HQIP image for the correct product and model number.
  2. Reboot the device.

  3. Interrupt the boot sequence.

  4. Load the advanced hardware test image using TFTP.

  5. Wire the network ports for a NIC loopback test  as indicated at http://emea.fortinet.net/fortinet/aht/index.php (* see note about WIFI devices)

  6. Select Run without saving.

  7. Save the console output.


(*) Note : To correctly test WIFI from HQIP (for all Fortinet WIFI models), set up a wireless access point with the following parameters :      SSID:  fwqc    ;   IP:  10.80.2.11
 


Caution


For all the FortiAnalyzer and FortiMail with a RAID card (FortiAnalzyer-2000, FortiMail-2000, FortiAnalzyer-2000A, FortiMail-2000A, FortiAnalzyer-4000A and FortiMail-4000A), when conducting the HQIP test, set the RAID level to 0 so that HQIP can test each hard disk.

Once you finish the HQIP test, you need to format the HDD that can set the RAID level back to the default level for each model.


Prerequisite


Load HQIP image
 

Terminal client (Windows HyperTerminal, Linux Minicom...)
 
  • Speed 9600 8 bits, no parity, 1 stop for all FortiGate , except FortiGate 300: 115000-8-n-1
    • Speed 115000 8 bits, no parity, 1 stop for all FortiManager
    • ASCII setup : Append line feeds to incoming lines
    • Log messages to file
  • Null modem serial cable (provided with the FortiGate)
  • Provide a fixed IP address to your PC, for example 192.168.1.168
  • A TFTP server running on a PC
  • Crossover network cable to connect directly the FortiGate to the PC running the TFTP server
  • Connect your PC LAN interface using an Ethernet cable to:
    • "Interface Internal", On models 200, 300, 500, 800, 800F
    • "Interface Internal 4 ", On models 100A, 200A, 300
    • "LAN Interface port1", On models 300A, 400, 400A, 500A, 1000 and higher
    • "LAN2", On FortiLog 800
 

Load the HQIP image

The following steps should be used in order to load the HQIP.
The file transfer should be displayed on the TFTP server (ensure that the image is located in the appropriate folder), along with a series of hash "#" characters.
When prompted with the choice to save as Default, save as Backup, or Run image without saving, Select "R" to run without saving.

Functional check: The HQIP (Hardware Quick Inspection Package) test image is used to check the unit’s system function and its interfaces. A console cable connection is required, and the entire console output must be logged to a file.
 
HQIP will check almost all components, including CPU, memory, CF, HD and PCI devices (NIC/ASIC). It will also check the critical benchmarks and system configurations.


Factory default restore
 
If all of the above tests were successful, format the hard drive (if applicable).
Format the flash (if possible) if the units BootROM menu provides such an option ('F' for format boot device).
Reload image public release firmware version.


Report
Related Articles
Troubleshooting Tip : message 'invalid compressed format' during TFTP procedure
Attachments
Network interface loopback for HQIP test_04.jpg
Last Modified Date: 09-13-2010 Document ID: FD30363