You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This WDT domain model sample section has typical configurations for a Work Manager and its related request classes and constraints. These elements are configured in the `SelfTuning` folder in the `resources` section of the model.
4
+
```yaml
5
+
resources:
6
+
SelfTuning:
7
+
Capacity:
8
+
capacity40:
9
+
Target: 'cluster-1'
10
+
Count: 40
11
+
MaxThreadsConstraint:
12
+
threeMax:
13
+
Target: 'cluster-1'
14
+
Count: 3
15
+
MinThreadsConstraint:
16
+
twoMin:
17
+
Target: 'cluster-1'
18
+
Count: 2
19
+
FairShareRequestClass:
20
+
appFairShare:
21
+
Target: 'cluster-1'
22
+
FairShare: 50
23
+
highFairshare:
24
+
Target: 'cluster-1'
25
+
FairShare: 80
26
+
lowFairshare:
27
+
Target: 'cluster-1'
28
+
FairShare: 20
29
+
ResponseTimeRequestClass:
30
+
fiveSecondResponse:
31
+
Target: 'cluster-1'
32
+
GoalMs: 5000
33
+
ContextRequestClass:
34
+
appContextRequest:
35
+
Target: 'cluster-1'
36
+
ContextCase:
37
+
Case1:
38
+
GroupName: Administrators
39
+
RequestClassName: highFairshare
40
+
Target: 'cluster-1'
41
+
Case2:
42
+
UserName: weblogic
43
+
RequestClassName: lowFairshare
44
+
Target: 'cluster-1'
45
+
WorkManager:
46
+
myWorkManager:
47
+
Capacity: capacity40
48
+
ContextRequestClass: appContextRequest
49
+
# FairShareRequestClass: appFairShare
50
+
IgnoreStuckThreads: true
51
+
MaxThreadsConstraint: threeMax
52
+
MinThreadsConstraint: twoMin
53
+
# ResponseTimeRequestClass: fiveSecondResponse
54
+
Target: 'cluster-1'
55
+
```
56
+
In this sample, assignments for `FairShareRequestClass` and `ResponseTimeRequestClass` are included as comments under `myWorkManager`. A Work Manager can only specify one request class type.
57
+
58
+
There are additional sub-folders and attributes available for more configuration options. These can be determined using the [Model Help Tool](../model_help.md). For example, this command will list the attributes and sub-folders for the `WorkManager` folder:
For this sample, the target cluster `cluster-1` should be defined elsewhere within this model, or should already exist in a domain that is being updated.
0 commit comments