W_M_Wong
18 years agoLevel 4
How to correctly decommission a NetBackup Media Server and remove it from the NetBackup v6.0?
Hi,
I read this article on how to decomission a media server.
Anyone has a similar steps to decomission a media server in Version6.0?
Thank you.
- 1) Make sure all storage units are documented.
a. #bpstulist –L (this will list all the info we need for current storage units so we can recreate them) send to output file or print.
b. #bppllist –allpolicies (this will list all the policies and you can see what storage units each policy uses) send to output file or print
2) Deactivate all policies
3) get all the tape #;s that are under the control of the server being removed, and have them chang control to another media server.
a. run a script or command to get the tape numbers.: bpmedialist -mlist -l -h <oldmediaserver>
b. now change control to a new media server: bpmedia -movedb -ev <mediaid> -oldserver <oldmediaserver> -newserver <newmediaserver>
c. verify that no tapes are anylonger under control of the old media server.
4) Set up <newmdiaserver> to be able to do restores for any tapes that were moved. Add the following line to the bp.conf.
a. FORCE_RESTORE_MEDIA_SERVER= <oldserver> <newserver>
b. Add this line for each media server being removed.
5) place all tapes in standalone status.
6) For the server being taken out use the GUI to Delete:
a. The Tape Drives
i. Go to Media and Device management
ii. Devices
v. remove the drives for that media servers
b. Remove the storage units that reference the server(s) being taken out.
7) Power down everything, media, master and robot and make your cabling changes
or just out the zoneing for the media server from the san.
8) Bring up everything
10) Change any policies that referenced the old storage units to use the new storage units
11) Change the server name in the bp.conf or vm.conf of media, master and client properties
a. go to the list of hosts
b. you can highlight all of them and right click for properties (wait for it 5 yo 6 mins)
c. do a remove from all lists of the old server names
d. do a add to all lists of the new server name.
e. Say ok (wait for it 5 to 6 mins) handle by hand any that gave errors
11) Change the list of files the catalog backs up.
f. Remove reference to old servers.
g. Add the files for the new server.
12) Activate one policy that uses a new storage unit and do a test backup to make sure it uses the new server
13) Activate all the policies and we should be good.