13 WebLogic Server Persistent Stores

This chapter describes how to monitor and configure persistent stores created for this domain. A persistent store is a physical repository for storing subsystem data.

The WebLogic persistent store provides a built-in, high-performance storage solution for WebLogic Server subsystems and services that require persistence. For example, it can store persistent JMS messages or temporarily store messages sent using the Store-and-Forward feature. The persistent store supports persistence to a file-based store or to a JDBC-accessible store in a database. For more information, see "Using the WebLogic Persistent Store" in Administering the WebLogic Persistent Store.

This chapter includes the following sections:

Create persistent stores

This section describes how to create new persistent stores. It includes the following tasks:

Create a JDBC store

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

    The Persistent Stores table displays information about all the persistent stores configured in this domain.

  2. Click New, then select JDBC Store.

  3. Define the configuration options for your JDBC store on each of the following pages:

  4. Click Create.

General Settings

On the General Settings page, define the general configuration settings for your new JDBC store:

  • Name: enter a name for the JDBC store.

  • Scope: specify the scope in which you would like this new persistent store to be created.

  • Data Source: select a data source or click Create a New Data Source to create a new data source for this JDBC store. For more information on creating data sources, see Create JDBC data sources.

  • Prefix Name: specify a prefix name to prepend to the table name in this JDBC store for use with multiple instance

For more information on these fields, see Configuration Options.

Targets

On the Targets page, select the server instances and clusters on which you want to deploy the JDBC store.

For more information, see Configuration Options.

Review

On the Review page, review the configuration for this JDBC store.

For more information, see Configuration Options.

Create a file store

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

    The Persistent Stores table displays information about all the persistent stores configured in this domain.

  2. Click New, then select File Store.

  3. Define the configuration options for your file store on each of the following pages:

  4. Click Create.

General Settings

On the General Settings page, define the general configuration settings for your new file store:

  • Name: enter a name for the file store.

  • Scope: specify the scope in which you would like this new persistent store to be created.

  • Directory: enter the pathname to the directory on the file system where the file store is kept. This directory must exist on your system, so be sure to create it before completing this page.

For more information on these fields, see Configuration Options.

Targets

On the Targets page, select the server instances and clusters on which you want to deploy the file store.

For more information, see Configuration Options.

Review

On the Review page, review the configuration for this file store.

For more information, see Configuration Options.

Create a replicated store

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

    The Persistent Stores table displays information about all the persistent stores configured in this domain.

  2. Click New, then select Replicated Store.

  3. Define the configuration options for your file store on each of the following pages:

  4. Click Create.

General Settings

On the General Settings page, define the general configuration settings for your new replicated store:

  • Name: enter a name for the replicated store.

  • Directory: enter the pathname to the directory on the file system where the replicated store is kept. This directory must exist on your system, so be sure to create it before completing this page.

For more information on these fields, see Configuration Options.

Targets

On the Targets page, select the server instances and clusters on which you want to deploy the file store.

For more information, see Configuration Options.

Review

On the Review page, review the configuration for this replicated store.

For more information, see Configuration Options.

Monitor persistent stores

To monitor all persistent stores created for the current domain:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

    The Persistent Store table displays information about the persistent stores that have been created for the current domain, such as:

    • Name

    • Type

    • Scope

    • Resource Group/Template

    • Domain Partition

    • Target

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  2. In the table, select the name of the persistent store for which you want to view configuration information.

Monitor server persistent stores

To monitor all persistent stores created for a specific server instance:

  1. From the WebLogic Domain dropdown menu, select Environment, then select Servers.

    The Servers table displays information about the Administration Server and any Managed Servers that have been configured in the current domain.

  2. In the Servers table, select the name of the server instance for which you want to monitor persistent stores.

  3. From the WebLogic Server dropdown menu, select Other Services, then select Persistent Stores.

    The Persistent Store table displays information about the persistent stores that have been created for the current server instance, such as:

    • Name

    • Type

    • Target

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. In the table, select the name of the persistent store for which you want to view configuration information.

Monitor cluster persistent stores

To monitor all persistent stores created for a specific cluster:

  1. From the WebLogic Domain dropdown menu, select Environment, then select Clusters.

    The Clusters table displays information about the clusters that have been configured in the current domain.

  2. In the Clusters table, select the name of the cluster for which you want to monitor persistent stores.

  3. From the WebLogic Cluster dropdown menu, select Other Services, then select Persistent Stores.

    The Persistent Store table displays information about the persistent stores that have been created for the current cluster, such as:

    • Name

    • Type

    • Target

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. In the table, select the name of the persistent store for which you want to view configuration information.

Monitor and configure file stores

A file store is a file-based repository for storing subsystem data, such as persistent JMS messages or durable subscriber information.

This section includes the following tasks:

Monitor a file store

To monitor a specific persistent file store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the file store you want to monitor.

  3. Select Monitoring, then select Statistics.

    The Statistics table displays runtime statistics for this persistent file store, such as:

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Physical Write Count

    • Allocated Window Buffer Bytes

    • Allocated IO Buffer Bytes

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. Select Monitoring, then select Connections.

    The Connections table displays runtime statistics for all active file store connections, such as:

    • Name

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Object Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

Configure a file store

