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

Article: 100030013
Last Published: 2008-01-20
Ratings: 0 0
Product(s): NetBackup & Alta Data Protection

Problem

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

Error Message

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

Solution

Overview:
In an environment with multiple networkinterfaces and multiple hostnames per server, status code 800 can be reportedwhen the hostname as resolved by NetBackup is not a name listed in the EMMmachinename database.

Log Files:
The detailed status of the jobin the Activity Monitor may show entries similar to thefollowing:
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 - Errorbptm (pid=16448) The following files/folders were notrestored:
12/17/2007 11:18:29 - Errorbptm (pid=16448) UTF - /C/ProgramFiles/VERITAS/Patch/History.Log
12/17/200711:17:58 - restored from imageclient1-be_1197547235;
restore time:0:00:07
12/17/2007 11:17:59 - Warningbprd (pid=10976) Restore must be resumed prior to first image expiration on Thu27 Dec 2007 07:00:35 AMEST
12/17/2007 11:17:59 - endRestore; elapsed time0:00:44
12/17/2007 11:17:54 -requesting resource AG0044
12/17/200711:17:54 - Error nbjm (pid=8616) NBU status: 800, EMM status: The host is notdefined in EMM
12/17/2007 11:17:54 -Error nbjm (pid=8616) NBU status: 800, EMM status: The host is not defined inEMM
the restore failed to recover therequested files (5)

Similarly, the bptm log mayshow:
12:50:28.513 [17324] <2>RequestMultipleResources: setting up callback and callingrequestResources
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, Masternbumds04, returned error800
12:50:30.631 [17324] <2>set_job_details: LOG 1197913830 16 bptm 17324 NBJM returned an extended errorstatus: resource request failed(800)

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

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

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

UNIXServers:
/usr/openv/netbackup/bin/admincmd/nbemmcmd-listhosts

Exampleoutput:
NBEMMCMD, Version:6.0MP4(20060530)
The following hosts were found:
master      nbumds04
media      nbumds01-be
media      nbumds02-be
Command completedsuccessfully.

Resolution:
Since the media serverhas multiple hostnames, adding an alias to the EMM for the correspondinghostname will resolve the issue.

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

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

Resolution:
To add the missing hostname asan alias, issue the following command on the EMMServer:

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

In the example above, thecommand would take this form:

WindowsServers:
<install_path>\VERITAS\Netbackup\bin\admincmd\nbemmcmd-machinealias -addalias -alias nbumds02 -machinename nbumds02-be -machinetypemedia

UNIXServers:
/usr/openv/netbackup/bin/admincmd/nbemmcmd-machinealias -addalias -alias nbumds02 -machinename nbumds02-be -machinetypemedia

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

#nbemmcmd -machinealias -getaliases-machinename nbumds02-be -machinetypemedia
NBEMMCMD,Version:6.0MP4(20060530)
Thefollowing aliases were found for the alias:"nbumds02-be"
nbumds02-be
nbumds02
Commandcompleted successfully.



Was this content helpful?