JBoss 系列十六:JBoss7/WildFly配置domain模式

本文介绍了JBoss7/WildFly的domain模式配置,包括domain controller和host controller的配置步骤,以及如何测试配置。配置涉及创建Management User、修改host.xml文件,并通过管理界面验证server的存在。
摘要由CSDN通过智能技术生成

内容概要

JBoss7/WildFly有两种模式可供选择,即standalone和dimain模式,详细请参照社区文档(链接),本文给出一个简单配置domain模式的步骤。

domain模式配置步骤

本配置涉及到2台机器domain controller(10.66.218.46),host controller(10.66.218.47),本配置修改的文件均为JBOSS_HOME/domain/configuration/host.xml,即下文中描述到修改或编辑都是指这个文件。
domain controller一端的配置

1. 在domain controller一段创建一个Management User,具体到JBOSS_HOME/bin目录下执行add-user.sh,Windows执行add-user.bat,如下为一示例

[kylin@unused bin]$ ./add-user.sh

What type of user do you wish to add?
 a) Management User (mgmt-users.properties)
 b) Application User (application-users.properties)
(a):

Enter the details of the new user to add.
Realm (ManagementRealm) :
Username : admin123
Password :
Re-enter Password :
About to add user 'admin123' for realm 'ManagementRealm'
Is this correct yes/no? yes
Added user 'admin123' to file '/home/kylin/work/./standalone/configuration/mgmt-users.properties'
Added user 'admin123' to file '/home/kylin/work/./domain/configuration/mgmt-users.properties'
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server EJB calls.
yes/no? yes
To repre
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值