NetBackup 7.5 server upgrade might fail on Windows platform when the hostname is changed from an unqualified name to a fully qualified domain name.

Article:TECH181942  |  Created: 2012-02-22  |  Updated: 2012-02-23  |  Article URL http://www.symantec.com/docs/TECH181942
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution


Issue



Upgrade from NetBackup pre-7.5 to 7.5 fails when a server's hostname is changed from a short (unqualified) name to a fully qualified domain name (FQDN).


Error



NetBackup upgrade fails with an indication to look in the nbdb logs.

In the nbdb log (<installed-dir>\Veritas\NetBackup\logs\nbdb), messages similar to the following may be seen:

13:21:00.554 [5316.7560] <16> move_dbspaces: Error copying D:\VERITAS\\NetBackupDB\data\EMM_DATA.db to D:\VERITAS\NetBackupDB\staging\EMM_DATA.db, errno=13
13:21:00.554 [5316.7560] <16> rebuildDBifNecessary: Error making a copy of existing data dbspaces in D:\VERITAS\NetBackupDB\staging.
13:21:00.554 [5316.7560] <4> rebuildDBifNecessary: Can't make a copy of the existing database files.  Exiting upgrade.
13:21:00.554 [5316.7560] <4> rebuildDBifNecessary: Exiting. rc = 14
13:21:00.554 [5316.7560] <4> upgradedb: Exiting with rc = 14
13:21:00.554 [5316.7560] <4> create_nbdb: Exiting with rc = 14

Environment



This issue has been found on Windows platforms (both x86 and x64).


Cause



This error is seen only when the earlier NetBackup installation has given a short hostname for the server, while at upgrade time a fully qualified domain name (FQDN) is provided.

For example, suppose a server's hostname is mymachine (short name) with mymachine.example.com its FQDN name.

Upgrading from Registry entries Install time given name Upgrade status
Pre 7.5 Short name FQDN Fails
 
Pre 7.5 Short name Short name Works
Pre 7.5 FQDN FQDN Works
Pre 7.5 FQDN Short name Works

These registry keys contain the hostname:

HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config\Server: First server entry in space separated entries)

HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\VxDBMS\NB\SERVER_NAME: Entry starts with NB_servername


Solution



If the earlier installation was made using the short name, continue to use the short name during the upgrade.  Do not use the fully qualified domain name.

Note: Renaming a server is not supported except when performed by certified Symantec Consulting Partner.  More information about this process can be found in the Related Article linked below.





Article URL http://www.symantec.com/docs/TECH181942


Terms of use for this information are found in Legal Notices