Creating an advanced domain
The basic domain configuration is a good exercise for learning the domain's main actors and their responsibilities. In real-world scenarios you will need to create domain configurations that span multiple hosts, providing redundancy of the services across different hosts. Also, it would be recommended to use the domain controller just as the management platform of your domain, thus removing the application server from its installation.
Based on these assumptions we will arrange the following domain, which consists of three EAP 7 host controllers, one of them elected as domain controller:
The Command Line Interface will be used to create the domain, starting from a vanilla server installation. As proof of concept, we will include also the generated XML configuration.
Building up your domain
For the purpose of this example, we will install our domain on a single machine. Later on in this book, we will discuss a more complex configuration where each host controller...