source: Evidence/readme.txt@ 245

Last change on this file since 245 was 232, checked in by ogrimm, 14 years ago
Made Lock()/Unlock() public, automatic configuration tracking for Bridge
File size: 4.2 KB
Line 
1Short description of Evidence control system
2
3This directory contains the backbone of the control system.
4
5Config is the configuration server and needs to run before any other DIM
6server that requests configuration information is started (if a configuration
7request cannot be answered, a server will normally not start). A configuration
8file can be given on the command line.
9
10DColl is the central data collector. It subscribes to all services handled by
11the name server and writes them to disk (except those excluded in the
12configuration file). It also provides a history service for all DIM services
13and a command for logging.
14
15Alarm can be configured to check all servers for availability and status and
16can produce a master alarm.
17
18The DIMDIR environment variable needs to point to the DIM installation directory
19when compiling. DIM_DNS_NODE must point to the name server for any DIM server
20to run.
21
22
23Version history
24---------------
25
2619/5/2010 Service histories now available via DimRpc from DColl, not via .hist service
27 When regular expression compiling results in error, State is set to ERROR, not
28 FATAL. The erroneous expression is ignored in the following.
2925/5/2010 Service history remains available if service itself become unavailable. If not
30 yet in memory, reading from file is tried. Improved error handling of
31 history files.
3228/5/2010 Changed name of 'State' service to 'Message' to better reflect its functionality.
33 Added client information to log file entries.
3430/5/2010 Created Bridge server that repeats services from one DNS to another.
35 Service quality now also written to slow data file.
3631/5/2010 Configuration file format follows semi-standard INI format.
377/6/2010 Separated History service from DColl. History format changed, now includes
38 service format (allows history access also when service is unavailable).
3911/6/2010 Bridge does not forward history service
4017/6/2010 Added SendToLog() method. Changed severity encoding of Message service to
41 use standard DIM structure of format "I:1;C"
4218/6/2010 Alarm server configuration accepts now one email address per server. A new
43 service for each observed server SERVERNAME/AlarmLevel contains the highest
44 level that occurred in the past. Reset of alarm level only via a DIM command.
4519/6/2010 ToString() now returns std::string
4623/6/2010 GetConfig() returns std::string. Non-blocking configuration request in case
47 GetConfig() not called from main thread. Access to configuration information
48 internally mutex protected. With ActivateSignal() a signal can be set that is send
49 to main thread upon configuration file change, the build-in signal handler then
50 invokes the (virtual) method ConfigChanged().
5124/6/2010 Workaround for erroneous /SERVICE_LIST updates. Added static tokenize method to
52 Evidence class.
5330/6/2010 Made Lock()/Unlock() publicly available (mutex of type PTHREAD_MUTEX_ERRORCHECK),
54 in case signal is set with ActivateSignal() this signal will be blocked while locked.
55 Implemented experimental automatic full configuration tracking for Bridge.
56
57
58Preliminary firewall settings on eth-vme02 (rule 5 for DIM, rule 6 for X11 over ssh)
59
60Chain INPUT (policy ACCEPT)
61num target prot opt source destination
621 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
63
64Chain FORWARD (policy ACCEPT)
65num target prot opt source destination
661 RH-Firewall-1-INPUT all -- 0.0.0.0/0 0.0.0.0/0
67
68Chain OUTPUT (policy ACCEPT)
69num target prot opt source destination
70
71Chain RH-Firewall-1-INPUT (2 references)
72num target prot opt source destination
731 ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255
742 ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
753 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
764 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:2000
775 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:5100:6000 state NEW
786 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpts:6000:6063 state NEW
797 REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Note: See TracBrowser for help on using the repository browser.