NetWorker command:      nsrmmdbd

NAME

       nsrmmdbd - NetWorker media (volume) management database daemon


SYNOPSIS

       nsrmmdbd


DESCRIPTION

       The nsrmmdbd daemon provides an RPC-based database service to the local
       nsrd(8) and nsrmmd(8) daemons, and query-only network  access  to  Net-
       Worker clients.  The RPC program number provided by nsrmmdbd is 390107.
       The RPC version numbers provided by nsrmmdbd are 3, 4, and 5.  Nsrmmdbd
       is normally started by nsrd(8).

       The  daemon  manages  a	``volume,  save	 set  and client id database''
       located in the directory /nsr/mm/mmvolume6.  The primary purpose of the
       database is to remember which save sets reside on which backup volumes.
       The database also provides the client name mapping  to  the  internally
       used  client  identifier.  Numerous access methods are provided to save
       set, volume and client id map records within the database.


FILES

       /nsr/mm/mmvolume6
                   Directory containing the media database.

       /nsr/mm/cmprssd
                   For performance and space reasons, the database is periodi-
                   cally  rebuilt  (or compressed).  This file is created each
                   time the database is compressed; its	 associated  ctime  is
                   used	 to  determine the next time that the database will be
                   compressed. The database  compression  can  be  invoked  by
                   removing  this  file and running nsrim.  This is not recom-
                   mended while the NetWorker server  is  actively  saving  or
                   recovering data.

       /nsr/mm/mmvol<n>
                   This	 temporary  file is created to hold the media database
                   information that will be  saved  to	a  volume  by  nsrmmd-
                   basm(8).  A unique file name is generated by utilizing <n>,
                   a 6 digit hex number appended as part of the file name.

       /nsr/mm/mmvolume6.r
                   The file (created by nsrmmdbasm)  that  is  read  when  the
                   media database information is being recovered.

       /nsr/mm/volume.tmp
		   A  temporary directory created when recovering or compress-
		   ing the media database.

       /nsr/mm/nsrim.prv
		   An empty file is used to track the last time that the  pro-
		   gram	 nsrim	was started to perform maintenance on the Net-
		   Worker databases.

       /nsr/logs/daemon.raw
		   The file to which Networker daemons	writes	the  log  mes-
		   sages.
		   
		   

SEE ALSO

       mmrecov(8),   nsr(8),   nsrd(8),  nsrim(8),  nsrmmd(8),  nsrmmdbasm(8),
       nsrmm(8), nsr_render_log(8), mminfo(8)


DIAGNOSTICS

       The nsrmmdbd  diagnostic  messages  will  normally  be  logged  to  the
       /nsr/logs/daemon.log file.

       Besides the messages listed below, nsrmmdbd may generate other diagnos-
       tics.  Any diagnostics other than those listed below indicate a serious
       problem  with  the media database.  It may be necessary to recover your
       media database using mmrecov(8) if that occurs.

       media db is converting, this may take a while
              Any media databases created prior to  the	 NetWorker  7.?	 (Key-
              Stone)  release  have to be converted (once) to the new database
              format. The database is converted to current version.

       media database conversion completed successfully
              Printed when the conversion is completed successfully.

       media conversion failed! reason
              Printed when the conversion  is  terminates  unsuccessfully.   A
              more  detailed reason may be appended to the message.  NetWorker
              cannot work until the media database is converted  successfully.

       media db is saving its data, this may take a while
              Printed  when  the  daemon is dumping its records to a temporary
              file when the database is  being  backed  up.   The  service  is
              unavailable while the database is dumping.

       media db is recovering, this may take a while
              Printed  when the daemon is reloading its database.  The service
              is unavailable while the data is being reloaded.

       media db is checking btrees
              Printed each time the daemon is restarted.  Upon	start-up,  the
              daemon performs sanity checks on the database search indexes.

       media db is consistency checking the database
              Printed each time the daemon is restarted.  Upon start-up, after
              the database search indexes are checked, the database is checked
              for incomplete records.

       media db is open for business
              Printed  after any of the previous messages are printed to indi-
              cate that the service is once again available.

       A copy of this process is already running!
              Another copy of nsrmmdbd(8) is currently running and has  exclu-
              sive  access  to  the media database.  Only one nsrmmdbd process
              should be running on a given machine at a time.  This can happen
              if  the  previous  nsrmmdbd  was  not  properly killed off.  Use
              nsr_shutdown(8) or ps(1) and kill(1) to identify  and  kill  off
              all the NetWorker daemons before restarting nsrd(8) again.

       Cannot open lock file
              An  internal  error,  check  the permissions on the /nsr/tmp and
              /nsr/mm directories.

NetWorker 7.5.1			 Mar 21, 09