A host controller is launched when the domain.sh
or domain.bat
script is run on a host.
主机控制器的主要职责是管理服务器。它负责委派域管理任务,并负责启动和停止运行在主机上的应用服务器进程。
它和域控制器进行交流,来帮助管理服务器和域控制器间的通讯。一个域的多个主机控制器可以只和一个域控制器进行交流。在一个独立域模式中运行的所有主机控制器和服务器实例会有一个独立的域控制器,它们需要属于相同的域。
By default each host controller reads its configuration from the
domain/configuration/host.xml
file located in the unzipped ${build.shortName} installation file on its host's filesystem. The
host.xml
file contains the following configuration information that is specific to the particular host:
domain.xml
can be mapped to an actual machine-specific IP address in
host.xml
. And abstract path names in domain.xml can be mapped to actual filesystem paths in
host.xml
.