Smarts SAM: How do you create new audit and archive log files in Smarts SAM?
search cancel

Smarts SAM: How do you create new audit and archive log files in Smarts SAM?

book

Article ID: 303836

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - SMARTS

Resolution

How do you create new audit and archive log files in Smarts SAM?

See KB article https://support.emc.com/kb/304989
Smarts SAM: What is the difference between the DMT audit log and SAM audit file? How do I roll these logs

Versions earlier than Smarts SAM 7.2:
Both the audit and archive log files can be moved/renamed/deleted at any time, without having to stop the Smarts SAM or Smarts OI domain, and a new log file will be created automatically.

Smarts SAM 7.2 and later versions:
Smarts SAM and Smarts OI domains keep handles to the audit log (but not the archive log), and so the audit log can no longer can be manipulated while the domain is running. Smarts SAM 7.2 Patch 8 introduced the following command to enable rolling of the audit log in Smarts SAM 7.2 and later versions:

To roll the <SAM domain>.audit file 

dmctl -s <domain name> exec  roll_sam_auditlog


dmctl -s INCHARGE-SA exec roll_sam_auditlog

To roll the <SAM Domain>-audit.log 

dmctl -s <domain name> exec roll_audit_log


dmctl -s INCHARGE-SA exec roll_audit_log

To roll the .archive file 

dmctl -s <domain name> exec roll_sam_archivelog


dmctl -s INCHARGE-SA exec roll_sam_archivelog