where a Media Server is credentialed to another Media Server (for duplication purposes) but is NOT checked under "use these media servers" in Storage Unit definition...but Duplication and/or Restore still attempt to use it?
I have a remote MSDP that I had to credential to my prime Appliance so I could duplicate some backups to that remote site via SLP. And many of the local (to the Appliance) restore (and duplication) processes started trying to use that remote MSDP as their process Media Server despite it not being checked as a valid server under the Appliance Storage Unit definition.
I've seen this behavior since the Appliances were introduced and I'm wondering if it is finally addressed in 8.x or if I'm stuck with a manual process of add credentials, duplicate manually, remove credentials rather than the convenience of an SLP.
Unfortunately considered to be a 'feature'.
There used to be a TN explaining the 'feature' and how to force original media server to perform restore, but was for some reason removed/unpublished.
Fortunately @RamNagalla saved a copy of the TN before it was unpublished:
The 'feature' was described for OST storage, but seems to 'work' for MSDP with multiple credentials as well:
Restore and duplications from the OpenStorage disk option need not use the same media server that wrote the backup image. This is by design as NetBackup is trying to use the media server with the least load, in accordance with Media Server Load Balancing strategy.
Until I shut down the duplication to the remote sites I "fixed" restores by adding that Media Server to all the clients...ugly and slow but it worked.
Too bad there isn't one for _DUPLICATION ..that's where things really got nasty.
Just like "limit number of jobs" doesn't apply to SLPs, the code for "pick the Media Servers you want to use" is already in NetBackup...they just refuse to use it for certain functions.
I just stumbled upon this TN that may give you more ammunition if you should decide to log a support call:
This seems to be a VERY old TN (NBU 6.5.6 and 7.0.1) and says the following in the last sentence:
Work is in progress to improve the media server selection criteria for non-backup jobs.
Seems very little or nothing has changed in the meantime?
Thanks @Marianne. Since NetBackup is on it's way out of the company (we got bought out and they use something else as their manditory solution) and I'm also being rapidly phased out I'll have to forgo the support call. While I prefer to automate stuff, for now the workarounds and/or doing stuff manually is enough.
Well, it turns out that USE_BACKUP_MEDIA_SERVER_FOR_RESTORE doesn't affect duplication jobs in 7.7.3...
So...anyone know the command line util to add/remove Media Servers from a storage unit? I'm going to have to script/schedule the removal of the remote Media Server before certain duplication jobs kick in and then add the Media Server back before the SLP that writes to that remote Media Server is used.
We have a similar setup with SLP replicating between appliances (PureDisk), both Media Servers are credentialised for and in both Storage Units. Using USE_BACKUP_MEDIA_SERVER_FOR_RESTORE on each server and (!!!) using Alternate Read Server in SLP's Change Storage Operation for each Duplication op. We use the remore server as an alt one, but I think the orig one shoud work too.
Seems to do the trick...