Intel ZT 7102 TV Video Accessories User Manual


 
Intel
®
NetStructure
TM
ZT 7102 Chassis Management Module
Updating Software
136 Technical Product Specification
newversion=$4
cp /home/stagingarea/myScript.$newversion /home/scripts/myScript
exit $?
25.13 Update Process
1. Client initiates an update request via CLI command
2. CMM validates the update request
CMM is not already doing an update
In a redundant configuration, the CMM must be standby
In a redundant configuration, redundancy must be "active"
CMM is not currently synchronizing
Enough space is present in ramdisk and flash for the update
3. If update request is valid then
—Continue
4. Else
—Exit
5. If FTP arguments supplied then
Retrieve package files (.zip, .md5) from FTP server
Exit if error occurs
6. Else
Copy package files (.zip, .md5) to package directory on ramdisk
(/usr/local/cmm/temp/update/package)
Exit if error occurs
7. Validate that .zip file matches checksum in .md5 file
Exit if no match
8. Unzip the .zip file in the package directory on ramdisk
9. Validate that all files in the unzipped package match the md5 checksum in the validationFile.
Exit if any files fail
10. Validate that the package matches the CMM platform ("cpci" or "atca")
a.Exit if mismatch
11. Transition to Update Mode
Call any user supplied scripts in /home/update/scripts/K*
Shutdown CMM apps (/etc/rc.d/init.d/cmm stop)
Copy /etc to /usr/local/cmm/temp/update/etc
Unmount /etc and /home
Exit if any of these filesystems cannot be unmounted