WildFly Domain Controller Post-Install Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 39: Line 39:
=Management Interface Bind Address=
=Management Interface Bind Address=


The domain controller accept connections from the subordinated host controllers over the management interfaces defined in its <tt>[[host.xml]]</tt>. The network interface is "management" and the bind address can be specified in  domain.conf as:
The domain controller accept connections from the subordinated host controllers over the management interfaces defined in its <tt>[[host.xml]]</tt>.  
 
The value of address to bind to can be externalized as <tt>jboss.bind.address.management</tt>. For more details on how to configure <tt>jboss.bind.address.management</tt>, see:
 
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[WildFly System Properties#jboss.bind.address.management_for_Host_Controller|Setting '<tt>jboss.bind.address.management</tt>' for domain controllers]]
</blockquote>
 
 
be hardcoded either in <tt>host.xml</tt> or
 
 
The network interface is "management" and the bind address can be specified in  domain.conf as:


{{{
{{{
Line 58: Line 70:


}}}
}}}
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[WildFly System Properties#jboss.bind.address.management_for_Host_Controller|Setting '<tt>jboss.bind.address.management</tt>' for domain controllers]]
</blockquote>

Revision as of 04:06, 12 February 2016

Internal

Overview

This procedure is part of WildFly Unzip Installation. Once completed, return to WildFly Unzip Installation to continue the post-install procedure.

Local Domain Controller

For the domain controller, the host and the domain controller are collocated, so the host controller configuration file host.xml should specify a local domain controller:

<domain-controller>
       <local/>
</domain-controller>

This is the default configuration.

host.xml Host Name

The host.xml comes with default conventional host names. However, if building a custom environment, it's a good idea to change the host name to match the actual host name the domain controller runs on. This will make the information displayed by various console more descriptive and user friendly.

Example:

<host name="dc1" xmlns="urn:jboss:domain:1.7">
    ...
</host>

More details about the host name are available here:

host.xml host name

Management Interface Bind Address

The domain controller accept connections from the subordinated host controllers over the management interfaces defined in its host.xml.

The value of address to bind to can be externalized as jboss.bind.address.management. For more details on how to configure jboss.bind.address.management, see:

Setting 'jboss.bind.address.management' for domain controllers


be hardcoded either in host.xml or 


The network interface is "management" and the bind address can be specified in domain.conf as:

{{{ HOST_CONTROLLER_JAVA_OPTS="${HOST_CONTROLLER_JAVA_OPTS} -Djboss.bind.address.management=10.155.78.202" }}}

Alternatively, you can specify it directly in the host.mxl configuration file directly, because system properties defined in domain.conf are exposed to all processes.

{{{

   ...
   <interfaces>
       <interface name="management">
           <inet-address value="10.155.78.202"/>
       </interface>
       ...
   </interfaces>

}}}