idscfgauditdb
Use the idscfgauditdb command to create and configure the audit database that is required for audit reporting.
Description
The audit database is a DB2® database, where all the audit events from the audit log file of directory server instance are dumped. Use the idscfgauditdb command to create and configure the audit database. See Creating and configuring the audit database in the IBM® Security Directory Server documentation.
This utility uses the database schema file, sdsAuditDB.sql. Before you use this utility, you must make sure that the schema file is copied to the directory where this utility is located.
UNIX systems
Synopsis
idscfgauditdb [ [-c | -r | -e] [-u user_name] [-w passwd] [-p db2_path]
[-s service_port] [-t db_name] [-d] [-v] ] | -h | -?
Options
The idscfgauditdb command takes the following parameters.- -c
- Creates the DB2 instance and database.
- -u user_name
- Specifies the user name of the DB2 instance owner.
- -w passwd
- Specifies the password for the DB2 instance owner.
- -t db_name
- Specifies the name of DB2 database you want to create.
- -p db2_path
- Specifies the installation location of DB2.
- -s service_port
- Specifies the port at which the DB2 instance service must listen.
- -r
- Removes the DB2 database and instance.
- -e
- Indicates that the data from all DB2 tables in the database must be erased without dropping the tables.
- -d
- Runs in debug mode and shows the DB2 commands as they get executed.
- -v
- Shows verbose output.
- -h | -?
- Shows the usage.
Windows systems
Synopsis
idscfgauditdb.cmd [ [-c | -r | -e] [-u user_name] [-w passwd] [-l db_loc]
[-p db2_path] [-s service_port] [-t db_name] [-d] [-v] ] | -h | -?
Options
The idscfgauditdb.cmd command takes the following parameters.- -c
- Creates the DB2 instance and database.
- -u user_name
- Specifies the user name of the DB2 instance owner.
- -w passwd
- Specifies the password for the DB2 instance owner.
- -t db_name
- Specifies the name of DB2 database you want to create.
- -l db_loc
- Specifies the location to create the database.
- -p db2_path
- Specifies the installation location of DB2.
- -s service_port
- Specifies the port at which the DB2 instance service must listen.
- -r
- Removes the DB2 database and instance.
- -e
- Indicates that the data from all DB2 tables in the database must be erased without dropping the tables.
- -d
- Runs in debug mode and shows the DB2 commands as they get executed.
- -v
- Shows verbose output.
- -h | -?
- Shows the usage.