Setting Maximum Jobs per Client on a per client basis in VERITAS NetBackup
Problem
Setting Maximum Jobs per Client on a per client basis in VERITAS NetBackup ™
Solution
Maximum Jobs per Client applies to all clients in all policies, so it is recommended that it be set to accommodate whichever client can handle the lowest number of concurrent jobs. In addition, it is most commonly recommended that the Maximum Jobs per Client global attribute is set to a higher value and the jobs per policy are restricted when tuning in this area is desired.
However, there are scenarios in which time windows for backups, the amount of data backed up per client, or resource differences between clients can vary to such a degree as to cause under-utilization of resources. This can easily cause backups to take longer than expected.
In these situations, the following can be done to tune Maximum Jobs per Client on a per client basis, using the -max_jobs option with the bpclient
command, found in the/usr/openv/netbackup/bin/admincmd directory.
To create a client entry in the NetBackup client catalog with the Maximum Jobs per Client attribute, run this command from the master server:
bpclient
-add -client <client name> -max_jobs #
For example:
cd /usr/openv/netbackup/bin/admincmd
bpclient -add -client <client name> -max_jobs 5
This creates the following directory in the NetBackup client catalog:
/usr/openv/netbackup/db/client/<client name>
for the client this command was run for.
The host_info file is created in this directory with the following line:
MAX_JOBS_THIS_CLIENT 5
To change the Maximum Jobs per Client once it has been originally set:
bpclient -client <client_name> -update -max_jobs #
To delete a client entry:
bpclient -delete -client <client_name>
To list a client entry:
bpclient -L -client <client_name>
Note: This setting will override the maximum jobs settings on both the policy and the master server level. See article 267104 for further information.