Understanding integrity checking – HP NetRAID-4M Controller User Manual

Page 44

Advertising
background image

3-20

Command Line Interface User’s Guide

Each NetRAID-4M controller requires a different pair of UFI files,
since the flash components and contents vary from one controller
type to another. The CLI associates each controller type with a
unique pair of UFI filenames, so it can select the correct UFI files
from a set of UFI files when updating or verifying a controller.

A UFI filename uniquely identifies the associated controller type
and is common across all of the volume filenames. The last two
characters of the filename identify (sequential digits starting with
01) the specific volume of a multi-part UFI file. For example, a
NetRAID-4M controller’s UFI file consists of two volumes named
netr4m01.ufi and netr4m02.ufi. Only one filename needs to be
specified at the command line when comparing, saving, or updating
a pair of UFI files.

Understanding Integrity Checking

Before the CLI updates a controller’s flash components with the
images from a pair of UFI files, it performs the following checks to
minimize the possibility of corrupting any flash.

Examines critical locations in the UFI files’ header to confirm
that the file is in fact a UFI file.

Checks that the number of data bytes in the pair UFI files
correctly matches the length value stored in the files’ header.

Computes the checksum of the files’ entire contents and
matches it against the file checksum stored in the files’ header.
The CLI also computes the checksum of each individual
component image within the UFI files and matches it against
the stored checksum for that component.

Compares the PCI product identification (device ID, vendor
ID, subvendor ID, and subvendor device ID) of the controller
to the PCI product identification stored in the UFI files’ header
to make sure the file correctly matches the specific type of
controller.

Reads the entire flash image from both volumes of a pair of
UFI files into memory before starting a flash update operation,
preventing the case where an error reading one of the volumes
of the UFI file leaves the controller’s flash partially updated
and unusable.

Advertising