NSRD(8)

NAME
nsrd - daemon providing the NetWorker service

SYNOPSIS
nsrd [ -k virtual-service-name ]

ansrd [ commentary ]

DESCRIPTION
The nsrd daemon provides an RPC-based save and recover service. This service allows users to save, query for, and recover their files across a network. The RPC program number provided by nsrd is 390103.

Normally nsrd is invoked from a startup shell script (for example rc.local, rc.boot) at boot-time, and should never need to be started directly by a user. After it is started, nsrd starts up the other daemons it needs to provide the NetWorker service.

The nsrd command must be run on a machine with appropriate resources. These resources include devices (for example, tape drives) which are under the control of the media multiplexor software (see nsrmmd(8)), and sufficient disk space for the index daemons, (see nsrindexd(8) and nsrmmdbd(8)) to maintain the index of saved user files and volumes with corresponding files.

Each time a backup, recover, or another session begins, nsrd starts the program, ansrd, to process the requested session. The ansrd program is called an agent. The agent is in charge of monitoring that backup, recover, or another session, and automatically exits when a session completes. Using ps(1) or another process monitoring tool, you can inspect the subsequent parameters of ansrd to see what kind of session it is monitoring. If necessary, agents can be forcibly terminated to abort a backup or recover session. Agents cannot be run directly; they can only be started by nsrd.

When nsrd is started with the -k option, it checks to see whether it has been installed as a cluster service and that the virtual host which owns /nsr/res matches virtual-service-name. If either of these validation steps fails, nsrd exits immediately. (To check whether NetWorker has been installed as a cluster service, nsrd checks for a file called NetWorker.clustersvr in the directory containing the nsrd binary. To check that /nsr/res is owned by virtual-service-name, nsrd queries the cluster management software.)

If the -k option is not used when starting NetWorker in a cluster, the server assumes the identity of the virtual host which owns /nsr/res. If no virtual host owns /nsr/res, then nsrd will not start.

OPTIONS

-k virtual-service-name
    Instructs nsrd to start up in cluster failover mode using virtual-service-name as its hostname/identity. This option is used by the NetWorker cluster control script which starts NetWorker.

FILES

/nsr/logs/daemon.log
    The file to which nsrd and other NetWorker daemons send information about various error conditions that cannot otherwise be logged using the NetWorker event mechanism.

/nsr/res/nsr.res
    Attributes describing the NetWorker service and its resources (See nsr_service(5)).

/nsr/res/nsrjb.res
    Attributes describing the jukebox resources of the NetWorker service.

NetWorker.clustersvr
    If this file exists in the directory containing NetWorker's daemons, it indicates that the NetWorker server has been installed as a cluster service.

SEE ALSO
nsr(8), nsr_service(5), nsrmmd(8), nsrmmdbd(8), nsrindexd(8), ps(1), rc(8).