Active IQ Unified Manager Discussions

Purge history in Operations Manager

jason_loomans
5,952 Views

Hi,

What options exist in Operations Manager to purge history in the database that is older than a set time limit, for example six months?  I have found an option for the events purge interval, but it is unclear if this also purges other data in the database.

Thanks!

Jason

9 REPLIES 9

rbalaji
5,952 Views

Hi Jason,

The option 'eventsPurgeInterval' allows to delete only the history events in DFM. This is the interval after  which event will be automatically deleted from DFM database. This does not purge other data in the database.

Apart from this you can also purge PA data. You can use the 'dfm perf data modify' CLI to change the retention period for performance data collected by PA.

I hope this answers your question. If not, what other specific data are you looking to purge apart from the above mentioned ?

jason_loomans
5,952 Views

This is helpful.  I'll test when I get a chance.   Thanks.

smoot
5,952 Views

If you're wondering about the historical data we use for graphs (i.e. the volume fullness graphs), I don't think there is any way to purge that.  It tends not to grow very fast after the first year -- is it a problem?

rranga
5,952 Views

Hi,

You can use the CLI "purgehistory" for this purpose.  It can purge the history in time/value range.  It is available in DFM 3.8 onwards.

* Ranganatha

jason_loomans
5,952 Views

The idea was to purge all stats, including those that generate graphs after a set time to keep the database size from getting out of hand.

Currently running DFM version 3.7.1.

adaikkap
5,952 Views

Are you talking about the dfm db or the perf dir size ?

Becasue when you create db backups the size shown is including the perf dir.

Regards

adai

modugu
5,952 Views

Is there any hidden command to delete all perf data for a filer ?

I used , dfm host delete -f hostid

This does not delete perf data

harish
5,952 Views

There is no hidden command to delete all perf data for a filer. Can you

please submit a

burt for this issue? Ideally, "dfm host delete -f" should delete all

perf files.

Regards

Harish

modugu
5,952 Views

It looks like it deleted from this command to view data from perfdata

C:\>dfm perf data list filer1

Error: Could not list counter groups.

Reason: There is no host named 'filer1'.

C:\>dfm perf data list filer1.nylab.demo.com

Error: Could not list counter groups.

Reason: There is no host named 'filer1.nylab.demo.com'.

I was expecting to see more free  space  in perfdata folder files ,

Public