Intel
®
NetStructure
TM
ZT 7102 Chassis Management Module
Application Hosting
Technical Product Specification 123
23.0 Application Hosting
The ZT 7102 allows applications to be hosted locally. This is useful as a method for adding small
custom management utilities to the CMM.
23.1 System Details
The CMM runs a customized version of embedded BlueCat* Linux* 4.0 on an Intel
®
XScale
®
microarchitecture 80200 processor. Development support for BlueCat Linux is available at:
http://www.lynuxworks.com
23.2 Startup and Shutdown Scripts
The CMM is capable of running user created scripts automatically on boot up or shutdown.This
can be accomplished by editing the /etc/rc.d/init.d/userScripts file with a text editor. This is a
standard shell file just like /etc/rc.d/init.d/cmm. By default it just echos "Starting user services" and
"Shutting down user services". The user can add scripts or what they want to the file. The Ramdisk
version of /etc/inittab calls "/etc/rc.d/init.d/userScripts start" right after its starts the cmm software.
When you type reboot, it calls "/etc/rc.d/init.d/userScripts stop”.
23.3 System Resources Available to User Applications
Since the CMM has firmware of its own running at all times, user applications must adhere to
certain resource and directory constraints to avoid disrupting the CMMs operation. Specifically,
restrictions are placed on an application’s consumption of file system storage space, RAM, and
interrupts. Exceeding these guidelines may interfere with proper operation of the CMM.
23.3.1 File System Storage Constraints
The following file system locations are available for storage by user applications. Storing files in
locations other than those explicitly listed here is not supported.
23.3.1.1 Flash Storage Locations
Applications should not perform excessive amount of flash file I/O at runtime, because this will
impair performance of the CMM.
/etc - Useful for storing configuration files. Do not add more than 100 Kbytes to /etc.
/etc/rc.d/init.d - Useful for storing startup scripts. Do not add more than 100 Kbytes to /etc.
/home/scripts - Useful for storing user scripts. Do not add more than 3 Mbytes to /home.
/home - Useful for storing application binaries. Do not add more than 3 Mbytes to /home.