release notes | Book: 1.9.5, 1.9.12 (opt, FHS), 2.6 (FHS), 2.7 (FHS), 2.8 (FHS), 2.9 (FHS), 2.10 (FHS), 2.11 (FHS), | Wiki | Q&A black_bg
Web: Multi-page, Single page | PDF: A4-size, Letter-size | eBook: epub black_bg

Alarms Database

It might be useful to have a history of alarms. The XML file that is (in the default setup) used to store the alarms is cleaned on a regular basis as it would grow too big otherwise. You can configure to use a database instead of the XML file to obtain a history. Another advantage of the use of a database is that it is easier to search through a database than through a series of log files.

To use a database instead of the XML file you need to modify the /etc/dcache/dcache.conf file. Set the property alarms.store.db.type to rdbms. Moreover, as you want to maintain a history you should disable the webadmin.alarm.cleaner.enabled.

Create the alarms database.

[root] #
      createdb -U srmdcache alarms

Modify the /etc/dcache/dcache.conf file

alarms.store.db.type=rdbms
webadmin.alarm.cleaner.enabled=false

and restart dCache.

[root] # dcache restart