Previous Page: Backing up the Audit Configuration  Next Page: Backing up Audit Data

Preventing Loss of Audit Data

The server protects audit files to prevent unauthorized users from accessing or deleting the files. However, hardware problems, software problems, or power failures can cause the loss of audit data records or entire audit data files.

  1. Individual audit records are maintained in the server's file system cache until the server writes the cache to disk. The server does not expedite the handling of audit data. The amount of audit data that can potentially be lost after a power failure is limited only by the size of the cache. To reduce the amount of audit data that can be lost, you can set the Dirty Disk Cache Delay Time to its minimum value (0.1 seconds). See SET in for more information.
  2. Container auditing uses the Transaction Tracking SystemTM (TTSTM) to ensure that each audit record is separately tracked. If the server crashes, your container audit files will be on a clean audit record boundary after the crash. Volume auditing does not use TTS, so a server crash could cause part of the audit file to be corrupted. Records added after the crash will still be accessible; however, there might be partial records in the middle of the file. In such a case, AUDITCON is generally able to find lost audit records.

WARNING:  Improper shutdown of the server is a potential cause of file corruption (including audit file corruption). Be sure to properly down the server, then exit from the server, before turning off the server's power.

In addition to audit loss that can be caused by hardware or software problems or loss of power to the machine, you can lose audit events if the configured number of audit files are filled or disk space fills up and the audit trail is improperly configured. The server provides the following three configuration options for handling audit overflow.

Audit Trail Overflow, Audit Trail Overflow, and Audit Trail Overflow provide more information on how to recover from audit overflow for volume, container, and external audit trails, respectively.

As the server approaches the configured file size limit for an audit file, it sends warnings to the server console. When the server detects a full condition in any audit file (volume, container, or external) and the selected option for that audit trail is to disallow audited/auditable events or to continue without auditing, it sends a warning to the server console and to any logged-in auditor of the audit trail.

At this point, the auditor must resolve the full condition by backing up and deleting old audit files (or ordinary files, if the situation was caused because the volume is full) and performing a manual archive, which causes the current audit file to become an old audit file, and starts a new current audit file.

WARNING:  When you see a message indicating that an audit trail is full, you should take immediate action to resolve the condition. Until you do, audit data will be lost (if the continue without auditing option is in use) or users will be unable to use the server (if the disallow audited/auditable events option is in use).



  Previous Page: Backing up the Audit Configuration  Next Page: Backing up Audit Data