Video Screencast Help

bprd terminate

Created: 18 Mar 2013 • Updated: 18 Mar 2013 | 15 comments

https://www-secure.symantec.com/connect/forums/dif...

http://www.symantec.com/business/support/index?pag...

 

 

 
C:\Program Files\Veritas\NetBackup\bin\admincmd>bprdreq -terminate
 
C:\Program Files\Veritas\NetBackup\bin\admincmd>bpps
'bpps' is not recognized as an internal or external command,
operable program or batch file.
 
C:\Program Files\Veritas\NetBackup\bin\admincmd>cd ..
 
C:\Program Files\Veritas\NetBackup\bin>bpps
* DELL-PC                                                3/18/13 13:48:48.048
COMMAND           PID      LOAD             TIME   MEM                  START
dbsrv9           1616    3.107%           23.774  7.0M   3/18/13 10:02:14.044
bmrd             1644    0.000%            0.249  2.1M   3/18/13 10:02:15.054
bpcompatd         404    0.000%            1.856  2.5M   3/18/13 10:02:19.975
bpinetd           584    0.000%           11.076  2.4M   3/18/13 10:02:20.256
bpjava-msvc      1160    0.000%            0.015  796K   3/18/13 10:02:20.443
bpdbm            2216    0.000%            4.336  2.7M   3/18/13 10:02:23.828
nbemm            2380    1.554%           15.506   13M   3/18/13 10:02:25.045
bpjobd           2392    0.000%            1.326  4.5M   3/18/13 10:02:25.123
nbevtmgr         2524    0.000%            3.400  6.5M   3/18/13 10:02:30.521
nbpem            3184    0.000%            4.196  8.2M   3/18/13 10:02:32.018
nbrmms           3264    0.000%            5.163  7.3M   3/18/13 10:02:32.252
nbproxy          3296    0.000%            0.046  1.7M   3/18/13 10:02:32.361
nbproxy          3332    0.000%            0.374  4.7M   3/18/13 10:02:32.455
nbproxy          3368    0.000%            0.078  5.2M   3/18/13 10:02:32.549
nbproxy          3404    0.000%            0.312  5.8M   3/18/13 10:02:32.642
bprd             3496    0.000%           14.383  4.2M   3/18/13 10:02:33.563
nbrb             3524    0.000%            1.825  8.5M   3/18/13 10:02:33.609
nbsl             3672   49.719%           46.566  9.9M   3/18/13 10:02:34.499
nbsvcmon         3888    0.000%            0.530  4.5M   3/18/13 10:02:35.107
nbstserv         4008    0.000%            2.464  5.7M   3/18/13 10:02:35.294
vmd              2624    0.000%            0.780  3.4M   3/18/13 10:02:36.464
nbproxy          7404    0.000%            0.218   12M   3/18/13 12:50:52.323
nbjm             5232    0.000%            1.591   16M   3/18/13 12:52:45.619
nbproxy          5620    0.000%            0.265   12M   3/18/13 12:52:52.397
 
Still bprd is showing.Why?
 
I have initiated a manual backup after  bprd terminate and still it completes.why?
Operating Systems:

Comments 15 CommentsJump to latest comment

mph999's picture

Look in the bprd log, does it terminate ?  does it even try to terminate ?

 

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Andy2345's picture

Hi Martin:

when i terminate bprd,will my schedule backup will run?

 

Andy2345's picture

I have read below in above link.

 

IS below correct?

 

 

One thing many folks haven't mentioned here: running nbpemreq -suspend_scheduling, also terminates bprd.

So to summarize:

nbpemreq -suspend_scheduling:

  • No scheduled jobs
  • No manual jobs, restores, etc.

bprdreq -terminate:

  • Scheduled jobs still run
  • No manual jobs, restores, etc.
mph999's picture

 

"when i terminate bprd,will my schedule backup will run?"

I'm not answering that, as the answer is already explained in the forum, and you need to try these things and find out for yourself, thats what the rest of us have to do.

If you have a real issue with bprd not terminating, I will show you how to investigate.

In the bprd log, when you run bprdreq -terminate you should see lines like these :

 

12:06:51.356 [13762] <2> bprd: socket fd from accept() is 10

 

12:06:51.374 [13762] <2> listen_loop: request complete
12:06:51.620 [13762] <2> launch: /usr/openv/netbackup/bin/admincmd/nbpemreq, pid=29817
12:06:51.640 [13762] <2> terminate_daemon: termination begun...error code = 0
12:06:51.643 [13762] <4> terminate_daemon: bprd TERMINATED
12:06:51.643 [13762] <2> childterm: pid=29817 exit=0, signo=0 core=no
12:06:52.185 [13762] <2> childterm: pid=29816 exit=0, signo=0 core=no
12:06:52.185 [13762] <2> terminate_daemon: bprd children TERMINATED
 
Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Andy2345's picture

@Martin:I just wanna know bprd terminate will terminate my pem?

Andy2345's picture

 

It depends on whether the backup is kicked off manually or automatically by the scheduler. 

All manual requests are sent to bprd first. From there to nbpem.

Automatically scheduled jobs are started by nbpem,

 

Please help me in this.I have searched a lot

 

@Martin:I just wanna know bprd terminate will terminate my pem?

 

mph999's picture

You know what Chris Z has said about 'what if' questions - he has asked that we stop answering them.

I thoughht with you first post you actually had a real question, then I explain how to investigate this and the post than diverts into exam type questions.

If you have a real issue, you can run the commands on your system and see if there nbpem process stops, or you can look at the info you found.

The answer is in the post above:

bprdreq -terminate:

 

  • Scheduled jobs still run
  • No manual jobs, restores, etc.

Also,  

 

If you have a command called bprdreq, do you seriously think this is going to stop a process with a different name ?  

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Andy2345's picture

no it will not stop a different process.

mph999's picture

OK, now, seeing that the previous information shows that after running bprdreq scheduled jobs will still run ...

You know what process is responsible for running scheduled jobs, therefore, if scheduled jobs still run, you know if that process must be running or not - and hence the answer.

M

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Andy2345's picture

One thing many folks haven't mentioned here: running nbpemreq -suspend_scheduling, also terminates bprd.

 

Then what is above statement for?

Andy2345's picture

then why nbpemreq will terminate bprd as you said that

 

 If you have a command called bprdreq, do you seriously think this is going to stop a process with a different name 

mph999's picture

Doesn't count ...

nbpemreq -suspend_scheduling doesn't stop any processes ...   It stops nbpem and bprd from processing, but does not actually stop the process.

nbpem and bprd will still be running.

 

root@womble bprd $ nbpemreq -suspend_scheduling
root@womble bprd $ bpps -x |grep nbpem
    root  5575     1   0 14:05:49 ?           0:01 /usr/openv/netbackup/bin/nbpem
 
root@womble bprd $ bpps -x |grep bprd
    root  5553     1   0 14:05:42 ?           0:01 /usr/openv/netbackup/bin/bprd
 
M

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Will Restore's picture

* thread terminate *

 

Will Restore -- where there is a Will there is a way

Andy2345's picture

 

One thing many folks haven't mentioned here: running nbpemreq -suspend_scheduling, also terminates bprd.

Above statement is correct?

CRZ's picture

I see a couple of problems here, but they don't involve bprd.


bit.ly/76LBN | APPLBN | 75LBN