sam-dbupd - SAM-QFS Updates the MySQL data base from events
in the sam-fsalogd event log
sam-dbupd continuously updates the SAM-QFS MySQL sideband
database by reading events from the sam-fsalogd log file.
sam-dbupd is initiated by sam-fsd.
sam-dbupd reads the fsalogd.cmd and creates an inventory
file of paths to the fsalog files. The inventory file of
unprocessed fsalog files is maintained over a samd stop/samd
start or an umount/mount or a system panic. However, the
inventory file does not contain absolute path names of the
fsalog files. Therefore, when the location of fsalog files
is changed via the fsalogd.cmd, any unprocessed fsalog files
must be moved to the new location in order to be processed
sam-dbupd reads events from the fsalog files and updates the
sideband database accordingly. Events are marked when fully
processed and completely processed fsalog files are removed
from the inventory file when all events in the fsalog file
have been completed.
samdb(1M) sam-fsalogd(1M) fsalogd.cmd(4M) samdb.conf(4)