Java Reference
In-Depth Information
security-realm="ManagementRealm">
<socket interface="management"
port="${jboss.management.native.port:9999}" />
</native-interface>
</management-interfaces>
</management>
The final step is to configure the server nodes inside the host.xml file on both
hosts. So, on the first host, we will configure server-one and server-two to be-
long to main-server-group :
<servers>
<server name="server-one"
group="main-server-group"/>
<server name="server-two"
group="main-server-group" auto-start="false">
<socket-bindings port-offset="150"/>
</server>
</servers>
And on the second host, we will configure server-three and server-four to
belong to other-server-group :
<servers>
<server name="server-three"
group="other-server-group"/>
<server name="server-four"
group="other-server-group"> auto-start="false">
<socket-bindings port-offset="150"/>
</server>
</servers>
Please note that the auto-start flag indicates that the server instances will not be
started automatically if the host controller is started.
Search WWH ::




Custom Search