Configuring Multiple Stores

This section describes the basic steps required to configure file-based stores and mstores.

For more information on database store configuration, see Database Stores. Settings for creating and configuring multiple stores are managed in the EMS server, and are transparent to clients. To configure the multiple stores feature, follow these steps:

Procedure

  1. Setup and configure stores in the stores.conf file.

    Stores are created and configured in the stores.conf file. Each store must have a unique name. The stores are configured through parameters.

    • File-based stores have two required parameters, type and file, which determine that the store is a file-based store, and set its location and filename. Optional parameters allow you to determine other settings, including how messages are written to the file, the minimum size of the file, and whether the EMS server attempts to truncate the file.
    • mstores also have two required parameters, type and file. Optional parameters configure the scan interval, during which expired and purged messages are removed. See Understanding mstore Intervals below for information about interval settings.
  2. Associate destinations with the configured stores.

    Messages are sent to different stores according to their destinations. Destinations are associated with specific stores with the store parameter in the topics.conf and queues.conf files.