Vidéos d'aide de Screencast

Difference

Created: 11 Décembre 2012 • Updated: 13 Décembre 2012 | 25 comments
Ce problème a été résolu. Voir la solution.

Can anybody tell me the basic difference between

Windows: %INSTALL_PATH%\NetBackup\bin\admincmd\nbpemreq -suspend_scheduling
Unix: /usr/netbackup/bin/admincmd/nbpemreq -suspend_scheduling

Windows: %INSTALL_PATH%\NetBackup\bin\admincmd\nbpemreq -resume_scheduling
Unix: /usr/netbackup/bin/admincmd/nbpemreq -resume_scheduling

AND

From the command line, run:

/usr/openv/netbackup/bin/admincmd/bprdreq -terminate

NBU 7.1.0.2

I have read the documents but not clear.

Commentaires CommentairesAccéder au dernier commentaire

l'image des RamNagalla

nbpemreq -suspend_scheduling will susped all scheduling.. so that  there will not be new jobs comming and submitting to the nbjm...all active and queued jobs will run.. but no new scheduled jobs..

nbpemreq -resume_scheduling will bring nbpem to regural work after suspending... so that it can submit the jobs to nbjm....new jobs will comming in as per the schedule.. 

bprdreq -terminate .. will terminate the bprd process.. so that you can not start any restore , manual backups and user /client iniciated  jobs.. ..because bprd is the one who recives all this requests..

hope this helps.. 

l'image des Marianne

Seems this is the follow-up to your other post? https://www-secure.symantec.com/connect/forums/error-50-0

Please show us what you have found and tell us which part of the documentation you do not understand.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

l'image des CRZ

Seems this is the follow-up to your other post?

No, see, THAT thread was by Andy2345. 

THIS thread is by Arun K! 

Totally different... because they're totally different people!


bit.ly/76LBN | APPLBN | 761LBN

l'image des mph999

What do you think/ or know this does:

nbpemreq -suspend_scheduling

From the command you see it works on nbpem

What do you think this does ...

bprdreq -terminate

I'll give you a clue ...

BPRDreq -terminate

So ... you should be able from this to work out the difference ... not that there really is one as these commands work on totally differencies ...

So taking what the two commands do, if you run them, what do you think NetBackup is not going to be able to do ?

Martin

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
l'image des Arun K

@Martin:

With bprd terminate command ,Netbackup will not send the request to nbpem.so no manual backup will run.

nbpem -suspend/resume will stop and schedule backup to run.

Correct?

l'image des mph999

Close enough - bprd will not acept any manual requests for backups (bprd doesn't send them to pem, goes straight to nbjm).

pem won't run any scheduled backups ....

So - the end result is that NBU willl not be able to run any backups, thus allowing maintainance tasks to be carried out, for example.

Martin

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
l'image des Arun K

BPRD terminate will allow schedule backup to run?

l'image des RamNagalla

yes.. becuase schedule backup will iniciated form NBPEM.

you need to understand about the different daemons and process in Netbackup and their roles.., then you will identifiy these as a cake walk..

hope this helps.. 

l'image des Arun K

BPRD is only for manual initiated and user initiated backup restores?

l'image des RamNagalla

yes.. when you talk about jobs.. 

l'image des mph999

"BPRD terminate will allow schedule backup to run?"

I confirmed this was correct in my previous answer.

bprd will only affect scheduled backups ...

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
l'image des Arun K

@Naga:Bprd terminate is for manual initiated backup jobs and restore jobs and user initiated jobs/restores.

And Nbpem -resume/suspend is for scheduled jobs.

This is the final answer?

l'image des RamNagalla

yes... that is what i have been telling from my first post.. :-)

l'image des Arun K

I have read that.

bprd also prompts NetBackup to perform automatically scheduled backups. bprd must be running on the NetBackup master server in order to perform any backups or restores.

l'image des revarooo

I'd be interested to know where you read that from, please post any weblinks or let us know where you read it.

l'image des Arun K

Bprd talks to nbjm or to nbpem in a backup process flow?

l'image des revarooo

bprd -> nbjm  (for manual backups / restores)

nbpem -> nbjm (for scheduled backups)

bprd does NOT talk to nbpem. nbpem (policy execution manager - for Scheduled backups only - NOT for manual backups OR restores!)

l'image des RamNagalla

check the comment of Martin.. above ...you will understand that.. 

as i said eariler .. you need to understand about the different daemons and process in Netbackup and their roles.., and also backup process flow... then you will identifiy these as a cake walk..

l'image des mph999

I have read that.

bprd also prompts NetBackup to perform automatically scheduled backups. bprd must be running on the NetBackup master server in order to perform any backups or restores.

I disagree.

Before I posted previously, I stopped bprd and made sure the scheduled backup ran.  It did, and completed successfully.

However, with bprd running a few lines are put in the bprd log, but for the basic disk type backup I ran, clearly they aren't that important as the backup still completed.

Martin

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
l'image des Tomer Gurantz

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.

Senior Principal Technical Education Consultant with Symantec Corporation

SOLUTION
l'image des revarooo

OP needs to set-up a test system for themselves and actually try these things out rather than asking simple questions.

l'image des Tomer Gurantz

Heh, that's nice when you have a test system, but isn't always the case, especially for folks out in real-land (even though they should have test systems :-) 

Also it's a bit misleading with nbpemreq sending a call to stop bprd since the documentation doesn't really make that clear, we found it through testing when we were claiming in a pre-release of the courseware that it would only stop scheduled jobs.

revaroo makes a good point though, in that even though we tell you this behavior, it could in theory change in a release, so testing is the best way to check the exact behavior.

Senior Principal Technical Education Consultant with Symantec Corporation

l'image des CRZ

"real-land" is not the place from which many of this particular OP's topics originate, I'm afraid.


bit.ly/76LBN | APPLBN | 761LBN

l'image des mph999

Yes, testing is the way to go.

I very often test something before I post up an answer up, just to be sure, if I think I know the answer, and to find out the answer, if I don't know.

M

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