08-02-2016 11:39 AM
Hello Experts,
We need to add one media server in our environment. Problem is we have 500-600 clients (Windows & Linux)
How can we add this new media server on clients list. So that name resolution issue does not happen?
Thanks & Regards,
Solved! Go to Solution.
08-02-2016 03:05 PM - edited 08-02-2016 03:10 PM
Try this:
https://www.google.co.uk/?gws_rd=ssl#q=add_media_server_on_clients
Or did you mean that you want to add a hosts file entry to all clients? If so, there is no NetBackup native command for that. But do you know 100% definitely that all clients have the same hosts file entries? If so, then you could try to automate a restore of the "hosts" file to all clients - but this would be dangerous without knowing for sure, and could break things even more. Maybe your tools/deployment team have a scripted solution to update the hosts file on all machines.
08-02-2016 12:10 PM
Hi
Open Host Properties -- Clients --- Select all the clients that you need --- Right Click -- Properties ---- Add Media Server to Clients Server list.
It do it very often for my many clients. :) I hope it will work for you too....
08-02-2016 03:05 PM - edited 08-02-2016 03:10 PM
Try this:
https://www.google.co.uk/?gws_rd=ssl#q=add_media_server_on_clients
Or did you mean that you want to add a hosts file entry to all clients? If so, there is no NetBackup native command for that. But do you know 100% definitely that all clients have the same hosts file entries? If so, then you could try to automate a restore of the "hosts" file to all clients - but this would be dangerous without knowing for sure, and could break things even more. Maybe your tools/deployment team have a scripted solution to update the hosts file on all machines.
08-03-2016 04:40 AM - edited 08-03-2016 04:42 AM
Best way is to use DNS for resolution.. add new media server's entry in DNS servers to avoid name resolution issues at OS level.
If you have to add entry to bp.conf of every client, then run following command on your new media server
/usr/openv/netbackup/bin/add_media_server_on_clients
Refer to this TN:
08-03-2016 05:21 AM
Hey
I do know the pain ... especially if some clients do know your master via one name while the others via yet another name (ie to route backup via different networks).
What I did recently I put together such thing on ours AIX master/media server, I am having a script to which I do pass a client name $1 var. Then I am gathering from this client its currently defined servers, then to this configuration I am adding the contents of file servers_to_add (which syntax is SERVER=new_media_server one by line or MEDIA_SERVER = xxxx depending on your requirements), then the new configuration is uploaded to that client.
Please test it in your env priror to doing this against all clients ....
Updating clients with new media servers:
#!/usr/bin/ksh
echo getting configuration from $1
bpgetconfig -M $1 |grep -e "^SERVER =" -e "^MEDIA_SERVER =" > source_config_$1
cat source_config_$1 servers_to_add >> new_config_$1
echo updating configuration on $1
bpsetconfig -h $1 new_config_$1
08-12-2016 05:52 AM - edited 08-12-2016 05:53 AM
Hi,
Thanks all for the soultions.
Is this command add_media_server_on_clients for all clients say( Linux, Windows and other OS)?
Is it compatiable with 7.x later all versions?
08-12-2016 03:03 PM - edited 08-12-2016 03:04 PM
That is the command I use every time I add a new Media Server and I've never had a problem. It's been successful for me on Windows and Linux clients 6.5 - 7.7