Skip to content

Commit a357562

Browse files
authored
Added sample model for configured cluster (#626)
* JIRA WDT-407 Added sample model for configured cluster * JIRA WDT-410 Fixed typo
1 parent a828b0d commit a357562

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

site/samples/configured_cluster.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
## Configured Cluster Sample
2+
3+
This WDT domain model sample section has a typical configuration for a configured cluster with a single managed server, including connection information, logging setup, and other details.
4+
5+
```yaml
6+
topology:
7+
Cluster:
8+
'cluster-1':
9+
ClientCertProxyEnabled: true
10+
AutoMigrationTableName: MIGRATION_1
11+
DataSourceForAutomaticMigration: 'jdbc-1'
12+
ClusterMessagingMode: unicast
13+
FrontendHost: frontend.com
14+
FrontendHTTPPort: 9001
15+
FrontendHTTPSPort: 9002
16+
MigrationBasis: database
17+
NumberOfServersInClusterAddress: 5
18+
WeblogicPluginEnabled: true
19+
20+
Server:
21+
'server-1':
22+
Cluster: 'cluster-1' # this server belongs to cluster-1
23+
ListenAddress: 127.0.0.1
24+
ListenPort: 8001
25+
Machine: 'machine-1'
26+
Log:
27+
DomainLogBroadcastSeverity: Error
28+
FileCount: 7
29+
FileMinSize: 5000
30+
FileName: 'logs/AdminServer.log'
31+
LogFileSeverity: Info
32+
MemoryBufferSeverity: Notice
33+
NumberOfFilesLimited: true
34+
RotateLogOnStartup: true
35+
RotationType: bySize
36+
SSL:
37+
Enabled: true
38+
ListenPort: 8002
39+
ServerStart:
40+
Arguments: '-Dosgi=true -Dtangosol.coherence.management=all'
41+
ClassPath: '/foo/bar,wlsdeploy/classpathLibraries/mylib.jar'
42+
```
43+
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 `Server` folder:
44+
```yaml
45+
${WDT_HOME}/bin/modelHelp.sh -oracle_home /tmp/oracle topology:/Server
46+
```
47+
48+
For this sample, the machine named `machine-1` and the data source named `jdbc-1` should be defined elsewhere within this model, or should already exist in a domain that is being updated.

site/samples/samples.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ You can use the [Model Help Tool](../model_help.md) to determine the complete li
77
${WDT_HOME}/bin/modelHelp.sh -oracle_home /tmp/oracle resources:/JDBCSystemResource/JdbcResource
88
```
99
## Contents
10+
- [Configured Cluster Sample](configured_cluster.md)
1011
- [JDBC Sample](jdbc.md)
1112
- [Work Manager Sample](work_manager.md)

0 commit comments

Comments
 (0)