06-20-2012 07:57 AM
Hello,
I am using Veritas NetBackup version 6.5.5.
I have an image cleanup job that exits with a status of one in the activity monitor.
The job details show this:
Error nbdelete (pid=22555) Fragments were not removed. Server <server_name> is not available (228 )
Which is true, the server is no longer a part of our infrastructure.
My question is, how do I remove this server or job or what ever in order to get rid of the warning?
Thanks,
William
06-20-2012 08:07 AM
Try:
nbdelete -allvolumes -force
http://www.symantec.com/business/support/index?page=content&id=TECH66237
06-20-2012 01:55 PM
06-20-2012 01:56 PM
Wait. Your NB version is under 7.0. I gues you should better follow Andy`s thread/suggestion
06-21-2012 06:09 AM
What I really want to do is remove <server_name> from the job as it no longer exists.
Thanks for the replies,
William
06-21-2012 06:17 AM
Did you try running the nbdelete command?
Don't worry about the command it doesn't actually delete everything!
06-21-2012 08:25 AM
The issue may be images owned by old media server.
Use this command to move ALL volumes from old no longer existing media server, to new responsive media server...
bpmedia -movedb -allvolumes -newserver newservername -oldserver oldservername
06-21-2012 08:34 AM
No, I did no try the nbdelete command. I want the job to quit trying to access a server that doesn't exist.
06-21-2012 08:37 AM
Genericus,
That sounds closer to what I am looking for. I am assuming
bpmedia -movedb -allvolumes -newserver newservername -oldserver oldservername
should be run on the master server?
06-21-2012 08:40 AM
Run an All Log Entires report in the admin console
That will list, during the image cleanup the exact image ID's that it cannot delete
You can then do a bpexpdate -backupid XXXX -d 0 -copy X -force
to remove them from the catalog and sort this one for you
Do be careful to select the correct copy number just in case you have more than one copy (IE disk / tape)
You probably also need to do a:
bpimage -newserver existingserver -oldserver themissingone
to transfer ownership of all images owned by the old server to one that does exist
Hope this helps
06-21-2012 11:00 AM
Run the command on the master server, it only updates the EMM database and the image files.
The new command that decommisions media servers does all this automatically, I find it is well worth running when removing or replacing a media server.
Interestingly ( at least in my experience ) the -allvolumes runs lots faster than selecting the individual media ID if you are doing a bulk move.
08-27-2012 11:22 PM
Check if Media server <server_name> is still in your EMM database:
#nbemmcmd -listhosts -verbose
If it's still in place you have to decommission it first. Also check if there are any images in DB belong to this media-server:
#bpimagelist -server <server_name>