In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "websphere how to create profiles", in daily operation, I believe many people have doubts on how to create profiles in websphere, Xiaobian consulted all kinds of information, sorted out simple and easy to use operation methods, hope to answer "websphere how to create profiles" doubts helpful! Next, please follow the small series to learn together!
Websphere has been created in docker container. Now start creating profile file. First create a management node.
./ 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
Then take a look at the default port for creating a good profile
cat /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/portdef.props
WC_adminhost=9060 and WC_adminhost_secure=9043, mine are 9060 and 9043.
Because I mapped port 9043 in the container to the host, we went to the bin directory of Dmgr01 to start the management node.
./ startManager.sh
Then we can access the host's port 9043 on the admin console too
https://IP:9043/ibm/console/logon.jsp
Then create two managed nodes and add them to the management node. Do not specify the cell name again, otherwise the creation will fail.
./ 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
The above is the Linux system through the command to create profiles, but also through the interface profile manager to create. If you create a command line under Windows, you need to replace the last newline\of each line of the above command with ^, or remove the newline and put all parameters on one line. Here are two examples
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^ -isDefaultmanageprofiles.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 This is the end of learning about "websphere how to create profiles," hoping to solve everyone's doubts. Theory and practice can better match to help everyone learn, go and try it! If you want to continue learning more relevant knowledge, please continue to pay attention to the website, Xiaobian will continue to strive to bring more practical articles for everyone!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.