I need a solution
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.
(c
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.
https://www-secure.symantec.com/connect/forums/populate-bpconf
*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.)
1.Please provide the complete for loop command for this as i have to update 100 clients.
2.This command will remove the old entries ?? or will just overwrite the complete registry entries?