sam-dbupd - Oracle HSM Updates the MySQL data base from events in the sam-fsalogd event log
∕opt∕SUNWsamfs∕sbin∕sam-dbupd
SUNWsamfs
sam-dbupd
continuously updates the Oracle HSM 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 by sam-dbupd
.
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.