You can use a command line interface to change the event database
bucket configuration.
Purpose
Displays or changes the event database bucket
configuration.
wsadmin -f eventbucket.jacl [-status]
[-change] [-serverName server_name]
Description
The eventbucket.jacl script displays
or changes the event database bucket configuration. Buckets are used by the
rapid purge utility to purge old event data from the event database. By running
this command, you can determine the current bucket configuration, or you can
swap the active and inactive buckets.
Note: If WebSphere security is enabled,
your user ID must be mapped to the eventAdministrator role to view or change
the event database bucket configuration.
Parameters
- -status
- Displays information about the current bucket configuration, including
the active bucket setting and the bucket check interval (the frequency with
which the data store plug-in checks to determine which bucket is active).
- -change
- Swaps the buckets so the active bucket becomes inactive and the inactive
bucket becomes active. The inactive bucket must be empty before you can use
this option.
- -serverName server_name
- The name of the application server where the EventServer application is
deployed. This argument is optional but should be specified when there are
multiple application servers running on the WebSphere node where the EventServer
application is deployed. Otherwise, the commands may fail because they cannot
locate the Common Event Infrastructure enterprise beans.
Examples
This example displays the current bucket
configuration:
wsadmin -f eventbucket.jacl -status
This
example swaps the active and inactive buckets:
wsadmin -f eventbucket.jacl -change