IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Administrator's Guide > Edit your environment configuration settings > Tivoli Enterprise Portal Server configuration settings
IBM Tivoli Monitoring, Version 6.3 Fix Pack 2
Prune events on the portal server database
Event information is stored in the KFW tables in the Tivoli Enterprise Portal Server (TEPS) database. Because this information can grow in the amount of space it consumes, it is automatically pruned.
By default, closed events are removed from the TEPS database one day after they are closed, within the hours of 12:00 AM and 4:00 AM on the local portal server. You can control the pruning of this data by changing the following environment variables in the Tivoli Enterprise Portal Server configuration file.
Procedure
- Open the Tivoli Enterprise Portal Server environment file for editing:
- In Manage Tivoli Monitoring Services, right-click Tivoli Enterprise Portal Server and click Advanced → Edit ENV File.
- Change to the install_dir/config directory and open cq.ini in a text editor.
- Locate and edit the TEPS database event pruning parameters as needed:
- KFW_EVENT_RETENTION=0 is the number of days to keep a closed event. For example, to prune an event 2 days after it is closed, specify 2.
- KFW_PRUNE_START=00:00 is the time of day to start pruning data, in 24-hour notation. For example, to begin pruning data at 11:00 PM, specify 23:00.
- KFW_PRUNE_END=04:00 is the time of day to stop pruning data, specified in 24-hour notation. For example, to end pruning data at 1:00 AM, specify 01:00.
- Save and close the environment file.
- Click Yes when a message asks if you want to recycle the service; or click No if you prefer to have your changes take effect later by recycling the portal server.
Parent topic:
Tivoli Enterprise Portal Server configuration settings