websphere怎么创建概要文件

发布时间:2021-07-02 17:37:13 作者:chen
来源:亿速云 阅读:371

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

在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怎么创建概要文件”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注亿速云网站,小编会继续努力为大家带来更多实用的文章!

推荐阅读:
  1. 学习think.js,概要
  2. word press 概要

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

websphere

上一篇:C语言中有哪些常用的头文件

下一篇:springboot-autoConfiguration的原理是什么

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》