Wenn in Data Protector für einen StoreOnce Software Store Bänder ablaufen, so wird der dabei verwendete Plattenplatz erst wieder freigegeben, wenn die Bänder überschrieben werden oder diese gelöscht wurden. Das Housekeeping, welches im Hintergrund den Plattenplatz wieder freigibt, kann jedoch erst starten wenn das ursprünglich verwendete Medium in Data Protector nicht mehr eingebunden ist. Das Housekeeping benötigt Zeit, daher wird erst nach und nach der ursprünglich verwendete Plattenplatz wieder freigegeben. Den Task des Housekeepings kann man in DP momentan nicht steuern (vergleiche dazu Blackout Windows bei den StoreOnce Hardware Systemen), er sollte aber auch nicht während der normalen Backupzeit ausgeführt werden, da dies sonst die Datendurchsatzrate des Backups stören würde. Über die global Variable DeleteUnprotectedMediaFreq
kann zumindest gesteuert werden wann und wie oft am Tag die abgelaufenen Bänder gelöscht und damit das Housekeeping ausgelöst werden. Mit dem Befehl omnimm -delete_unprotected_media
(vollständige Syntax – siehe Hilfe zum Kommando) kann der Prozess auch manuell gesteuert werden.
Hi Daniel,
I was looking for solution to control this housekeeping process, with no luck. I would be glad to define days, and hours of this task.
The worst thing is that in ‚StoreOnce Dedup Whitepaper‘ there is information, that by default, housekeeping job is running at 00:00 (when global variable #DeleteUnprotectedMediaFreq=1) but in my environment it is running at 12:00. (HP DP 6.21 with latest patches, Windows 2008R2 Sp1).
„Automatic removal of unprotected B2D backup objects
This method does the same as the above but is performed automatically by Data Protector at
regular intervals. The interval can be configured in the global options file.
# DeleteUnprotectedMedia Freq=TimesPerDay
# default: 1
# limit: 1 <= DeleteUnprotectedMediaFreq <= 24
# If set to 1,operation is performed once per day (00:00),
# set to 2 two times per day (00:00,12:00), set to 3 three times
# per day (00:00, 08:00, 16:00), set to 4 four times per day
# (00:00, 06:00, 12:00, 18:00). If maximum (24) is specified,
# operation will be started on every hour."
I hope HP will release some kind of update to control this job.
omnimm -delete_unprotected_media would be great but a B2D device has to be configured to use it. It will not work if a VTL is being used… unless there’s something I’m missing.
Hi Robert,
with the option -all you can execute the command for all of your StoreOnce media. And yes, the command applies to StoreOnce media only, it cannot be used to delete the media for a VTL.
Best regards
Daniel
Also I think the variable DeleteUnprotectedMediaFreq only applies to media that has a protection of None, and not Expired. The challenge is how to automatically recycle expired media. I have not found out a way to do that yet. If you know something, please share!
Hi Robert,
can you please verify the described behaviour?
Best regards
Daniel
I had the same problem, and had to manualy „recycle“ media to change protection level to None.
That was corrected in hotfix QCCR2A36561,
Symptom(s):
===========
omnimm -delete_unprotected_media -all There are no unprotected
media to delete even with expired media.
That is also corrected in the latest patches to DP 6.21:
DPWIN_00632,00633,00634
You have your thoughts backwards. Catalyst media with protection status of „expired“ can be deleted with the CLI command „omnimm -delete_unprotected_media -all“.
Media with a protection status of „none“ are out of sync with your MMDB and must be manually removed.
NEVER export media from a Catalyst Store!! It leaves the slots and there is no way to delete them. Disk space usage issues still exist afterwards.
Hi Mark,
thanks for your additional comments.
Best regards
Daniel
Which patch included QCCR2A36561? Here’s what I have:
Patch level Patch description
===========================================
DPWIN_00623 Core Component
DPWIN_00624 Cell Manager Component
DPWIN_00626 Disk Agent
DPWIN_00627 Media Agent
DPWIN_00625 User Interface
DPWIN_00595(BDL701) Automatic Disaster Recovery Module
DPWIN_00631 English Documentation (Guides, Help)
Number of patches found: 7.
Or is it a separate download/request?
Hi Robert,
you have to have a look into the description files of the patches to search for the Hotfix. The description can be found on the download site for the patches or when executing the patch – directly on the first dialog which opens.
Best regards
Daniel
http://support.openview.hp.com/selfsolve/document/FID/DOCUMENTUM_QCCR2A36561
It is included in my patches, but I read from here too quickly and thought it addressed the DeleteUnprotectedMediaFreq variable, not the ‚omnimm -delete_unprotected_media -all‘ command. Unfortunately for me, both apply to B2D devices which I do not use.
We have no access to QCCR2A36561, can you tell is it safe to recycle expired media manually for SOS DP 6.21? Won’t be required data for not expired sessions deleted?
Hi Alexander, you will never manually remove media doe SOS. Not sure if it is available in your version, but with versions 7.01 HP implemented the command „omnimm -omnimm -delete_unprotected_media Library“ – available since the April updates.
Best regards
Daniel
Hi Alexander,
I’ve done this several times(manually recycle expired SOS media), and it was safe for me. Protection level changed to „none“, and all media with protection of „none“ were deleted automaticly.
But with current patches QCCR2A36561 is not needed anymore.