RELATEED CONSULTING
相关咨询
选择下列产品马上在线沟通
服务时间:8:30-17:00
你可能遇到了下面的问题
关闭右侧工具栏

新闻中心

这里有您想知道的互联网营销解决方案
websphere怎么创建概要文件

这篇文章主要介绍“websphere怎么创建概要文件”,在日常操作中,相信很多人在websphere怎么创建概要文件问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”websphere怎么创建概要文件”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

目前成都创新互联已为1000多家的企业提供了网站建设、域名、雅安服务器托管网站运营、企业网站设计、连云网站维护等服务,公司将坚持客户导向、应用为本的策略,正道将秉承"和谐、参与、激情"的文化,与客户和合作伙伴齐心协力一起成长,共同发展。

在docker容器中已经创建好了websphere,下面开始创建概要文件,先创建一个管理节点的

./manageprofiles.sh -create\
   -profileName Dmgr01\
   -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01\
   -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/management\
   -serverType DEPLOYMENT_MANAGER\
   -cellName Dmgr01Cell\
   -nodeName Dmgr01Node\
   -hostName localhost\
   -enableAdminSecurity true\
   -adminUserName admin\
   -adminPassword wasadmin\
   -isDefault

然后看一下创建好的概要文件默认的端口

cat /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/portdef.props

主要看WC_adminhost=9060和WC_adminhost_secure=9043,我的是9060和9043.

因为我之前已经将容器中9043端口映射到主机上了,我们进入到Dmgr01的bin目录中启动管理节点

./startManager.sh

然后我们可以访问主机的9043端口的管理控制台了

https://IP:9043/ibm/console/logon.jsp

然后再创建两个受管理节点并添加到管理节点上,不要再指定cell名称,否则创建失败

./manageprofiles.sh -create\
   -profileName Custom01\
   -profilePath /opt/IBM/WebSphere/AppServer/profiles/Custom01\
   -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed\
   -nodeName Custom01Node\
   -hostName localhost\
   -dmgrHost localhost\
   -dmgrPort 8879\
   -dmgrAdminUserName admin\
   -dmgrAdminPassword wasadmin
./manageprofiles.sh -create\
   -profileName Custom02\
   -profilePath /opt/IBM/WebSphere/AppServer/profiles/Custom02\
   -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed\
   -nodeName Custom02Node\
   -hostName localhost\
   -dmgrHost localhost\
   -dmgrPort 8879\
   -dmgrAdminUserName admin\
   -dmgrAdminPassword wasadmin

以上是Linux系统下通过命令创建概要文件,也可以通过界面的概要文件管理器创建。如果Windows下命令行创建,需要将上面命令每行最后的换行符\替换为^就可以了,或者去掉换行符,所有参数都放到一行执行。以下是两个示例

manageprofiles.bat -create^
   -profileName Dmgr01^
   -profilePath "C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\Dmgr01"^
   -templatePath "C:\Program Files (x86)\IBM\WebSphere\AppServer\profileTemplates\management"^
   -serverType DEPLOYMENT_MANAGER^
   -cellName Dmgr01Cell^
   -nodeName Dmgr01Node^
   -hostName localhost^
   -enableAdminSecurity true^
   -adminUserName admin^
   -adminPassword wasadmin^
   -isDefault
manageprofiles.bat -create^
   -profileName Custom01^
   -profilePath "C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\Custom01"^
   -templatePath "C:\Program Files (x86)\IBM\WebSphere\AppServer\profileTemplates\managed"^
   -nodeName Custom01Node^
   -hostName localhost^
   -dmgrHost localhost^
   -dmgrPort 8879^
   -dmgrAdminUserName admin^
   -dmgrAdminPassword wasadmin

到此,关于“websphere怎么创建概要文件”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注创新互联网站,小编会继续努力为大家带来更多实用的文章!


网页标题:websphere怎么创建概要文件
本文网址:http://sczitong.cn/article/jijcoe.html