Marianne
13 years agoLevel 6
Image Cleanup status 37
Master: Linux RHEL
Media servers: Mix of various OS's
NBU version: 7.5.0.3 on master and all media servers
This is an 'inherited' environment and nobody knows anything about media09_bck.
How media server was removed with valid images in the catalog is a mystery.
Image cleanup fails with following details:
08/02/2012 15:03:42 - Info nbdelete (pid=6628) deleting expired images. Media Server: media09_bck Media: /dd/09 08/02/2012 15:03:42 - Error nbdelete (pid=6628) Fragments were not removed. Server media09_bck is invalid (37 ) 08/02/2012 15:03:43 - Info nbdelete (pid=6628) deleting expired images. Media Server: media09_bck Media: /dd_co/09_dd 08/02/2012 15:03:43 - Error nbdelete (pid=6628) Fragments were not removed. Server media09_bck is invalid (37 )
nbemmcmd -listhosts NBEMMCMD, Version: 7.5.0.3 The following hosts were found: server master master master media media02 media media01 media media04 foreign_media media09_bck media media03 Command completed successfully.
nbemmcmd -deletehost -machinename media09_bck -machinetype foreign_media NBEMMCMD, Version: 7.5.0.3 The function returned the following failure status: the media is allocated for use (199) Command did not complete successfully.
Unable to find evidence of allocated media:
nbrbutil -dump
MDS allocations in EMM: MdsAllocation: allocationKey=25267 jobType=1 mediaKey=0 mediaId= driveKey=0 driveName= drivePath= stuName=media01_disk_backup2 masterServerName=master mediaServerName=media01 ndmpTapeServerName= diskVolumeKey=60 mountKey=109 linkKey=0 fatPipeKey=0 scsiResType=0 serverStateFlags=0 MdsAllocation: allocationKey=25268 jobType=1 mediaKey=0 mediaId= driveKey=0 driveName= drivePath= stuName=media01_disk_backup3 masterServerName=master mediaServerName=media01 ndmpTapeServerName= diskVolumeKey=71 mountKey=120 linkKey=0 fatPipeKey=0 scsiResType=0 serverStateFlags=0
nbdecommission fails with :
unable to obtain machine record for media09_bck, machine type media server
Please help!
How do we get rid of this 'ghost' media server?
This happens because the images you have imported EMM has been inherited from this server.
Try # bpimage - newserver <> -oldserver <>
then try to delete the server
nbemmcmd -deletehost -machinename media09_bck -machinetype foreign_media