Line: 1 to 1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Revision History | |||||||||||||
Line: 10 to 10 | |||||||||||||
| |||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
1. Introduction1.1 Purpose | |||||||||||||
Line: 97 to 98 | |||||||||||||
Log Files | |||||||||||||
Changed: | |||||||||||||
< < | capmaster.log Anything and everything from Master Program gets logged here. Format will be date, time and short description of entry. | ||||||||||||
> > | capmaster.log Anything and everything from Master Program gets logged here. Format is "[MM/DD/YYYY HH:MM] -<entry priority>- <message>". The entry priority is a single character indicating the type of entry made; FATAL ERROR, ERROR, WARNING, INFORMATION, UNKNOWN. | ||||||||||||
Changed: | |||||||||||||
< < | capweb.log Anything and everything from Python CGI scripts gets logged here. | ||||||||||||
> > | capweb.log Anything and everything from Python CGI scripts gets logged here. Same format as above. | ||||||||||||
Pipes | |||||||||||||
Changed: | |||||||||||||
< < | capman.fifo Used for communications between CAPManage and Master Program. | ||||||||||||
> > | man2master.fifo, master2man.fifo Used for communications between CAPManage and Master Program. | ||||||||||||
Changed: | |||||||||||||
< < | webmas.fifo Used for communications between web server and Master Program. | ||||||||||||
> > | web2master.fifo, master2web.fifo Used for communications between web server and Master Program. | ||||||||||||
Component Locations | |||||||||||||
Line: 122 to 123 | |||||||||||||
| |||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
5.2 Master ProgramDescription | |||||||||||||
Line: 130 to 132 | |||||||||||||
The Master Program will have the location of the configuration file passed to it when it starts. The configuration file will specify the locations and names of other components the program must manage. If the Master Program is unable to read the configuration file or open a log file, then it will terminate. If it does not know where anything is or it cannot report problems, then it should be stopped from operating. Master_Program_Pseudocode.txt | |||||||||||||
Added: | |||||||||||||
> > | Command line: capmaster pid capconf.xml The caller must specify the location of the master program's process ID (PID) file which is used to ensure that only one instance of the process is running. The second argument is the location of the XML configuration file for the system. | ||||||||||||
Messages
MSG_MASTERHERE [out] Sent to web server when Master Program starts. |