DOCUMENTATION: What is the "nbpemreq" command used for in VERITAS NetBackup (tm) 6.0?
Details:
Manual: NetBackup (tm) 6.0 Commands for UNIX
Page(s): 391
Modification Type: Supplement
Modification:
The NetBackup (tm) 6.0 Commands for UNIX manual mentions the nbpemreq command, but doesn't explain what the command can be used for.
There are three options available for the nbpemreq command:
usage: nbpemreq -updatepolicies
usage: nbpemreq -predict -date <mm/dd/yyyy HH:MM:SS>
usage: nbpemreq -predict -dateu <unixtime>
The "nbpemreq -updatepolicies" will cause the NetBackup Policy Execution Manager (nbpem) to reread the existing policy configuration. The nbpem daemon will check for changes based on the Global attribute "Policy Update Interval". By default, this is set to ten minutes. The -updatepolicies option can be issued after making a change to a policy to allow the changes to take effect immediately. TechNote 278492 contains additional information for the -updatepolicies option (this TechNote can be found below, in the Related Documents section).
# cd /usr/openv/netbackup/bin/admincmd
# ./nbpemreq -updatepolicies
The command will simply return the prompt after being run.
The "nbpemreq -predict" option replaces the functionality that used to be available from the "bpschedreq -predict" command. The "-date <date>" or the "-dateu <unixtime>" option must also be specified. The -predict option will display backup policies that are due to run on a specific day and time. This command will not display when a specific policy will run, rather it will display policies that are eligible to run and that have open backup windows during the time specified. Factors such as drive availability, max jobs per client, etc., will impact when a job can actually run.
# cd /usr/openv/netbackup/bin/admincmd
# ./nbpemreq -predict -date 9/15/2005 16:00:00
Predicted worklist for Thu Sep 15 16:00:00 2005
rl client policy schedule type
-- ---------- ---------- ---------- -----
01 starfury test-dlt2 FULL 0
This will display the Retention level (rl), Client Name (client), Policy name (policy), Schedule Name (schedule) and Policy type (type). The rl and type values will display the numeric equivalent of the retention level and policy type.
The following caveats exist for the nbpemreq -predict command:
Running the -predict option without specifying a time will use a default time of 23:59:59 hours.
Running the -predict option and specifying a time in the past will display the nbpemreq usage.
Running the -predict option will only show backups that are eligible to run. It is not an indication of what jobs will run at a specific time.
Related Documents:
278492: DOCUMENTATION: How to update the "nbpem" daemon after making changes to a policy without waiting for the Policy Update Interval to take effect
279299: VERITAS NetBackup (tm) 6.0 Commands for UNIX
Bob Stump
Just because the VERITAS documentation states a certain thing does not make it a fact and that is truth.