cancel
Showing results for 
Search instead for 
Did you mean: 

How to restart NBU client services

HowardYu
Level 4

Hi,

I can't find it in goodies and init.d, other places?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

Because bpcd is running as part of inetd, the way to restart the NBU is to restart inetd:

ps -ef |grep inetd

kill -HUP <inetd_pid>

View solution in original post

11 REPLIES 11

V4
Level 6
Partner Accredited

if you got opsCenter , from there too you can restart NBU services

 

Anyways if scripts are missing from goodies try below

/usr/openv/netbackup/bin/bp.kill_all

Use bp.start_all to start all NetBackup, Media Manager and client daemons.

 

To stop:

cd /usr/openv/netbackup/bin/goodies

either run bp.kill_all or netbackup stop

do a bpps -a to verify no processes/daemons are running

To start:

in /usr/openv/netbackup/bin/goodies

run netbackup start, once it returns to command prompt, do a bpps -a again, all should be back up

 

Try to fix why scripts are missing from goodies.

HowardYu
Level 4

Hi,

Yes, I only found nbclient in goodies.

i can't run bp.kill_all/bp.start_all

thanks.

Marianne
Level 6
Partner    VIP    Accredited Certified

These steps are for NBU servers (master or media).

The request here is for a client.

Marianne
Level 6
Partner    VIP    Accredited Certified

nbclient script should do it.

If NBU client was installed with proper install script, these files should've been added:

/etc/init.d/netbackup
/etc/rc0.d/K01netbackup
/etc/rc1.d/K01netbackup
/etc/rc2.d/S77netbackup

(As per NBU Installation Guide)

HowardYu
Level 4

Hi,

Sorry, it doesn't exist those paths.

It's solaris system run for NIS.

 

Thanks.

V4
Level 6
Partner Accredited

is client installed properly?

and hope account you are logged in has privileges to execute those scripts

was it working before? or is it first time

Marianne
Level 6
Partner    VIP    Accredited Certified

Proper installation using push-install or install script should add these packages as a minimum:

SYMCnbclt 
VRTSpbx

As well as all the startup and shutdown scripts above.

Can you run pkginfo on above 2 package names?

I have seen users getting away with simply copying binaries across, but then run into issues when they try to patch or upgrade.

If there is no etc/rc2.d/S77netbackup on this client, how is NBU starting on the client after a reboot?

You have selected NBU 7.5 as the version. 
Can you confirm that this is the version actually installed on the client? 

Check output of:

cat /usr/openv/netbackup/bin/version

If older that 7.x, there will be no packages installed, no startup and shutdown scripts. 
Only entries in /etc/services and /etc/inetd.conf.
 

HowardYu
Level 4

Hi, yes, you're right, it's 6.5.

but nothing in /etc/services and /etc/inetd.conf.

Looks like I have to upgrade it or just reboot NIS, am i right?

Thanks.

Marianne
Level 6
Partner    VIP    Accredited Certified

Still wondering how this client software was installed...

Extract from NBU 6.5 Installation Guide:

During installation, NetBackup does the following:
... Adds the appropriate entries to the client’s /etc/services and inetd.conf files or xinetd.d directory.

On NBU Clients up to 6.5, there were no startup scripts. vnetd and bpcd run as part of inetd and only need to be in LISTENING state.

If security dictates that entries be removed from inetd.conf, startup scripts must be put in place to start vnetd and bpcd in standalone mode:
/usr/openv/netbackup/bin/bpcd -standalone
/usr/openv/netbackup/bin/vnetd -standalone

/etc/services entries must exist with NBU port numbers.

As from NBU 7.x, these entries are no longer necessary and startup scripts are in place to start vnetd, bpcd and PBX.

So, yes - you need to upgrade.

In the meantime, you can try to run above 2 commands.

HowardYu
Level 4

Hi, I can see /usr/openv/netbackup/bin/bpcd bpcd in /etc/inetd.conf.

What could I restart it?

Thanks.

Marianne
Level 6
Partner    VIP    Accredited Certified

Because bpcd is running as part of inetd, the way to restart the NBU is to restart inetd:

ps -ef |grep inetd

kill -HUP <inetd_pid>