WLOC Administration Console Online Help

    Previous Next  Open TOC in new window 
Content starts here

Quickly define and assign process policies based on MBean attributes


The Process Metrics tab on the Process page enables you to quickly define and automatically assign constraints that are based on the value of an MBean attribute.

Note: The service must be deployed in order to be able to browse to the MBean attributes. For more information, see Deploy services.

To quickly define and assign process policies based on MBean attributes.

  1. Access the Service page in one of the following ways:
    • Click the Inventory tab in the WLOC navigation bar, expand the Services list in the Inventory pane, and click the name of the Service.
    • Click the Home tab in the WLOC navigation bar, click Services under Manage Inventory, and click the name of the service in the Services table.
  2. Click the JVM instance in the Configured Process Groups table for which you want to define a policy.
  3. Click the Process Metrics tab on the Process page.

    The MBeans registered in the MBean server for the selected JVM instance are displayed.

  4. To filter the list of MBeans, enter Column=Value in the text box and click Filter.

    Column specifies the table column name on which you want to filter Value specifies a string value on which to filter the contents. To clear the filter, click Clear Filter.

  5. Click the MBean that you want to use to define the constraint.
  6. Select the radio button next to the attribute that you want to use to define the constraint.

    Only attributes that can be selected have a radio button associated with them. Complex types are not supported in policies.

    Note: You can use the breadcrumbs above the table to navigate back to the JVM instance or list of JVM instances.

  7. Click Create Policy.
  8. Set the policy properties, as required.
    Field Description

    Name

    Name of the policy.

    Operator

    Operator to use for comparison. Valid values include: Less Than, Greater Than, Equal to, and Matches. The Matches operator can be used with String values only.

    Value

    Value used for comparison using the operator.

    Evaluation Period

    Interval of time (in milliseconds) to wait before re-evaluating the constraint.

    Run Action

    Action to use for the policy. Select an action from the drop-down list. For more information about defining actions, see .

    Run Pipeline

    Action pipeline to use for the policy. Select an action pipeline from the drop-down list. For more information about defining action pipelines, see .

    Note: You can select either an action or action pipeline for the policy but not both.

  9. Click Finish.

    The policy assignment is created and the following confirmation message is displayed:

    Binding created successfully

  Back to Top