cancel
Showing results for 
Search instead for 
Did you mean: 

Error code 196

rookie11
Moderator
Moderator
   VIP   
In our setup we have about 400 policies all have same job priority as 500 same time window as 8pm to 4am every weekend we have flood of error code 196.
Is there any method or netbackup script to change job priority and time window of 200 policies at simultanoeusly
5 REPLIES 5

Andy_Welburn
Level 6
bpplinfo

USAGE: bpplinfo policy_name -L|-l|-U [-v] [-M master_server,...]
       bpplinfo policy_name -set|-modify [-v] [-M master_server,...]
           [-generation generation]
           [-active | -inactive] [-pt policy_type]
           [-job_subtype sub_type]
           [-ut] [-ef effective_time]
           [-residence label]
           [-pool label]
           [-priority priority]
           [-rfile flag] [-blkincr flag]
           [-multiple_streams flag] [-keyword "keyword phrase"]
           [-encrypt flag]
           [-collect_tir_info value] [-compress flag]
           [-crossmp flag] [-disaster flag] [-follownfs flag]
           [-policyjobs max_jobs(0=unlimited)]
           [-chkpt flag] [-chkpt_intrvl minutes]
           [-collect_bmr_info flag]
           [-sg (server_group | *ANY* | *NONE*)]
           [-data_class (data_classification | *NULL*)]
           [-granular_restore_info (0 | 1)]

       Valid values for policy_type:
           Standard,  Oracle,  NetWare,  MS-Windows-NT,
           OS/2,  NDMP,  AFS,  DataStore,  NBU-Catalog,
           Generic,  PureDisk-Export
       Valid values for job_subtype:
           DUPLICATE, LIVEUPDATE

Nicolai
Moderator
Moderator
Partner    VIP   

You need to script it, anything in the GUI can be done by command line also. I am not aware of any script out there that can do the job. It should not be to hard to code.

Is  the master server Windows or *nix.

You can see what command the GUI uses:

vi /usr/openv/java/Debug.properties and uncomment printCmdLines=true. Restart the java GUI and look at the command at at  /usr/openv/netbackup/logs/nbjava.

When you have edited one policy is "just" a question of  doing a small script that repeat the same command for the different policy's.




Rakesh_Khandelw
Level 6

bppllist > /tmp/xx
 edit the /tmp/xx file and delete the policies you do not want to make any changes or if you just want to change priority on any 200 then delete first 200 or last 200, whichever you prefer
once you have this file with 200 policies you want to change

for i in `cat /tmp/xx`
do
bpplinfo $i -modify -priority <new priority>
done

This should take care of changing priority on 200 policies.

sudu_mlk
Level 5

The easiest method to change priority of same policy type is..

GO-> Summary of all Policies -> sort the policies by the type and select policies of same type-> right cleck and change-> change the Job priority.

and to change the schedule of the police.

first modify one policy with your requirement and Copy the shedule folder from the policy where you modified from (Program Files\Veritas\NetBackup\db\class\PolicyNameXX) and write script so that it has find the schedule folder and replace with this modified schedule folder.

--SUDU

Andy_Welburn
Level 6
let us know how you get on.