Intel® NetStructureTMZT 7102 Chassis Management Module
Updating Software
12.Update Components (listed in UpdateMetadata file)
—If a component update fails Stop updating components Attempt to remount /etc and /home
Exit the update process, but do not reboot
—If the component is "etc_jffs" then Remount /etc and /home
Call any user supplied scripts in /home/update/scripts/S*
Process saveList - copying files and directories from /usr/local/cmm/temp/update/etc to /etc
13.If the process has been successful so far then
—Remount /etc and /home
—Update the /etc/versions file - backing up the old one as "/etc/versions.<version>"
—Copy the update.log file from ramdisk to /etc/cmm/update/update.log
—Reboot CMM
25.14Update Process Status and Logging
During the update process, status is sent to stdout as it executes. Output will also be appended to the file /usr/local/cmm/temp/update/update.log. This file will be copied to /etc/cmm/update.log at the completion of the update process.
Status output will be of the format:
MM/DD/YY HH:MM:SS [process[pid]]: [Message String]
25.15DEBUG_UPDATE Variable
Setting the environment variable DEBUG_UPDATE prior to starting an update will print out additional debug level output to the user including all files that are copied during the update process. To set the DEBUG_UPDATE variable type the following in the CLI:
export DEBUG_UPDATE=1
25.16Update Process Sensor and SEL Events
Once the CMM enters the update mode in which no CMM processes are active, events cannot be entered into the SEL directly. While in this mode, the CMM will enter events into the eeprom. Once the system reboots into the OS, the CMM will log the events from the eeprom into the SEL.
Note: Events that occur prior to entering the update mode are logged directly into the SEL.
Technical Product Specification | 137 |