Book Image

WildFly Cookbook

Book Image

WildFly Cookbook

Overview of this book

Table of Contents (23 chapters)
WildFly Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Connecting the host controller to the domain controller


In this recipe, you will learn how to connect the host controller to the domain controller. We will refer to the domain controller as master, while we will refer to the host controllers as slave.

Getting ready

The purpose of this recipe is to show how to run a domain controller, and a series of other host controllers (we will use two host controllers) that connect to it. Whether the domain controller is on the same machine or on a different one, the connection type is meant to be "remote".

For the recipe, we will simulate two machines defining different configuration folders for each server that we are going to use. This is also a good practice for the development environment, as you can test a pseudo production scenario. Nevertheless, as we will have a Host Controller process running along with a Domain Controller process, and because both are responsible for remote management, with the management interfaces settled by default to listen...