|
| 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. |
0 commit comments