Difference: ProjectDesignDocGG (4 vs. 5)

Revision 52011-03-05 - GrantGipson

Line: 1 to 1
 
META TOPICPARENT name="GrantGipsonCAP"

Revision History

Line: 10 to 10
 
2.2 Grant Gipson Added Python scripts to design 02/10/11
2.3 Guess who... Elaborated on Master Program and associated pipe messages 02/13/11
2.3.1   Further details; added psuedocode 02/15/11
Added:
>
>
2.3.2   Elaborated on Master Program 03/05/11
 

1. Introduction

1.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
 
Logs /var/log/
Pipes /var/run/cap/
Client plug-in Install /var/www/
Added:
>
>
Master Program PID /var/run/cap.pid
 

5.2 Master Program

Description

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.

 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback