NBServerMigrator: Premigration report mentions warning "client mismatch found" on source primary server
Problem
Source primary server: Windows
Target Primary Server: Linux (BYO)/NBA/NBFS/Flex
NBServerMIgrator's premigration report reports a warning that case mismatch has been found on the source primary server.
This will impact the restores, post-migration on the target primary.
NOTE: When found on a Linux (BYO)/NBA/NBFS/Flex/UNIX Source Primary Server, the warning can generally be safely ignored. This is typically caused by multiple policies backing up the client in question using different variations on case usage for characters. No new inconsistency will be created during the migration process, and searching for images and restores will work the same after the migration as before.
Error Message
Example:Case mismatch found for clients -
Catalog :
nbuclientserver - nbuclientserver, NBUCLIENTSERVER
Backup Policy :
nbuclientserver - nbuclientserver, NBUCLIENTSERVER
Cause
In NetBackup configuration, more than one Backup policy is present for the same client, with the client name present in both upper case/lower case in different policies.
This works with Windows Primary Server as it is Case insensitive, However when migrating to any other Operating System, this might not work as the upper and lower case client names will be identified as two different clients.
Solution
1) Take the client server names from the premigration report.
Example:
as mentioned above, the client "nbuclientserver" has different cases in different policies:
nbuclientserver
NBUCLIENTSERVER
2) After migration, on the target primary server (before using BAR GUI) check which directory is present.
Example: ls -lrt /usr/openv/netbackup/db/images | grep -i nbuclientserver
3) Create a symlink for the "client name" which is not present.
Example:
ln -s /usr/openv/netbackup/db/images/nbuclientserver /usr/openv/netbackup/db/images/NBUCLIENTSERVER
4) Open BAR GUI in the NetBackup Java console and browse the images.
5) Perform the same steps for all the client servers reported in the premigration report.