CISCO ACS- All about Purging Logs

@@@@WHAT IS PURGING?
  The Monitoring & Report Viewer database handles large volumes of data.
  When the database size becomes too large, it slows down all the processes. to efficiently manage data and
to make good use of the disk space,
you must back up your data regularly and purge unwanted data that uses up necessary disk space.
 Purging data deletes it from the database.

Database Purge Limits:
Maximum Allowed Disk size: 139.03 GB
Lower Limit: 83.42 GB
Upper Limit: 111.22 GB


Database Purging:
If database size exceeds lower limit, backup will be taken (if configured) and purge will be initiated.
If database size exceeds upper limit , a purge will be initiated even though backup failed
If database size exceeds max limit, ACS services will be stopped and ACS View database will be compressed.

 The Monitoring & Report Viewer database handles large volumes of data.
  When the database size becomes too large, it slows down all the processes.
To efficiently manage data and To make good use of the disk space,
you must back up your data regularly and purge unwanted data that uses up necessary disk space.
Purging data deletes it from the database. 

acsview-db-compress====to reduce physical size
Use the acsview-db-compress command to compress the ACS View database file size.
This command compresses the ACS View database by rebuilding each table in the database and
releasing the unused space. As a result,
 For example after purge
actual db size =100 GB
physical db size=160GB, now view db compress to take place this requires 100GB  free space is /opt
generally viewdbcompress happens when diff between actual and physical size of the db ( > 50 GB)(160-100=60)

@@@@@@This operation stops all services and takes time depending on the size of the database 
@@@@@@This operation requires some space in /opt   minimum it requires actual size of db
 acsview replace-cleandb
Use the acsview replace-cleandb command to clean up the information in the ACS view database.
This command removes all data from the ACS view database.
That is, this command replaces the current database with a fresh view database. 

REASON WHY DATABASE SIZE INCREASE:
clearing /opt
+acsview51.db and acsview.log

Do not clear /opt if it is >30%
/opt also contains:-debug logs, local store logs, session database and lots of other files
hence it might also go 45%>>which is normal

Actual size: This is the size of logs inside the acsview51.db file.
Physical size: This is the size of acsview51.db file on the hard disk.

+we already know when it reaches
+lower limit 80GB=it takes backup, if backup is success then only purge is done
+upper limit 110GB =even if backup fails, it does purge

for example if backup fails, then also  /opt size will be in between 80Gb to 110GB

RCA:-
+find out which logs is taking more space for /opt
+acs is tested with  2 GB of logs per day.if it is higher than that then it might create problems


before clearing /opt try below
+Retart services,reload



1 Response to "CISCO ACS- All about Purging Logs"

  1. Anonymous says:

    Network Security Blog: Cisco Acs- All About Purging Logs >>>>> Download Now

    >>>>> Download Full

    Network Security Blog: Cisco Acs- All About Purging Logs >>>>> Download LINK

    >>>>> Download Now

    Network Security Blog: Cisco Acs- All About Purging Logs >>>>> Download Full

    >>>>> Download LINK

Post a Comment

Powered by Blogger