Intel® NetStructureTMZT 7102 Chassis Management Module

Application Hosting

23.0Application 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.1System 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.2Startup 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.3System 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.1File 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.1Flash 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.

Technical Product Specification

123

Page 123
Image 123
Intel ZT 7102 manual Application Hosting, System Details, Startup and Shutdown Scripts