Use this page to modify existing health policies. Health policies are used to maintain a healthy environment using prevention and detection methodologies.
To view this administrative console page, click
.If you are a user with either a monitor or an operator role, you can view only health policy information. If you are a user with either a configurator or an administrator role, you have all configuration privileges for health policies.
This page has two tabs: Configuration and Local topology. On the Configuration tab, you can view and configure the settings for the health policy. On the Local topology tab, you can view the health policy memberships in a visual representation.
Specifies the name of a health policy. The health policy name is required and must be unique among all the health policies in the cell.
The name cannot begin with a period (.) or a space. A space does not generate an error, but leading and trailing spaces are automatically deleted. Use meaningful and consistent health policy names. For example, age-based health policies can be indicated by naming the policies AGE_20DAYS, AGE_15DAYS.
Specifies an additional description of the health policy. The description is optional. You can edit the description when you are creating or editing a health policy. Consider using the optional description when you are using many health policies or when multiple administrators manage the same set of health policies.
The health condition defines the specific policy that is implemented.
Some policies are prevention-based and some are detection-based. Prevention-based policies are used to avoid conditions that might lead to problems, while the detection-based policies are used to identify existing conditions and to achieve resolution. These policies can be used to perform health-based assessments on clusters, dynamic clusters, and application server instances running on nodes. In the case of dynamic clusters, regardless of the health policy that you are using, the minimum number of dynamic cluster instances remains running.
To detect change points, the health controller calculates a left mean and a right mean for a specific point. For a point, the left mean consists of the mean value of N samples that arrive before this sample, and the right mean is the mean value of N samples, including the current point, that arrive later. The difference of the left and the right mean values is stored and compared with other differences in a set of values to N to determine if this difference is a local maxima. If this difference is the maximum difference, then the point to which this difference corresponds, is declared as a change point. The two metrics that are used for detecting storm drain are the response times and dynamic workload manager weights that are observed for the server.
The storm drain condition is supported for all server types.Define a custom condition when the default conditions are not what you need for your environment.
With a custom condition, you define a subexpression that is evaluated against environment metrics.
Specifies properties that are specific to the health condition.
Setting | Description |
---|---|
Maximum age | This field is available for the age-based policy. Acceptable values are positive whole numbers in days or hours between 1 hour and 365 days. To enter a value like 1.2 days, use 36 hours, because decimal numbers are not supported. |
Setting | Description |
---|---|
Timed out requests | This field is available for the excessive request timeout condition. The excessive request timeout condition detects, for each server that is a member of the policy, the percentage of requests directed at that server which timed out (over a 60 second period) after being routed from the on demand router. Acceptable values for this field are whole numbers between 1 and 99. |
Setting | Description |
---|---|
Response time | This field is available for the excessive response time condition policy. The excessive response time condition policy is breached when the average response time for the requests exceeds a specific time interval. Acceptable values for this field are between 1 millisecond and 60 minutes. |
Setting | Description |
---|---|
JVM heap size | The excessive memory usage condition policy is breached when the memory usage exceeds a percentage of your heap size over time. The total memory used percentage is used with the time over memory threshold value to determine when to restart members. Acceptable values for this field are whole numbers between 1 and 99. |
Offending time period | This field is available for the excessive memory usage condition policy. The excessive memory usage condition policy is breached when the memory usage exceeds a percentage of your heap size over time. Acceptable values for this field are between 1 second and 60 minutes. |
Setting | Description |
---|---|
Detection level | You can choose from the following detection
levels. For each level a trade-off exists between the speed and accuracy
of detecting suspected memory leaks.
|
Setting | Description |
---|---|
Detection level |
|
Setting | Description |
---|---|
Total requests | The workload condition policy is breached when a certain user-defined number of requests are serviced. A request value must be a whole number greater than 1000. |
Setting | Description |
---|---|
Percentage of time spent in garbage collection | The percentage of time spent in garbage collection policy monitors a Java virtual machine (JVM) or set of JVM’s to determine whether they are spending more than a percentage of time in garbage collection over a specified period of time. Units are percentages. The default value is 10. Acceptable values for this field are whole numbers between 1 and 99. |
Sampling time period | This field specifies the period of time over which garbage collection data is collected. The percentage of time spent in garbage collection during the sampling time period must be over the threshold value prior to corrective action being taken. Units are minutes and hours. The default value is 2 minutes. Acceptable values for this field are between 1 minute and 24 hours. |
Setting | Description |
---|---|
Run reaction plan when | Specifies a subexpression that represents the metrics that you are evaluating in your custom condition. |
Specifies how the Intelligent Management behaves when a defined health condition is reached.
Specifies the reaction mode that defines the behavior of the health policy. The reaction mode can be Supervised or Automatic.
You can define a specific set of actions to occur when the health condition breaches. These actions can be the existing default actions, or you can define custom actions to run an executable file.
A list of actions displays in the order that they are run when the health condition breaches. To add an action, click Add action.... You can choose an existing default health policy action, a custom action that you have created, or you can create a new custom action.
To remove a step, select the step and click Remove action. To change the order of your steps, select one step to move and click Move up or Move down.
Specifies the members for the health policy, which activates the health policy that is defined for the members. Membership is not a one-to-one relationship; members can be associated with multiple policies.
Edit the Membership field by selecting the appropriate member type from the list. The resulting potential members display in the Available for membership field. Select the appropriate members from the Available for membership list. To select multiple members, press the control key until all of your selections are highlighted, and click Add to add your selection to the membership for the health policy.