03-25-2009 07:48 AM
03-25-2009 10:12 AM
I was just thinking, could I not leave the policies on the old server and just update them so clients on site-A are backed up to robot on site-B and vice versa?
03-25-2009 10:13 AM
You can copy them. rsync whatever.
03-25-2009 10:39 AM
03-25-2009 11:03 AM
03-25-2009 12:26 PM
03-26-2009 04:07 AM
03-26-2009 06:46 AM
04-01-2009 02:38 PM
Hi eros,
There are several NetBackup commands that you can use to achieve the automation. See the "NetBackup Commands for Unix and Linux" guide for details of them.
bppllist can help you to export policy configuration from and old Master:
# bppllist -U -allpolicies > /tmp/bppllist
bppolicynew can help you to create new policy on the new Master. However, it would set the new policies with default attribute values. You will have to either manually modify them, or use bpplinfo to update the attributes.
bpsetconfig is what you need to automate/script NetBackup client configuration change. Put all the clients that you need to migrate in a text file (/tmp/nbu_client_list). Put the new master server and media servers in another text file (/tmp/new_nbu_servers) such as below:
#cat /tmp/new_nbu_servers
SERVER = new_nbu_master
SERVER = new_nbu_media1
SERVER = new_nbu_media2
Write a shell script like this:
#!/bin/ksh
for Client in `cat /tmp/nbu_client_list`
do
/usr/openv/netbackup/bin/admincmd/bpsetconfig -h $Client /tmp/new_nbu_servers
done
Remember, you have to run the above script from the old Master server.
Hope your high and mighty admin will let you run the scripts. Otherwise, tell him/her what you have and let him/her run the script. :)