09-29-2014 08:41 PM
Hi Team,
When I recycling the services(stopping netbackup on master).All process are stopping mean I used bp.kill_all to stop servcies but it doesnt work and i used manually killing kill -9 , it also not working.
When Iam using bp.kill it showing waiting to terminate bptm and bpdm processess.bptm and bpdm process are not stopping.
And One more thing the reason to recycle is when i intiate manual backup it not initiating backup.
Thanks in advance
Solved! Go to Solution.
09-30-2014 06:21 AM
" waiting to terminate bptm and bpdm processess " means you have backups that are running.
More than just processes need to be terminated - port connections need to be terminated.
The termination instructions need to be sent to clients as well and all of this takes time.
Best to kill or suspend all running backups before stopping NBU to ensure clean termination of server and client processes and unload of tape drives (if backups are written to tape).
Killing bptm and bpdm processes may leave the environment in a bit of a mess with port connections not closed and tapes left in drives.
09-30-2014 06:06 AM
When a process can not be terminated by SIGKILL(signal #9), it is most likely that this process is calling some system call and it is blocked by any reason in kernel side. Are there any messages repeated in OS log?
09-30-2014 06:21 AM
" waiting to terminate bptm and bpdm processess " means you have backups that are running.
More than just processes need to be terminated - port connections need to be terminated.
The termination instructions need to be sent to clients as well and all of this takes time.
Best to kill or suspend all running backups before stopping NBU to ensure clean termination of server and client processes and unload of tape drives (if backups are written to tape).
Killing bptm and bpdm processes may leave the environment in a bit of a mess with port connections not closed and tapes left in drives.
09-30-2014 06:22 AM
I'd recommend stopping NBDB before killing processes ...
/usr/openv/db/bin/nbdbms_start_server -stop
... else you run the risk of corrupting the DB / Transaction log
Then kill whatever you like ...
09-30-2014 11:52 AM
Hi Team,
One more question,
When I intiate manully the backups there not starting.
Thanks in advance
09-30-2014 01:44 PM
Is this now after you you stopped NBU and did a kill -9 of remaining processes?
Understand what I was trying to say about the fact that killing processes in this way may leave the environment in a 'bit of a mess'?
Did all processes stop cleanly?
Have you checked that all processes are running after you started NBU again?
Best to start a new discussion for this issue.... We may need to dig into nbpem, look for left-over lock files and/or pempersist, etc as a result of forceful killing of processes.
10-02-2014 09:08 PM
I remember there's once I was unable to kill some bptm, and some tldd processes, even with "kill -9" that was on an old Solaris box.
Ended up rebooting the server to clean up the hung/defunct process. That was some very old Netbackup version though.
10-06-2014 11:17 AM
I'm still waiting for the "quiesce" button for recycling NetBackup. Our process usually goes somewhat like this:
(I'm probably forgetting something.)
Then you can run "netbackup stop" or "bpdown". If everything is quiesced, NetBackup will stop more cleanly, with few, if any errors. I think both 7.5 and 7.6 have been a lot better about cleanly shutting down than previous versions have.