spulipati
12 years agoLevel 3
unable to delete media server from EMM DB
Hi All,
I am trying to decommission a media server, for which i used nbdecommission command but failed. Later i tried removing the host manually. Below is the error.
I do not see any STU/STUG/SLP/media/drives/robots assigned/configured to this media server.
Master server is at 7.5.0.3
Media server is at 7.1.0.4
# vmglob -listall -b | grep -i mediaserver
#
# bpmedialist -mlist -h mediaserver
#
nbemmcmd -deletehost -machinename mediaserver -machinetype 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.
Looking for somehelp in regards to this issues. Please let me know any logs needed to analyze the issue.
Thanks in advance.
- Finally I was able to delete the media server from configuration. Symantec support suggested to increase the logging and asked to retry the nbdecommission command to capture the logs. But fortunately/unfortunately this time nbdecommission command exited successfully and couldn't find root cause :( Following are the instructions/steps suggested by Symantec engineer. 1) Verify that the following logs are in place: /usr/openv/nebackup/logs/admin -> if the admin directory does not exist create it. /usr/openv/logs/nbemm -> if the nbemm directory does not exist create it. 2) Then open putty session to themaster server and cd to the /usr/openv/netbackup/bin and enter this command: vxlogcfg -a --prodid 51216 -o all -s DebugLevel=6 -s DiagnosticLevel=6 3) Ensure that legacy logging is turned up on master server: - Open the Netbackup Administration GUI. - Go to the host properties of master\media server. - Select the logging tab. - Uncheck robust logging and set global logging value to 5. - stop\start the NetBackup daemons\services. 4) At this point try to delete the media server from EMM or use the nbdecommission utility to decommission the media server.