cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1147
Views
0
Helpful
1
Replies

How do I decrease the size of these directories? RME purge?

dgrier
Community Member

Each time RME performs its collection, these directories are growing. Can I delete or purge this files. 1 million files and growing.

/var/adm/CSCOpx/files is 11.4 GB, and /var/adm/CSCOpx/log directory is 2.6 GB.

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

You can easily purge the /var/adm/CSCOpx/log directory using /opt/CSCOpx/bin/logrot.pl. Run logrot.pl -c to configure logfile rotation (add /var/adm/CSCOpx/log/* and that will add all log files).

As for the files subdirectory, this cannot be summarily purged. Yes, you should definitely configure configuration purging under RME > Admin > Config Mgmt > Purge Settings. You will also want to configure a reasonable Change Audit purge schedule for your organization under RME > Admin > ChangeAudit > Set Purge Policy. There is also a /var/adm/CSCOpx/files/rme/dcma/difffiles subdirectory (but DO NOT remove the difffiles directory itself). If you shutdown dmgtd, you can delete all the subdirectories under difffiles, and they will be recreated as needed.