- 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.
推薦閱讀
- Vue 3移動Web開發(fā)與性能調(diào)優(yōu)實戰(zhàn)
- 基于粒計算模型的圖像處理
- Python快樂編程:人工智能深度學(xué)習(xí)基礎(chǔ)
- 小程序?qū)崙?zhàn)視頻課:微信小程序開發(fā)全案精講
- OpenCV實例精解
- AWS Serverless架構(gòu):使用AWS從傳統(tǒng)部署方式向Serverless架構(gòu)遷移
- Python機器學(xué)習(xí)經(jīng)典實例
- HTML5入門經(jīng)典
- Oracle Exadata專家手冊
- Learning SciPy for Numerical and Scientific Computing(Second Edition)
- Python算法指南:程序員經(jīng)典算法分析與實現(xiàn)
- 深度探索Go語言:對象模型與runtime的原理特性及應(yīng)用
- 分布式架構(gòu)原理與實踐
- Java程序設(shè)計入門(第2版)
- Ionic3與CodePush初探:支持跨平臺與熱更新的App開發(fā)技術(shù)