Modifying file store configuration

Modifying file store configuration

After a file store has been created, you can, if required, modify file store attributes to suit your system needs. html

About this task

When you add a new bus member that uses a file store, you can choose either to accept the default settings for the file store or make changes to these settings, depending on your requirements. web

After the file store has been created, you can, if required, subsequently modify the log size, permanent store size or temporary store size settings directly through the administrative console. The new values take effect the next time that the messaging engine is started. express

The directory paths for the file store are fixed when the file store is created, and cannot subsequently be modified. You can create a new file store in a new location. To do this you remove the server or cluster as a bus member and then add it again choosing a new location for the file store. Any messages remaining in the original file store would be lost during this process. app

Note: The default configuration for a file store is intended to be sufficient when used in typical messaging workloads. To improve the performance or resilience of the log file, the permanent store file or the temporary store file, you can modify the file store attributes to control where these files are placed. For example, you can achieve better performance if you place these three file store files in a faster disk. Similarly, you can control the sizes of the log file, the permanent store file and the temporary store file to handle workloads with a large number of active transactions, large messages or a large volume of message data resident in the messaging engine.

Procedure

  1. To make changes to the log size, permanent store size or temporary store size, complete the following steps:
    1. Open the Administrative console.
    2. Click Service integration > Buses.
    3. On the new page, click on busname.
    4. On the right hand side select Messaging Engines
    5. On the new page, click messagingenginename.
    6. When a new page appears, click on Message store link under Additional Properties on the right hand pane.
    7. Make the changes that you require to the existing log size, permanent store size or temporary store settings, then click OK. For more information about configuring the properties, see File store [Settings].
    8. Save the changes to the master configuration by pressing Save on top of the page.
  2. To choose a new location for a file store, complete the following steps:
    1. To avoid losing messages on destinations that are localized on the file store, first ensure that no messages are left on the queues.
    2. Remove the server or cluster as a member of the bus.
    3. Add the server and cluster as a bus member again, choosing a new location for the file store.