Forum Discussion

javed_bhai's avatar
15 years ago
Solved

Populate bp.conf


Hi,

Given a scenario, if I have to add a new Media Server in the existing Netbackup Environment with 100 clients, is there a command or method, wherein I can update the Netbackup clients bp.conf with entry of new media server.
Not manually adding entry on each client.


Rgds
J
  • Use the GUI:
    Go to Host Properties -> Clients.
    Select multiple clients (I normally do about 20 at a time due to the time taken to load config from each client).
    Add new media server name in Server tab. This will update all selected clients simultaneously.

4 Replies

  • Use the GUI:
    Go to Host Properties -> Clients.
    Select multiple clients (I normally do about 20 at a time due to the time taken to load config from each client).
    Add new media server name in Server tab. This will update all selected clients simultaneously.
  • 1.) Using /usr/openv/netbackup/bin/add_media_server :

    The command format for adding media servers is :

    # /usr/openv/netbackup/bin/add_media_server -M host server1 [ ... serverN ]

    Where, -M host is the client host, where you want to add the SERVER entry
    server1...serverN are the media-servers you want to add


    E.g. Want to add media servers med1 and med2 on a client clnt1 , the command would be :
    # /usr/openv/netbackup/bin/add_media_server -M clnt1 med1 med2

    In the above command, we can specify multiple media servers, that we want to add.

    (*To add media server(s) to the multiple clients, you can make a file containing list of clients and use it in a FOR or WHILE loop with the above command.)




    2.) Using /usr/openv/netbackup/bin/add_media_server_on_clients command (as Peter Jacobs already suggested) :
    (See - Commands for UNIX and Linux:- http://seer.entsupport.symantec.com/docs/290234.htm )
    You can run the add_media_server_on_clients command from a NetBackup server to synchronize the server list from the server�s configuration with the server lists on the known clients.

    The add_media_server_on_clients command attempts to connect to all configured clients (clients that are listed in backup policies). For each client to which it can connect, add_media_server_on_clients updates the client�s configuration, (if necessary) to include all the servers from the server�s configuration.

    NOTE: This command will take the SERVER list (in bp.conf) from the master server and will update on each of the client (to which Master server can connect). If you have a discreet distribution of the media-servers amongst the client, this command will swipe the old distribution and will add all the media-server in each of the client's configuration.



    3.) Apart from Command line, we can do it also from the NBU-JAVA Admin Console:
    - Go to Host Properties > Clients.
    - Multiple select the number of clients (press Ctrl key and select each client OR use Shift key for continuous selection)
    - Right Click and open properties. This will open the common properties for the clients you selected in previous step.
    - Go to Servers in Left Pan of the properties
    - Click "Add..." button and add the server name you want to enter.
    - Click OK to close.
    The above method is the simplest method for adding (or removing ) SERVER entry from multiple clients.

  • You can also use bpsetconfig -M and pass it a file containing all of the servers if you want your clients to have a fresh list rather than adding to a possibly polluted list.