NSRINDEXD(8)

NAME
nsrindexd - NetWorker file index daemon

SYNOPSIS
nsrindexd

DESCRIPTION
The nsrindexd daemon is started by the server nsrd(8) daemon. It should not be started by hand. The daemon provides an RPC-based service to the server nsrd(8) daemon; direct network access to this service is not allowed. The RPC program and version numbers provided by nsrindexd are 390105 and 4, respectively.

The service provided to the NetWorker system is designed for high performance insertion and deletion of save records into indexes. This performance is obtained by keeping information cached in the nsrindexd process address space. When the NetWorker system wishes to commit a save session's records, it notifies the nsrindexd daemon (via a remote procedure call) to flush its volatile state to its file(s).

Since the daemon (or the server machine) may crash at any time, the index files may be left in an inconsistent state. Therefore, the maintenance program, nsrck(8) is run automatically by the nsrd daemon before the NetWorker service is started.

Since nsrindexd and nsrck are run at the same time, both programs use an advisory file locking mechanism on the file db.SCAVENGE to synchronize their access to an index.

FILES

/nsr/index/clientname/db
    Where the client's index records are stored and accessed.

/nsr/index/clientname/db.SCAVENGE
    When this file exists and nsrindexd is not running, the nsrck program must be run before nsrindexd is restarted.

SEE ALSO
nsr_layout(5), nsr(8), nsrck(8), nsrd(8), nsrim(8), nsrindexasm(8), nsrls(8), nsrmm(8), nwadmin(8).

DIAGNOSTICS

waiting for lock on filename.
    This message indicates that another program is accessing the same file that is required by this daemon. The daemon will wait for the advisory lock to be cleared.

lock on filename acquired.
    Informative message that will eventually follow the previous message.