Hi All,
I need some help with removing a drive and host record from the EMM database of NetBackup 6.5.1. Hopefully someone will be able to help me out.
I can't remove a drive and media server neither by CLI nor by GUI.
My configuration is as follow:
NetBackup Master instance in a 2-Node Windows 2003 Cluster environment.
NetBackup Media instances - Solaris 9, 10 and Windows 2000.
The problem came in first when I installed a new Win2K media server with attached to it DLT 8000 drive via Compaq Modular Data Router. The device was detected just fine and I was able to configure it through NetBakcup GUI propperly by all "port", "bus", "target" and "lun" parameters, however I wasn't able to make any backups due to error messages regarding system ioctl problems. Most probably the configuration wouldn't work at all due to incompatibility reasons, but anyway I decided to decommision both the box and attached tape drive. When I tried removing the media server from NetBackup GUI, I received the following error message:
Unable to remove device host media_server from the Enterprise Media Manager Server master_server: global device database record not found(152).
So I tried removing the media server from CLI with the help of "nbemmcmd.exe -deletehost -machinetype media -machinename media_server" but I received another error message:
requested drive is already reserved (130)
Command did not complete successfully.
After looking more carefully at the situation I decided to try first removing the drive and its corresponding volume from EMM. The volume was deleted successfully, however now I'm stuck with the drive. Whenever I try to remove the drive I receive this message from GUI:
Error connecting to oprd on media_server: oprd returned abnormal status(96).
However if I try to remove the drive manually through CLI by initiating "tpconfig -delete -drive -asciiname drive_name", I'm getting this message:
Drive name drive_name does not exist
...which is strange because I can see the drive by its name within the NetBackup interface even after fully restarting the master server. I noticed another thing within the media server's application logs. Whenever the "NetBackup Device manager" service is started, I'm getting an alert with event ID 2753 which says:
ltid can not be started while resources are assigned to the host.
So now I'm really stuck. It's also strange that if the same service is started, I cannot rescan the host for new media devices, however if it's stopped then the rescan operation goes propperly and it redetects the attached hardware, respectively it updates the EMM database.
I also tried removing the server and the drive while the media server was turned off (thought this might be a sync related issue), but NetBackup just keeps rejecting the removal with:
Error connecting to oprd on media_server: cannot connect to vmd(70).
...for the drive and:
Unable to remove device host media_server from the Enterprise Media Manager Server master_server: global device database record not found(152).
...for the media server messages.
Any help will be appreciated very much.
Kind regards