cancel
Showing results for 
Search instead for 
Did you mean: 

Best Practice for stopping/starting Netbackup

Steve_forrester
Level 3
Hope this is an easy one.

One master 6 media servers nbdc 6.0mp2 solaris 8.

We had put 2 scripts together to shutdown and startup veritas.
In a nutshell for shutdown we do a
bprdreq -terminate
bpdbjoms -cancel
then bp.kill_all FORCEKILL on all the media servers then the master

Then on the startup script
we start master then media servers.

First question does the kill all kill PBX and if so do I need to?

Second should I just be using the netbackup script in /etc/init.d to kill and start netbackup?

Should I start stop PBX by using the kill and start script in /ect/rc2.d?

Is my order correct on first stopping veritas on the media servers and then the master and then on startup the master then media.

TIA
1 ACCEPTED SOLUTION

Accepted Solutions

Stumpr2
Level 6
Dennis Strom has a script that he uses to run all three
netbackup stop
bp.kill_all
vxpbx_exchanged stop

Perhaps he will post the script :)

View solution in original post

3 REPLIES 3

DavidParker
Level 6
Steve,
I would use the 'netbackup' script in /usr/openv/netbackup/bin/goodies.

'netbackup stop'

Then maybe ../bpps -a to see if any processes didn't shut down correctly.
And then, only if processes are left, bp.kill_all.

$0.00.5

You can also use the script to 'netbackup start'

Rakesh_Khandelw
Level 6
> In a nutshell for shutdown we do a
> bprdreq -terminate
> bpdbjoms -cancel
> then bp.kill_all FORCEKILL on all the media servers
> then the master
>
Don't use bp.kill as general practice for stopping netbackup. Use bp.kill only if you are not able to stop all the daemons/processes using "netbackup stop".


>
> First question does the kill all kill PBX and if so
> do I need to?

No, it does not kill PBX. You can start or stop it by using /etc/rc2.d/S45vxpbx_exchanged
/etc/rc2.d/K45vxpbx_exchanged

these are linked to /opt/VRTSpbx/bin/vxpbx_exchanged
>
> Second should I just be using the netbackup script in
> /etc/init.d to kill and start netbackup?
>
Yes, using netbackup script in /etc/init.d is better way to stop and start netbackup
To start - /etc/init.d/netbackup start
To stop - /etc/init.d/netbackup stop

> Should I start stop PBX by using the kill and start
> script in /ect/rc2.d?
Yes... under normal curcumstances there is no need to restart PBX exchange as part of netbackup restart.
>
> Is my order correct on first stopping veritas on the
> media servers and then the master and then on startup
> the master then media.

Absolutely correct.Message was edited by:
RK

Stumpr2
Level 6
Dennis Strom has a script that he uses to run all three
netbackup stop
bp.kill_all
vxpbx_exchanged stop

Perhaps he will post the script :)