2011-07-26 04:13 AM - edited 2015-12-18 12:44 AM
I'm still playing around with SC. Till now I'm able to get DB2 snaps. That's really nice. But although I have configured Snapshots Deletion with Yes, hourly retention with 3 and policy retention age with 1 all created snaps done using sdcli are still there. I assumed that only 3 per day should be listed with the previous mention configuration.
Here the specific line from the conf file
What's going wrong here?
Solved! SEE THE SOLUTION
2011-07-26 04:32 AM
This is a small GUI bug, the tool tip and message in GUI is wrong or another way to say it doesnt update the parameter correctly it does opposite of what you think. This will be fixed in next release for sure!
Please in GUI set snapshot deletion to N this in turns sets NTAP_SNAPSHOT_NODELETE=N. Basically the parameter is a negatation, meaning you enable it to not delete snapshots.
I know a bit confusion but this is simple to deal with when you know what to look for. By default it is set correctly just people go in and change it because again GUI isnt explaining parameter correctly.
You want NTAP_SNAPSHOT_NODELETE=N then SC will delete snaps
2011-07-28 01:21 AM
Well you have this NTAP_SNAPSHOT_RETENTION_AGE=1 that means snapshots that are less than one day old wont be deleted even if you have more than 3 snapshots. Why dont you set following, snapshots should then delete
2011-07-28 01:22 AM
Another Idea, just use GUI and click next without changing anything
Dont set NTAP_SNAPSHOT_RETENTION_AGE unless you dont want snaps to be deleted that arent older than days specified here
2011-09-12 11:10 PM
Hi Keith or anybody else
Long time ago ;-)
I still have problems that snap will get deleted.
I want only 2 snaps available which are created with the houry policy. In a later step the daily policy will be used and then only 7 snaps should be available.
For the hourly I've configured the following
Can you support me to get both configurations done correctly?
Thanks a lot
2011-09-13 01:22 AM
Just specify another policy like daily with 7. Then when you run --policy hourly there will be two snapshots and --policy daily 7.
2011-09-13 03:28 AM
Ok Keith, I configured now like said before but Snaps got still not deleted.
When I run job with debug I can see following in the Snapshot Rename section
In the SnapShot delete section only this is listed. And expected that here the deleted snaps should be listed
Any other ideas what I can check to get it done?