Forum Discussion

EricStone's avatar
EricStone
Level 3
14 years ago
Solved

What is the different in bp.start_all and S77netbackup starting script

GoodDay,

I have some problem when starting my NBU master and i getting different result when issue above command. Basically i was told to used "./bp.start_all" cmd to start my server services. However sometime some of the services was unable startup gracefully.

However when this script executed "/etc/rc3.d/;./S77netbackup", all getting fine.

I just need to know what is the different between both of it and in what sense(situation) above script is required and i can getting better result.

Many thanks for your assistant.

  • Not sure what the 'official' stance is on this & could not say why you see differences in the way each behaves, but we always use "netbackup start/stop" from within the goodies directory (this is actually the *same* script as utilised in the init areas for server startup/shutdown) & have never had recourse to use bp.start_all & only very occasionally bp.kill_all if all else fails.

    Notes that may be of interest from bp.kill_all (from our NB6.5.6):

     Script for terminating all NetBackup, Media Manager and client
     daemons and processes.
    
    # Script for terminating all NetBackup, Media Manager and client
    # daemons and processes.
    #
    # Notes:
    #    - Use bp.start_all to start all NetBackup, Media Manager and
    #      client daemons.
    #    - Script does not handle all processes on media servers.
    #    - Graceful termination is attempted, but some processes may be
    #      ungracefully killed.
    #    - Script is mainly intended to stop all daemons when there is
    #    - no activity, i.e. no backups/restores in progress.

    & from bp.start_all:

    # Script for starting all NetBackup, Media Manager and client daemons.
    #
    # Notes:
    #    - Use bp.kill_all to stop all NetBackup, Media Manager and client
    #      daemons and processes.
    #    - This script does not start NOM or HSM daemons.

     

    ***EDIT***

    Just had a *quick* look at our (NB6.5.6) scripts & essentially there's not much difference between 'bp.start_all' & 'netbackup start' - they both essentially have a hardcoded list of daemons/services that they work through in the same order, starting each in turn.

2 Replies

Replies have been turned off for this discussion
  • S77netbackup is more of the "official" way of starting deamons, just like /usr/openv/netbackup/bin/goodies/netbackup start.

    Ever since using Netbackup, I never use bp.start_all to start it. I didn't look into the script so can't really tell what are the diff.

    For shutdown, however, we use "netbackup stop" and if that does not work for all processes, we will opt to use bp.kill_all. I know it did sound weird.

  • Not sure what the 'official' stance is on this & could not say why you see differences in the way each behaves, but we always use "netbackup start/stop" from within the goodies directory (this is actually the *same* script as utilised in the init areas for server startup/shutdown) & have never had recourse to use bp.start_all & only very occasionally bp.kill_all if all else fails.

    Notes that may be of interest from bp.kill_all (from our NB6.5.6):

     Script for terminating all NetBackup, Media Manager and client
     daemons and processes.
    
    # Script for terminating all NetBackup, Media Manager and client
    # daemons and processes.
    #
    # Notes:
    #    - Use bp.start_all to start all NetBackup, Media Manager and
    #      client daemons.
    #    - Script does not handle all processes on media servers.
    #    - Graceful termination is attempted, but some processes may be
    #      ungracefully killed.
    #    - Script is mainly intended to stop all daemons when there is
    #    - no activity, i.e. no backups/restores in progress.

    & from bp.start_all:

    # Script for starting all NetBackup, Media Manager and client daemons.
    #
    # Notes:
    #    - Use bp.kill_all to stop all NetBackup, Media Manager and client
    #      daemons and processes.
    #    - This script does not start NOM or HSM daemons.

     

    ***EDIT***

    Just had a *quick* look at our (NB6.5.6) scripts & essentially there's not much difference between 'bp.start_all' & 'netbackup start' - they both essentially have a hardcoded list of daemons/services that they work through in the same order, starting each in turn.