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 Server 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. See Using the WebLogic Persistent Store in Administering the WebLogic Persistent Store.

Note:

If you are logged into a domain partition, navigate from the Domain Partition menu.

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 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 Create, 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.

See Configuration Options.

High Availability

On the High Availability page, define the high availability settings for your new JDBC store:

  • Distribution Policy: specify if the file store is a singleton or is distributed.

  • Migration Policy: specify the migration policy to be used by the file store.

For more information on these fields, see Configuration Options.

Review

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

See Configuration Options.

Create a file store

  1. From the WebLogic Domain 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 Create, 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.

See Configuration Options.

High Availability

On the High Availability page, define the high availability settings for your new file store:

  • Distribution Policy: specify if the file store is a singleton or is distributed.

  • Migration Policy: specify the migration policy to be used by the file store.

For more information on these fields, see Configuration Options.

Review

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

See Configuration Options.

Monitor persistent stores

To monitor all persistent stores created for the current domain:

  1. From the WebLogic Domain 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 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 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 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 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 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 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. Click Configuration.
    1. Select General.

      From the General 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.

      Click Apply.

    2. Select High Availability.

      From the High Availability page, you can configure High Availability settings for this file store, such as:

      • Distribution Policy

      • Migration Policy

      • Initial Boot Delay Seconds

      • Failback Delay Seconds

      • Partial Cluster Stability Delay Seconds

      Note:

      The high availability settings are applicable for a store when it is:

      • Not targeted

      • Targeted to a cluster

      • Part of a resource group or resource group template

      The high availability settings are not applicable to a store when it is:

      • Targeted to a migratable target (requires configuring the restart-in-place settings on the migratable target instead)

      • Targeted directly to a server within a configured cluster (recommended targeting to a migratable target instead)

    3. Expand Restart Settings to define restart settings for this cluster, such as:

      • Restart In Place

      • Seconds Between Restarts

      • Number Of Restart Attempts

      Note:

      The restart settings are applicable for a store when it is:

      • Targeted to a cluster

      • Targeted to a single server, where the server is not part of a cluster

      • Not targeted

      • Targeted to a member of a resource group or resource group template

      The settings are not applicable to a store when it is:

      • Targeted to a migratable target (requires configuring the restart-in-place settings on the migratable target instead)

      • Targeted directly to a server within a configured cluster (recommended targeting to a migratable target instead)

    4. Click Apply.

    For more information about these fields, see Configuration Options.

Select file store targets

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

  1. From the WebLogic Domain 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.

    See Configuration Options.

  4. Click Apply.

Create file store notes

To create notes for a file store:

  1. From the WebLogic Domain 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.
  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 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 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. Click Configuration.
    1. Select General.

      From the General 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.

      Click Apply.

    2. Select High Availability.

      From the High Availability page, you can configure High Availability settings for this JDBC store, such as:

      • Distribution Policy

      • Migration Policy

      • Initial Boot Delay Seconds

      • Failback Delay Seconds

      • Partial Cluster Stability Delay Seconds

      Note:

      The high availability settings are applicable for a store when it is:

      • Not targeted

      • Targeted to a cluster

      • Part of a resource group or resource group template

      The high availability settings are not applicable to a store when it is:

      • Targeted to a migratable target (requires configuring the restart-in-place settings on the migratable target instead)

      • Targeted directly to a server within a configured cluster (recommended targeting to a migratable target instead)

    3. Expand Restart Settings to define restart settings for this cluster, such as:

      • Restart In Place

      • Seconds Between Restarts

      • Number Of Restart Attempts

      Note:

      The restart settings are applicable for a store when it is:

      • Targeted to a cluster

      • Targeted to a single server, where the server is not part of a cluster

      • Not targeted

      • Targeted to a member of a resource group or resource group template

      The settings are not applicable to a store when it is:

      • Targeted to a migratable target (requires configuring the restart-in-place settings on the migratable target instead)

      • Targeted directly to a server within a configured cluster (recommended targeting to a migratable target instead)

    4. Click Apply.

    For more information about these fields, see Configuration Options.

Select JDBC store targets

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

  1. From the WebLogic Domain 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.

    See Configuration Options.

  4. Click Apply.

Create JDBC store notes

To create notes for a JDBC store:

  1. From the WebLogic Domain 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.
  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 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

Configure a replicated store

To configure a specific replicated store:

  1. From the WebLogic Domain 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. Click Configuration.
    1. Select General.

      From the General page, you can define configuration settings for this replicated store, such as:

      • Name

      • Scope

      • Directory

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

      For more information about these fields, see Configuration Options.

      Click Apply.

Select replicated store targets

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

  1. From the WebLogic Domain 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.

    See Configuration Options.

  4. Click Apply.

Create replicated store notes

To create notes for a replicated store:

  1. From the WebLogic Domain 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.
  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 default store for configured server

To view monitoring information of a default store for configured server:

  1. From the WebLogic Domain 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 default store for configured server

To configure a specific default store for configured server:

  1. From the WebLogic Domain 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 of a default store for configured server, 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 default store notes

To create notes for a file store:

  1. From the WebLogic Domain menu, select Other Services, then select Persistent Stores.
  2. In the Persistent Store table, select the name of the default store you want to create notes for.
  3. Select Notes.
  4. On the Notes page, enter your notes.
  5. Click Save.

Monitor a default store for dynamic server

To view monitoring information of a default store for dynamic server:

  1. From the WebLogic Domain 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 default store for dynamic server

To configure a specific default store for dynamic server:

  1. From the WebLogic Domain 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 default store for dynamic server, click Server Template.

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