Skip to main content

Software  >  Information Management  >  DB2 Product Family  >  

How do I modify the location of the db2audit file output?

 Technote (FAQ)
 
Problem

Problem #1:
The db2audit.log file gets very large and fills the file system. Is there any workaround which allows me to store the file in a different location?

Problem #2:
When using the db2audit command with the 'extract delasc' option, the resulting output is written to the instance owner's home directory. Given the large amount of information contained in the output audit file, the instance owner's home directory fills up. Is there any workaround which allows me to store the file in a different location?
 
Cause
The db2audit file grows very large.
 
Solution
Solution for problem #1:

You can create a symbolic link from db2audit.log in the security directory to a db2audit.log file in another directory or filesystem. By doing so, this will allow the security directory to reside on a large filesystem outside of the instance owner's home directory.

Solution for problem #2:
Workarounds are:
1. Extract each category one at a time, and then move the output file in another file system.
2. Perfrom an audit extract more frequently so that the output file is much smaller. Then copy the audit output file to another file system.

 
 
 

Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.
This material provides me with the information I need.




This material is clear and easy to understand.




Did the information help you to achieve your goal?
What updates, improvements, or related information would you like to see in this document?
Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.
Input the verification number to submit feedback:
Document information
 Product categories:
 Software
 Data Management
 Data Servers (Database Management Systems)
 DB2 for Linux, UNIX and Windows
 Monitor - DB2 Governor
 Operating system(s):
  AIX
 Software version:
  7, 8
 Software edition:
  Enterprise Server
 Reference #:
  1145643
 IBM Group:
 Software Group
 Modified date:
 2006-10-23

Translate My Page
 
 

Rate this page

Help us improve this page. Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.