/
host-secondary-discovery-options.xml
116 lines (109 loc) · 4.63 KB
/
host-secondary-discovery-options.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!--
~ Copyright The WildFly Authors
~ SPDX-License-Identifier: Apache-2.0
-->
<host xmlns="urn:jboss:domain:20.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:jboss:domain:20.0 wildfly-config_20_0.xsd"
name="secondary">
<paths>
<path name="domainTestPath" path="/tmp" />
</paths>
<management>
<security-realms>
<security-realm name="ManagementRealm">
<server-identities>
<secret value="c2xhdmVfdXMzcl9wYXNzd29yZA==" />
</server-identities>
<authentication>
<local default-user="$local" skip-group-loading="true" />
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir" />
</authentication>
</security-realm>
<security-realm name="ApplicationRealm">
<authentication>
<local default-user="$local" allowed-users="*" skip-group-loading="true" />
<properties path="domain/configuration/application-users.properties" relative-to="jboss.home.dir" />
</authentication>
</security-realm>
</security-realms>
<audit-log>
<formatters>
<json-formatter name="json-formatter"/>
</formatters>
<handlers>
<file-handler name="host-file" formatter="json-formatter" relative-to="jboss.domain.data.dir" path="audit-log.log"/>
<file-handler name="server-file" formatter="json-formatter" relative-to="jboss.server.data.dir" path="audit-log.log"/>
</handlers>
<logger log-boot="true" log-read-only="true" enabled="false">
<handlers>
<handler name="host-file"/>
</handlers>
</logger>
<server-logger log-boot="true" log-read-only="true" enabled="false">
<handlers>
<handler name="server-file"/>
</handlers>
</server-logger>
</audit-log>
<management-interfaces>
<native-interface security-realm="ManagementRealm">
<socket interface="management" port="19999"/>
</native-interface>
<http-interface security-realm="ManagementRealm" console-enabled="false">
<http-upgrade enabled="true" />
<socket interface="management" port="19990"/>
</http-interface>
</management-interfaces>
</management>
<domain-controller>
<!-- Remote domain controller configuration with a host and port -->
<remote security-realm="ManagementRealm">
<discovery-options>
<static-discovery name="start-option" protocol="remote" host="${jboss.test.host.primary.address}" port="9999" />
</discovery-options>
</remote>
</domain-controller>
<interfaces>
<interface name="management">
<inet-address value="${jboss.test.host.secondary.address}"/>
</interface>
<interface name="public">
<inet-address value="${jboss.test.host.secondary.address}"/>
</interface>
</interfaces>
<jvms>
<jvm name="default">
<heap size="64m" max-size="128m"/>
<jvm-options>
<option value="-ea"/>
</jvm-options>
</jvm>
</jvms>
<servers directory-grouping="by-type">
<server name="main-three" group="main-server-group">
<socket-bindings socket-binding-group="standard-sockets" port-offset="350"/>
<jvm name="default"/>
</server>
<server name="main-four" group="main-server-group" auto-start="false">
<socket-bindings port-offset="450"/>
<jvm name="default">
<heap size="64m" max-size="256m"/>
</jvm>
</server>
<server name="other-two" group="other-server-group">
<!--AS7-4177 override the host level config to smoke test that handling
Note we use the same values; this is just to check for obvious fatal errors -->
<interfaces>
<interface name="public">
<inet-address value="${jboss.test.host.secondary.address}"/>
</interface>
</interfaces>
<socket-bindings socket-binding-group="other-sockets" port-offset="550"/>
<jvm name="default"/>
</server>
<server name="reload-two" group="reload-test-group" auto-start="false">
<jvm name="default" />
</server>
</servers>
</host>