Video Screencast Help

Cannot force master server to be the media used for replication

Created: 13 Mar 2013 • Updated: 22 Nov 2013 | 3 comments
Gdd's picture
This issue has been solved. See solution.

First, I duplicate a backup from a remote deduplicated storage unit (located on a media "mymedia1") to the master "mymaster1" - "mymaster1" is a NetBackup 5020 appliance. I use this master "mymaster1" as an alternate read media server when I duplicate this backup.

After, I replicate this backup from the first master "mymaster1" to another master "mymaster2" which is also a NetBackup 5020 appliance.

A  /usr/openv/netbackup/db/config/USE_BACKUP_MEDIA_SERVER_FOR_RESTORE have been created according to this technote:

However, the media used for this replication is not always the master "mymaster1"... it seems to be randomly chosen :

In this exemple : "mymedia1" is used by Netbackup instead of "mymaster1"...

4 mars 2013 22:42:54 - granted resource  MediaID=@aaaac;DiskVolume=PureDiskVolume;DiskPool=dp_disk_mymaster1;Path=PureDiskVolume;StorageServer=mymaster1;MediaServer=mymedia1

4 mars 2013 22:42:56 - Info bpdm (pid=7408) started

4 mars 2013 22:42:56 - started process bpdm (pid=7408)

4 mars 2013 22:43:06 - Info myclient (pid=7408) Using OpenStorage to replicate backup id myclient_1362432791, media id @aaaac, storage server mymaster1, disk volume PureDiskVolume

4 mars 2013 22:43:07 - Info myclient (pid=7408) Replicating images to target storage server mymaster2, disk volume PureDiskVolume

5 mars 2013 00:33:55 - Replicated backup id myclient_1362432791 successfully

Is there a way to force the media used for replication to be the master "mymaster1" ?

Operating Systems:

Comments 3 CommentsJump to latest comment

Dyneshia's picture

In addtion, this could be cuased if you are using 'alternate read server' In the SLP under duplication

When you use "alternate read server " when you restore any of the media servers that have credentials to the storage server will be used. media host override in the master server host properties should force it to use a specific media server or to restore from a specific media server use the bprestore command .

REF : - Using storage life cycle policies the specified media server for the duplication is not used for the restore. - Restores and duplications from OpenStorage backup need not use the same media server that wrote the backup

Dyneshia's picture


Did the above answer your question ?  If so, please do not forget to mark solution.