官术网_书友最值得收藏!

  • JBoss:Developer's Guide
  • Elvadas Nono Woguia
  • 182字
  • 2021-07-02 18:37:27

Starting the domain

We now have a domain controller ready, and also have an administration user and two hosts with proper settings to interact with the primary domain controller. Let's start the domain controller and the hosts:

bin$ ./domain.sh -Djboss.domain.base.dir=../../host0/domain/ --host-config=host-master.xml

Start host1 from one tab of your terminal:

./domain.sh -Djboss.domain.base.dir=../../host1/domain/ --host-config=host-slave.xml

From another tab of your terminal, start host2:


./domain.sh -Djboss.domain.base.dir=../../host2/domain/ --host-config=host-slave.xml

You can see the host registering in domain controller logs:

[Host Controller] 11:25:50,519 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 36) WFLYHC0019: Registered remote slave host "host1", JBoss JBoss EAP 7.0.0[Host Controller] 11:28:06,670 INFO [org.jboss.as.domain.controller] (Host Controller Service Threads - 37) WFLYHC0019: Registered remote slave host "host2", JBoss JBoss EAP 7.0.0

Let's connect to the domain controller:

http://127.0.0.1:9990/console

login :admin, Password : Admin01#.

You can see Hosts that are members of the domain:

EAP domain console

This concludes the first part of this lab, where we set up a simple domain with one primary domain controller and two slave hosts. In the subsequent steps, we will see how to use the JBoss Command-Line Interface (CLI) to read and edit the configuration.

主站蜘蛛池模板: 双流县| 东乌珠穆沁旗| 从江县| 富源县| 淳安县| 清涧县| 灵寿县| 舒兰市| 临海市| 和平县| 乡城县| 都江堰市| 喀什市| 禄丰县| 凯里市| 邻水| 洛隆县| 什邡市| 汤原县| 永康市| 准格尔旗| 泊头市| 班戈县| 天门市| 安图县| 山西省| 崇信县| 洞口县| 广平县| 邓州市| 和平区| 新宁县| 石柱| 高尔夫| 廉江市| 庄河市| 遂宁市| 昔阳县| 巫溪县| 永吉县| 咸丰县|