1847067 Members
6162 Online
110261 Solutions
New Discussion

Re: netbackup script

 
SOLVED
Go to solution
Jay Cantwell
Regular Advisor

netbackup script

I have just implemented the netbackup v4.5 to back up my HP system. Due to the bp process running at the system default priority (20), I would like to nice the priority to 24. I know of 2 methods to this. First is with a renice. Next is a nice command in the application startup script. What and where would the bp script be for me to enter the nice command ??

thanks....Jay
6 REPLIES 6
Geoff Wild
Honored Contributor

Re: netbackup script

Script is probably in:

/usr/openv/netbackup/scripts

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Steve Steel
Honored Contributor

Re: netbackup script

Hi


You will find the name in /etc/rc.log


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Jay Cantwell
Regular Advisor

Re: netbackup script

Geoff....I do not have a 'scripts' directory listed.....the master server is on a Windows NT box, with the HP being a client.

Steve...there was no entry in rc.log...I am not starting the client at boot time, just when the master server has a backup scheduled. Is the script located on the windows server by chance ??
Geoff Wild
Honored Contributor

Re: netbackup script

Sorry - assumed master was HP-UX...

What do you have in (on the HP box):

/usr/openv/netbackup

You might be able to config nice level in bp.conf

As far as I know, netbackup clients run from inetd - not rc scripts....


Something like this in your /etc/inetd.conf:

bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd
vopied stream tcp nowait root /usr/openv/bin/vopied vopied
bpjava-msvc stream tcp nowait root /usr/openv/netbackup/bin/bpjava-msvc bpjava-msvc -transient

vnetd stream tcp nowait root /usr/openv/bin/vnetd vnetd



Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Michael Steele_2
Honored Contributor
Solution

Re: netbackup script

There are only two 'Netbackup' processes running on each client, bpcd and bpbkar. Ignore the first, 'bpcd' because this is your network startup and communication daemon to the media server, it authenticates media in the tape library. It's also listed in 'inetd.conf' and goes away after the 'backup and archive' process, 'bpbkar' has started.

The 'backup and archive' daemon, 'bpbkar' works with both 'bptm' and 'bpdm' on the media server and these daemons will be affected if you renice 'bppkar'.

For NT/2000, 'bpcd' is known as 'BPCDW32'.

Regarding "...What and where would the bp script be for me to enter the nice command..."

'bpbkar' is started by a network service from the media server. I don't know how to renice this.

If you have performance problems, begin with 'defragmenting' the file systems and perform this often. Also consider multiplexing your backups, where multiple 'bpbkar' processes are used in conjuction to back up the same data.
Support Fatherhood - Stop Family Law
Geoff Wild
Honored Contributor

Re: netbackup script

bp.conf does not allow for renicing....

Only thing I found was:

LIMIT_BANDWIDTH
Note Read ???Bandwidth Limiting??? on page 445 before setting this option.
Specifies a limit for the network bandwidth used by one or more NetBackup clients on a
network. The actual limiting occurs on the client side of the backup connection. This
feature limits only backups. Restores are unaffected. Default: The bandwidth is not
limited.
Each LIMIT_BANDWIDTH entry specifies the bandwidth value and the IP address of the
clients and networks to which it applies. The syntax is as follows:
LIMIT_BANDWIDTH = xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy zzz
LIMIT_BANDWIDTH = xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy zzz
Where:
xxx.xxx.xxx.xxx is the beginning of the IP address range. (For example, 10.0.0.2.)
yyy.yyy.yyy.yyy is the end of the IP address range. (For example, 10.0.0.49)
zzz is the bandwidth limitation in kilobytes per second. (For example, 200) A value of
0 disables throttling for the individual client or the range of IP addresses covered by
this entry.
You c an a dd LIMIT_BANDWIDTH entries to the /usr/openv/netbackup/bp.conf file
on NetBackup master servers.


Seeing how the process is spawned from inetd, an ugly way would be to have a cron job run every minute, grep the process - if exists, then renice it.....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.