27 WebLogic Server Partition Work Managers

This chapter describes creating and configuring Partition Work Managers. Partition Work Managers provide fairness of thread usage and prioritization of work requests among partitions that share the same WebLogic Server instance. They define a set of policies that limit the usage of threads by Work Managers in partitions only. They do not apply to the domain.

You can define a Partition Work Manager in the domain to use with multiple domain partitions, or you can define Partition Work Manager attributes in the domain partition itself for use in that partition only. If no Partition Work Managers are defined, then the default values for Partition Work Manager settings are applied.

Note that Partition Work Managers defined at the domain level can be used in more than one domain partition. However, a domain partition can be associated with only one Partition Work Manager.

See Configuring Partition Work Managers in Using WebLogic Server MT.

Note:

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

This chapter includes the following sections:

Create Partition Work Managers

To define Partition Work Managers in the domain:

  1. From the WebLogic Domain menu, select Environment, then select Partition Work Managers.

    The Partition Work Managers table displays information about the Partition Work Managers that have been configured in the current domain.

  2. Click Create.

  3. Define the following properties for the Partition Work Manager:

    • In Name, enter a name for the Partition Work Manager.

    • In Fair Share Value, enter the desired percentage of thread usage for the partition compared to the thread usage of all partitions.

    • In Minimum Threads Constraint, enter the upper limit on the number of standby threads that can be created for satisfying minimum threads constraints configured in the partition.

    • In Maximum Threads Constraint, enter the maximum number of concurrent requests that the self-tuning thread pool can process for a partition at any given time.

    • In Shared Capacity Constraint, enter the total number of requests that can be present in the server for a partition as a percentage of the sharedCapacityForWorkManagers attribute value in the OverloadProtectionMBean.

    For more information about these fields, see Configuration Options.

  4. Click OK.

To define Partition Work Manager attributes in a domain partition for use in that partition only:

Before you begin:

Prior to defining Partition Work Manager attributes in a domain partition, you must have first created or imported a partition. See Create domain partitions.

  1. From the WebLogic Domain menu, select Environment, then select Domain Partitions.

    The Domain Partitions summary table displays information about the state of each domain partition that has been configured in the current WebLogic Server domain.

  2. Click on the name of the domain partition for which you want to define a partition-specific Partition Work Manager.
  3. From the Domain Partition menu, select Administration, then select Resource Sharing.
  4. Select Specify the Partition Work Manager settings directly for this domain partition.
  5. Define the following properties for the Partition Work Manager:
    • In Name, enter a name for the Partition Work Manager.

    • In Fair Share Value, enter the desired percentage of thread usage for the partition compared to the thread usage of all partitions.

    • In Minimum Threads Constraint, enter the upper limit on the number of standby threads that can be created for satisfying minimum threads constraints configured in the partition.

    • In Maximum Threads Constraint, enter the maximum number of concurrent requests that the self-tuning thread pool can process for a partition at any given time.

    • In Shared Capacity Constraint, enter the total number of requests that can be present in the server for a partition as a percentage of the sharedCapacityForWorkManagers attribute value in the OverloadProtectionMBean.

    For more information about these fields, see Configuration Options.

  6. Click Save.

Edit Partition Work Managers

To edit the Partition Work Managers configured in the domain:

  1. From the WebLogic Domain menu, select Environment, then select Partition Work Managers.

    The Partition Work Managers table displays information about the Partition Work Managers that have been configured in the current domain, such as:

    • Name

    • Fair Share Value

    • Minimum Threads Constraint Limit

    • Maximum Threads Constraint

    • Shared Capacity Constraint

    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

    • Sort: sort the columns in ascending or descending order

    • Reorder: change the order of the columns displayed

  2. To configure a Partition Work Manager, click the Edit icon in the table. See Configure Partition Work Managers.

Configure Partition Work Managers

To edit the configuration for a domain level Partition Work Manager:

  1. From the WebLogic Domain menu, select Environment, then select Partition Work Managers.

    The Partition Work Managers table displays information about the Partition Work Managers that have been configured in the current domain.

  2. In the table, click the Edit icon for the Partition Work Manager you want to configure.

  3. On the Edit Partition Work Manager page, define the following settings for the Partition Work Manager:

    • Name

    • Fair Share Value

    • Minimum Threads Constraint Limit

    • Maximum Threads Constraint

    • Shared Capacity Constraint

    For more information about these fields, see Configuration Options.

  4. Click OK.

To edit the configuration for a partition-specific Partition Work Manager:

  1. From the WebLogic Domain menu, select Environment, then select Domain Partitions.

    The Domain Partitions summary table displays information about the state of each domain partition that has been configured in the current WebLogic Server domain.

  2. Click on the name of the domain partition for which you want to define a partition-specific Partition Work Manager.
  3. From the Domain Partition menu, select Administration, then select Resource Sharing.
  4. On the Partition Work Manager Configuration page, define the following settings for the Partition Work Manager:
    • Name

    • Fair Share Value

    • Minimum Threads Constraint Limit

    • Maximum Threads Constraint

    • Shared Capacity Constraint

    For more information about these fields, see Configuration Options.

  5. Click Save.