First off thanks for my questions about backing up. Now to the next step!
The best way of removing archived logfiles.....
I know there are a few ways of doing this out there and I'm still trying to determine the best way to go.
--Brute force
--Let DB2 manage it through AUTO_DEL_REC_OBJ/REC_HIS_RETENTN
I've tested out using AUTO_DEL_REC_OBJ = ON and the PRUNE HISTORY command, but it's not deleting the logfiles associated with the history that is removed. I was under the impression this was the case. The only way I saw it happen was to go to into the history of the recent backup, note the beginning logfile and the explicitly PRUNE LOGFILE PRIOR TO....
Does DB2 effectively manage the archive logfiles? I've read that it did, but I'm not seeing it...
Also, any idea on how to replicate the deletion of the archive logfiles on the STANDBY server (within a HA cluster)? In order to use PRUNE you must be connected to the database, which is this case can't be done. Looks like the only alternative would be the brute force method: find . -name S*.log -mtime <n days> | xargs rm
Any suggestions?