GENERAL ERROR: NetBackup Restore failing with "NBU status: 800, EMM status: The host is not defined in EMM"

Article:TECH56270  |  Created: 2007-01-18  |  Updated: 2008-01-20  |  Article URL http://www.symantec.com/docs/TECH56270
Article Type
Technical Solution


Environment

Issue



GENERAL ERROR: NetBackup Restore failing with "NBU status: 800, EMM status: The host is not defined in EMM"

Error



Error nbjm (pid=####) NBU status: 800, EMM status: The host is not defined in EMM

Solution



Overview:
In an environment with multiple network interfaces and multiple hostnames per server, status code 800 can be reported when the hostname as resolved by NetBackup is not a name listed in the EMM machinename database.

Log Files:
The detailed status of the job in the Activity Monitor may show entries similar to the following:
12/17/2007 11:18:27 - Error bptm (pid=16447) NBJM returned an extended error status: resource request failed (800)
12/17/2007 11:18:28 - Error bptm (pid=16448) The following files/folders were not restored:
12/17/2007 11:18:29 - Error bptm (pid=16448) UTF - /C/Program Files/VERITAS/Patch/History.Log
12/17/2007 11:17:58 - restored from image client1-be_1197547235;
restore time: 0:00:07
12/17/2007 11:17:59 - Warning bprd (pid=10976) Restore must be resumed prior to first image expiration on Thu 27 Dec 2007 07:00:35 AM EST
12/17/2007 11:17:59 - end Restore; elapsed time 0:00:44
12/17/2007 11:17:54 - requesting resource AG0044
12/17/2007 11:17:54 - Error nbjm (pid=8616) NBU status: 800, EMM status: The host is not defined in EMM
12/17/2007 11:17:54 - Error nbjm (pid=8616) NBU status: 800, EMM status: The host is not defined in EMM
the restore failed to recover the requested files (5)

Similarly, the bptm log may show:
12:50:28.513 [17324] <2> RequestMultipleResources: setting up callback and calling requestResources
12:50:28.516 [17324] <2> logResourceReq: MediaSelect -
12:50:28.516 [17324] <2> logMediaRequest: mreq.mediaId : AG0044
12:50:28.516 [17324] <2> logMediaRequest: mreq.mediaServer : nbumds02

12:50:30.542 [17324] <2> packageMultiResourceRequestResult: retVal = 800
12:50:30.542 [17324] <16> RequestMultipleResources: MultiResReq.cpp:1435 resource request failed [800]
12:50:30.542 [17324] <2> RequestMultipleResources: retVal = 800 emmStatus = 2000000
12:50:30.542 [17324] <2> RequestMultipleResources: returning
12:50:30.542 [17324] <4> nbjm_media_request: Error from RequestMultipleResources, Master nbumds04, returned error 800
12:50:30.631 [17324] <2> set_job_details: LOG 1197913830 16 bptm 17324 NBJM returned an extended error status: resource request failed (800)

12:50:30.950 [17324] <16> nbjm_media_request: NBJM returned an extended error status: resource request failed (800)

Troubleshooting:
Run the following command to see what hostname is currently in the EMM:

Windows Servers:
<install_path>\VERITAS\NetBackup\bin\admincmd\nbemmcmd -listhosts

UNIX Servers:
/usr/openv/netbackup/bin/admincmd/nbemmcmd -listhosts

Example output:
NBEMMCMD, Version:6.0MP4(20060530)
The following hosts were found:
master      nbumds04
media       nbumds01-be
media       nbumds02-be
Command completed successfully.

Resolution:
Since the media server has multiple hostnames, adding an alias to the EMM for the corresponding hostname will resolve the issue.

Once you have identified what name is currently in the EMM, verify from the bptm log which name is being called:
12:50:28.516 [17324] <2> logMediaRequest: mreq.mediaServer : nbumds02

If the name above is not the name in the EMM, then add an Alias to the EMM.  In this example, the entry in the EMM is nbumds02-be.

Resolution:
To add the missing hostname as an alias, issue the following command on the EMM Server:

nbemmcmd -machinealias -addalias -alias <missing_hostname> -machinename <server_hostname> -machinetype <machine_type>

In the example above, the command would take this form:

Windows Servers:
<install_path>\VERITAS\Netbackup\bin\admincmd\nbemmcmd -machinealias -addalias -alias nbumds02 -machinename nbumds02-be -machinetype media

UNIX Servers:
/usr/openv/netbackup/bin/admincmd/nbemmcmd -machinealias -addalias -alias nbumds02 -machinename nbumds02-be -machinetype media

Use nbemmcmd -machinealias -getaliases -machinename <hostname> -machinetype <machinetype> command to confirm the new entry:

#nbemmcmd -machinealias -getaliases -machinename nbumds02-be -machinetype media
NBEMMCMD, Version:6.0MP4(20060530)
The following aliases were found for the alias: "nbumds02-be"
nbumds02-be
nbumds02
Command completed successfully.



Supplemental Materials

SourceError Code
Value5
Descriptionthe restore failed to recover the requested files

SourceError Code
Value800
Descriptionresource request failed


Legacy ID



295093


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


Terms of use for this information are found in Legal Notices