Skip to content

Netezza internal process – bnrmgr

bnrmgr is on of the Netezza process which starts automatically when Netezza starts (All background processes are started by startupsvr background process). Main purpose of this process is to handle all the incoming requests for nzbackup and nzrestore commands. It launches a instance of backupsvr or restoresvr to handle each client instance.

bnrmgr looks like below when any backup/restore command is issued:
/nz/kit/log/bnrmgr->cat bnrmgr.log
2013-10-08 15:04:35.416165 EDT Info: backup / restore session started: pid = 25583 user = admin
2013-10-08 15:04:36.817095 EDT Info: backup/restore session ended: pid = 25583, status = 0
2013-10-08 15:07:11.163890 EDT Info: backup / restore session started: pid = 2933 user = admin
2013-10-08 15:07:21.322935 EDT Info: backup/restore session ended: pid = 2933, status = 0
2013-10-08 15:10:27.469984 EDT Info: backup / restore session started: pid = 13265 user = admin
2013-10-08 15:10:36.792838 EDT Info: backup/restore session ended: pid = 13265, status = 0
2013-10-08 15:24:13.003794 EDT Info: backup / restore session started: pid = 19276 user = admin
2013-10-08 15:24:22.780980 EDT Info: backup/restore session ended: pid = 19276, status = 0
2013-10-08 15:25:36.306742 EDT Info: backup / restore session started: pid = 23718 user = admin
2013-10-08 15:25:48.655279 EDT Info: backup/restore session ended: pid = 23718, status = 0

You can map this with backup logs placed at /nz/kit/log/backupsvr (Possibly if it a restore it should be under /nz/kit/log/restoresvr)

/nz/kit/log/backupsvr->ls -lrt
total 28
drwxr-xr-x 30 nz nz 4096 Oct 8 15:04 ../
-rw——- 1 nz nz 765 Oct 8 15:04 backupsvr.25583.2013-10-08.log
-rw——- 1 nz nz 3132 Oct 8 15:07 backupsvr.2933.2013-10-08.log
-rw——- 1 nz nz 3222 Oct 8 15:10 backupsvr.13265.2013-10-08.log
-rw——- 1 nz nz 3296 Oct 8 15:24 backupsvr.19276.2013-10-08.log
drwx—— 2 nz nz 4096 Oct 8 15:25 ./
-rw——- 1 nz nz 3560 Oct 8 15:25 backupsvr.23718.2013-10-08.log

Compare the time shown in bnrmgr.log and timestamp of each logfile in /nz/kit/log/backupsvr

Additionally, bnrmgr log also gets updated whenever Netezza stop/start. That is quite obvious since this is one of the internal Netezza process. Log will look like below when Netezza stop and starts:

/nz/kit/log/bnrmgr->cat bnrmgr.2013-10-07.log
2013-07-31 04:34:12.775478 EDT Info: changing bnr mgr state to ‘offliningNow’, stopping current sessions
2013-07-31 04:34:12.775533 EDT Info: bnr mgr completed transition to state ‘offlineNow’, version ‘6’
2013-07-31 04:34:15.573641 EDT Info: NZ-00023: — program ‘bnrmgr’ (22734) exiting on host ‘ntzzdrdb01cdp’ … —
2013-07-31 07:00:33.083106 EDT Info: NZ-00022: — program ‘bnrmgr’ (10054) starting on host ‘ntzzdrdb01cdp’ … —
2013-07-31 07:07:05.845653 EDT Info: system is online – enabling backup and restore sessions