To configure a specific file store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the file store you want to configure.

  3. Select Configuration.

    From the Configuration page, you can define configuration settings for this file store, such as:

    • Name

    • Directory

    • Synchronous Write Policy

    • Cache Directory

    Optionally, expand Advanced to define advanced settings for this cluster.

    For more information about these fields, see Configuration Options.

  4. Click Apply.

Select file store targets

To select the targets on which you want to deploy a specific file store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the file store you want to configure.

  3. Select Targets.

    On the Targets page, select the server instance or migratable target on which you want to deploy this file store.

    For more information, see Configuration Options.

  4. Click Apply.

Create file store notes

To create notes for a file store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the file store you want to configure.

  3. Select Notes.

  4. On the Notes page, enter your notes.

    For more information, see Configuration Options.

  5. Click Save.

Monitor and configure JDBC stores

A JDBC store is a JDBC-accessible database for storing subsystem data, such as persistent JMS messages and durable subscriber information.

This section includes the following tasks:

Monitor a JDBC store

To monitor a specific JDBC store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the JDBC store you want to monitor.

  3. Select Monitoring, then select Statistics.

    The Statistics table displays runtime statistics for this JDBC store, such as:

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Physical Write Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. Select Monitoring, then select Connections.

    The Connections table displays runtime statistics for all active JDBC store connections, such as:

    • Name

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Object Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

Configure a JDBC store

To configure a specific JDBC store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the JDBC store you want to configure.

  3. Select Configuration.

    From the Configuration page, you can define configuration settings for this JDBC store, such as:

    • Name

    • Scope

    • Data Source

    • Prefix Name

    Optionally, expand Advanced to define advanced settings for this cluster.

    For more information about these fields, see Configuration Options.

  4. Click Apply.

Select JDBC store targets

To select the targets on which you want to deploy a specific JDBC store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the JDBC store you want to configure.

  3. Select Targets.

    On the Targets page, select the server instance or migratable target on which you want to deploy this JDBC store.

    For more information, see Configuration Options.

  4. Click Apply.

Create JDBC store notes

To create notes for a JDBC store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the JDBC store you want to configure.

  3. Select Notes.

  4. On the Notes page, enter your notes.

    For more information, see Configuration Options.

  5. Click Save.

Monitor and configure replicated stores

A replicated store is an in-memory based repository for storing subsystem data, such as persistent JMS messages or durable subscriber information.

This section includes the following tasks:

Monitor a replicated store

To monitor a specific replicated store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the replicated store you want to monitor.

  3. Select Monitoring, then select Statistics.

    The Statistics table displays runtime statistics for this replicated store, such as:

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Physical Write Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. Select Monitoring, then select Connections.

    The Connections table displays runtime statistics for all active replicated store connections, such as:

    • Name

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Object Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

Select replicated store targets

To select the targets on which you want to deploy a specific replicated store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the replicated store you want to configure.

  3. Select Targets.

    On the Targets page, select the server instance or migratable target on which you want to deploy this replicated store.

    For more information, see Configuration Options.

  4. Click Apply.

Create replicated store notes

To create notes for a replicated store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the replicated store you want to configure.

  3. Select Notes.

  4. On the Notes page, enter your notes.

    For more information, see Configuration Options.

  5. Click Save.

Monitor and configure default stores

This section describes how to monitor and configure default stores, both static and dynamic. This section includes the following tasks:

Monitor a static default store

To view monitoring information for a specific static default store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the static default store you want to monitor.

  3. Select Monitoring, then select Statistics.

    The Statistics table displays runtime statistics for this static default store, such as:

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Physical Write Count

    • Allocated Window Buffer Bytes

    • Allocated IO Buffer Bytes

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. Select Monitoring, then select Connections.

    The Connections table displays runtime statistics for all active default store connections, such as:

    • Name

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Object Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

Configure a static default store

To configure a specific static default store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the static default store you want to configure.

  3. Select Configuration.

    From the Configuration page, you can define configuration settings for this static default store, such as:

    • Name

    • Scope

    • Directory

    • Synchronous Write Policy

    • Cache Directory

    Optionally, expand Advanced to define advanced settings for this cluster.

    For more information about these fields, see Configuration Options.

  4. Click Apply.

Create static default store notes

To create notes for a file store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the static default store you want to create notes for.

  3. Select Notes.

  4. On the Notes page, enter your notes.

    For more information, see Configuration Options.

  5. Click Save.

Monitor a dynamic default store

To view monitoring information for a specific dynamic default store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the dynamic default store you want to monitor.

  3. Select Monitoring, then select Statistics.

    The Statistics table displays runtime statistics for this dynamic default store, such as:

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Physical Write Count

    • Allocated Window Buffer Bytes

    • Allocated IO Buffer Bytes

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

  4. Select Monitoring, then select Connections.

    The Connections table displays runtime statistics for all active default store connections, such as:

    • Name

    • Create Count

    • Read Count

    • Update Count

    • Delete Count

    • Object Count

    For more information about these fields, see Configuration Options.

    Optionally, select View to access the following table options:

    • Columns: add or remove the columns displayed in the table

    • Detach: detach the table (viewing option)

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

    • Query by Example

Configure a dynamic default store

To configure a specific dynamic default store:

  1. From the WebLogic Domain dropdown menu, select Other Services, then select Persistent Stores.

  2. In the Persistent Store table, select the name of the dynamic default store you want to monitor.

  3. Select Configuration.

    To view or change this dynamic default store configuration, click Server Template.

    For more information on configuring server templates, see "Configure server templates".