


NSRMMDBD(8)                                           NSRMMDBD(8)


NNAAMMEE
       nsrmmdbd  -  NetWorker  media (volume) management database
       daemon

SSYYNNOOPPSSIISS
       nnssrrmmmmddbbdd

DDEESSCCRRIIPPTTIIOONN
       The nnssrrmmmmddbbdd daemon provides an RPC-based database service
       to the local nnssrrdd(8) and nnssrrmmmmdd(8) daemons, and query-only
       network access to NetWorker clients.  The RPC program num-
       ber  provided by nnssrrmmmmddbbdd is 390107.  The RPC version num-
       bers provided by nnssrrmmmmddbbdd are 3, 4, and  5.   NNssrrmmmmddbbdd  is
       normally started by nnssrrdd(8).

       The  daemon  manages  a  ``media  and  save set database''
       located in the file //nnssrr//mmmm//mmmmvvoolluummee.  The primary purpose
       of  the  database is to remember which save sets reside on
       which backup volumes.  Numerous access  methods  are  pro-
       vided  to  both  save  set  and  volume records within the
       database.

FFIILLEESS
       //nnssrr//mmmm//mmmmvvoolluummee
                   File containing the volume data base.

       //nnssrr//mmmm//ccvvtt A temporary file created  when  converting  an
                   older  media  database  schema  to the present
                   schema.

       //nnssrr//mmmm//..ccmmpprrssssdd
                   For  performance  and   space   reasons,   the
                   database  is  periodically  rebuilt  (or  com-
                   pressed).  This file is created each time  the
                   database  is  rebuilt; its associated ctime is
                   used to determine when to rebuild the database
                   again.   To  forcibly  compress  the database,
                   remove this file and run nnssrriimm.

       //nnssrr//mmmm//mmmmvvoolluummee..ss
                   This temporary file is  created  to  hold  the
                   media  database information that will be saved
                   to tape by nnssrrmmmmddbbaassmm(8).

       //nnssrr//mmmm//mmmmvvoolluummee..rr
                   The file (created by nnssrrmmmmddbbaassmm) that is  read
                   when  the  media database information is being
                   recovered.

SSEEEE AALLSSOO
       mmmmrreeccoovv(8), nnssrr(8), nnssrrdd(8), nnssrriimm(8), nnssrrmmmmdd(8),  nnssrrmmmmdd--
       bbaassmm(8), nnssrrmmmm(8), mmmmiinnffoo(8)





NetWorker rt_1998_4Q.Build.MMaJrFcehra0l8_,0021000                        1





NSRMMDBD(8)                                           NSRMMDBD(8)


DDIIAAGGNNOOSSTTIICCSS
       The  nnssrrmmmmddbbdd  diagnostic messages will normally be logged
       to the //nnssrr//llooggss//ddaaeemmoonn..lloogg file.

       Besides the messages listed below, nnssrrmmmmddbbdd  may  generate
       other  diagnostics.   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 mmmmrreeccoovv(8) if that occurs.

       mmeeddiiaa ddbb iiss ccoonnvveerrttiinngg _p_a_t_h ttoo vveerrssiioonn 55
       mmeeddiiaa ccoonnvveerrttiinngg ttoo vveerrssiioonn 55
              Any media databases created prior to the  NetWorker
              4.2  release have to be converted (once) to the new
              database format.  Plan on allowing one  second  for
              every 100 save sets.

       mmeeddiiaa ccoonnvveerrssiioonn ddoonnee
              Printed  when  the conversion is completed success-
              fully.

       mmeeddiiaa ccoonnvveerrssiioonn ffaaiilleedd!! _r_e_a_s_o_n
              Printed when the conversion  is  terminates  unsuc-
              cessfully.   A more detailed reason may be appended
              to the message.  NetWorker cannot  work  until  the
              media database is converted successfully.

       mmeeddiiaa ddbb iiss ccoonnvveerrttiinngg _c_o_u_n_t vvoolluummeess
              This  is  printed  after the volumes' data has been
              dumped from the old database,  but  before  it  has
              been loaded into the new database.

       mmeeddiiaa ddbb iiss ccoonnvveerrttiinngg _c_o_u_n_t ssaavvee sseettss
              This  is printed after the save sets' data has been
              dumped from the old database,  but  before  it  has
              been loaded into the new database.

       mmeeddiiaa ddbb iiss ssaavviinngg iittss ddaattaa,, tthhiiss mmaayy ttaakkee aa wwhhiillee
              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.

       mmeeddiiaa ddbb iiss rreeccoovveerriinngg,, tthhiiss mmaayy ttaakkee aa wwhhiillee
              Printed when the daemon is reloading its  database.
              The  service is unavailable while the data is being
              reloaded.

       mmeeddiiaa ddbb iiss rreeccoovveerriinngg oolldd ddaattaa,, tthhiiss mmaayy ttaakkee aa wwhhiillee
              Similar to the  previous  message,  except  that  a
              pre-4.0  database  is  being  recovered and it will
              have to be converted before service resumes.





NetWorker rt_1998_4Q.Build.MMaJrFcehra0l8_,0021000                        2





NSRMMDBD(8)                                           NSRMMDBD(8)


       mmeeddiiaa ddbb iiss ccrroossss cchheecckkiinngg tthhee ssaavvee sseettss
              Printed each time the daemon  is  restarted.   Upon
              start-up,  the  daemon  sanity  checks  its records
              before providing its service.

       mmeeddiiaa ddbb iiss ooppeenn ffoorr bbuussiinneessss
              Printed after any  of  the  previous  messages  are
              printed  to indicate that the service is once again
              available.

       AA ccooppyy ooff tthhiiss pprroocceessss iiss aallrreeaaddyy rruunnnniinngg!!
              Another copy of nnssrrmmmmddbbdd(8)  is  currently  running
              and  has  exclusive  access  to the media database.
              Only one nnssrrmmmmddbbdd process should be  running  on  a
              given  machine  at  a time.  This can happen if the
              previous nnssrrmmmmddbbdd was not properly killed off.  Use
              nnssrr__sshhuuttddoowwnn(8)  or  ppss(1)  and kkiillll(1) to identify
              and kill  off  all  the  NetWorker  daemons  before
              restarting nnssrrdd(8) again.

       CCaannnnoott ooppeenn lloocckk ffiillee
              An  internal  error,  check  the permissions on the
              //nnssrr//ttmmpp and //nnssrr//mmmm directories.


































NetWorker rt_1998_4Q.Build.MMaJrFcehra0l8_,0021000                        3


