- Notifications
You must be signed in to change notification settings - Fork 89
Added sample model for Work Manager #622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits Select commit Hold shift + click to select a range
e94fd91 JIRA WDT-407 Added sample model for Work Manager
rakillen 8617584 JIRA WDT-407 Corrections from review
rakillen f2989d7 Merge branch 'master' into JIRA-WDT-407-work-manager-sample
ddsharpe 5a3c002 Merge branch 'master' into JIRA-WDT-407-work-manager-sample
ddsharpe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| ## Work Manager Sample | ||
| | ||
| 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. | ||
| ```yaml | ||
| resources: | ||
| SelfTuning: | ||
| Capacity: | ||
| capacity40: | ||
| Target: 'cluster-1' | ||
| Count: 40 | ||
| MaxThreadsConstraint: | ||
| threeMax: | ||
| Target: 'cluster-1' | ||
| Count: 3 | ||
| MinThreadsConstraint: | ||
| twoMin: | ||
| Target: 'cluster-1' | ||
| Count: 2 | ||
| FairShareRequestClass: | ||
| appFairShare: | ||
| Target: 'cluster-1' | ||
| FairShare: 50 | ||
| highFairshare: | ||
| Target: 'cluster-1' | ||
| FairShare: 80 | ||
| lowFairshare: | ||
| Target: 'cluster-1' | ||
| FairShare: 20 | ||
| ResponseTimeRequestClass: | ||
| fiveSecondResponse: | ||
| Target: 'cluster-1' | ||
| GoalMs: 5000 | ||
| ContextRequestClass: | ||
| appContextRequest: | ||
| Target: 'cluster-1' | ||
| ContextCase: | ||
| Case1: | ||
| GroupName: Administrators | ||
| RequestClassName: highFairshare | ||
| Target: 'cluster-1' | ||
| Case2: | ||
| UserName: weblogic | ||
| RequestClassName: lowFairshare | ||
| Target: 'cluster-1' | ||
| WorkManager: | ||
| myWorkManager: | ||
| Capacity: capacity40 | ||
| ContextRequestClass: appContextRequest | ||
| # FairShareRequestClass: appFairShare | ||
| IgnoreStuckThreads: true | ||
| MaxThreadsConstraint: threeMax | ||
| MinThreadsConstraint: twoMin | ||
| # ResponseTimeRequestClass: fiveSecondResponse | ||
| Target: 'cluster-1' | ||
| ``` | ||
| In this sample, assignments for `FairShareRequestClass` and `ResponseTimeRequestClass` are included as comments under `myWorkManager`. A Work Manager can only specify one Request Class type. | ||
rakillen marked this conversation as resolved. Outdated Show resolved Hide resolved | ||
| | ||
| 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: | ||
| ```yaml | ||
| ${WDT_HOME}/bin/modelHelp.sh -oracle_home /tmp/oracle resources:/WorkManager | ||
| ``` | ||
| | ||
| 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. | ||
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.