Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do I migrate NetBackup media server to a new media server 2

Status
Not open for further replies.

jubei1972

MIS
May 16, 2007
12
US
Hi,
I've searched the forums for media server migration but couldn't find anything...only how to decommision a media server. I have a media server (non-master) that will be EOL'd soon. I already have another server ready to go but I haven't been able to find documentation/help on how to migrate to a new media server, keeping the master server as is. How's it done? Thx a million in advance.
 
The procedure is similar to the decommision of the media server.

You have to update the images and mediaDB for each media id used for backup by the media server in question.

Issue the command bpmedialist -h <media-server>. Then using this list issue the command bpmedia -moveDB -newserver <media-server> -m <media-id>

Note : The master server is usually a good choice if it has tape drives that of the same type.

This is a long process as NBU trolls through the imageDB for each media id updating the header files.

You then need to update the globDB, issue the command ../volmgr/bin/vmglob -listall -b, copy the hostname of the server you want to remove and issue the command vmglob -delete -devhost <device-host>

Then remove the storage unit, and the server entry from the server list of the master server.

NOTE : If this is NBU6.0 remove the tape drives and robot configuration for the host in question BEFORE turning off the server.
 
I forgot to mention that we use NB 5.1MP4. Currently the media server we're retiring has a scsi tape drive attached to it. We are EOL'ing both the tape drive and the server. The new media server will be fibered to a SAN that's zoned up to the StorageTek SL500 tape library. Would we still follow the same procedures as noted above?
 
Will the new media server have the same hostname as the decommissioned media server ?

If so then perform the following steps :
1. Issue the vmglob -delete -devhost <devhost> command on the master server to remove entries in the globDB ( global device configuration ) for the old media server configuration.

Note : You can add back the entries by issuing a ../volmgr/bin/tpautoconf -sync on the media server. If you need to.

2. Copy the ../netbackup/db/media/mediaDB file to the new server in the same location.

3. Then configure the new media servers device configuration.

4. Update the storage unit properties.

If it's a different hostname then perform the steps in the previous post. As it's essential that you keep the NBU images and media DB's consistent if you plan to upgrade to 6.0 later.

 
should I issue the bpmedialist command from the master server? I'm a little confused as to which server I should be inputting the commands for...
- bpmedialist -h <old media server> ?
- bpmedia -moveDB -newserver <new media server coming in> -m <media id> ?
I guess I could understand it better if I knew what each of these commands did.

Thanks a lot wileywombat. You've been very helpful :)
 
It doesn't matter where you input the commands from. It might be a bit faster if you run it directly from the Master as the imageDB is local.

bpmedialist -h <server you are decommissioning>
That command will give you the list of media id's that belong to the server you are going to decom.

Then run bpmedia -movedb -m <mediaid> -newserver <server you are moving it to>

HTH
 
would I still have to run bpmedialist and bpmedia -movedb if the old media server and new media server won't be using the same tape drive? I was thinking I would transfer the backup clients to the new media server, and leave the old media server up until its inventory of tapes ages out just in case I need to do a restore from it. After the tapes age out then I would just do a straight decommision without moving any tape db from old media server to new media server.
 
I'm back for the final decommission steps. My old server now has no policies running on it and the tapes have all aged out (21 day retention time). All the policies that ran on the old server (that used a scsi DLT tape drive) have been moved over to the new server that connected to a shared StorageTek SL500 tape library via a SAN switch. Do I still need to run bpmedia -movedb -m anymore? Or can I just do a straight decommission of the old server?

TIA.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top