這篇文章主要介紹“websphere怎么創(chuàng)建概要文件”,在日常操作中,相信很多人在websphere怎么創(chuàng)建概要文件問題上存在疑惑,小編查閱了各式資料,整理出簡單好用的操作方法,希望對(duì)大家解答”websphere怎么創(chuàng)建概要文件”的疑惑有所幫助!接下來,請(qǐng)跟著小編一起來學(xué)習(xí)吧!

目前成都創(chuàng)新互聯(lián)已為1000多家的企業(yè)提供了網(wǎng)站建設(shè)、域名、雅安服務(wù)器托管、網(wǎng)站運(yùn)營、企業(yè)網(wǎng)站設(shè)計(jì)、連云網(wǎng)站維護(hù)等服務(wù),公司將堅(jiān)持客戶導(dǎo)向、應(yīng)用為本的策略,正道將秉承"和諧、參與、激情"的文化,與客戶和合作伙伴齊心協(xié)力一起成長,共同發(fā)展。
在docker容器中已經(jīng)創(chuàng)建好了websphere,下面開始創(chuàng)建概要文件,先創(chuàng)建一個(gè)管理節(jié)點(diǎn)的
./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
然后看一下創(chuàng)建好的概要文件默認(rèn)的端口
cat /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/properties/portdef.props
主要看WC_adminhost=9060和WC_adminhost_secure=9043,我的是9060和9043.
因?yàn)槲抑耙呀?jīng)將容器中9043端口映射到主機(jī)上了,我們進(jìn)入到Dmgr01的bin目錄中啟動(dòng)管理節(jié)點(diǎn)
./startManager.sh
然后我們可以訪問主機(jī)的9043端口的管理控制臺(tái)了
https://IP:9043/ibm/console/logon.jsp
然后再創(chuàng)建兩個(gè)受管理節(jié)點(diǎn)并添加到管理節(jié)點(diǎn)上,不要再指定cell名稱,否則創(chuàng)建失敗
./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系統(tǒng)下通過命令創(chuàng)建概要文件,也可以通過界面的概要文件管理器創(chuàng)建。如果Windows下命令行創(chuàng)建,需要將上面命令每行最后的換行符\替換為^就可以了,或者去掉換行符,所有參數(shù)都放到一行執(zhí)行。以下是兩個(gè)示例
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
到此,關(guān)于“websphere怎么創(chuàng)建概要文件”的學(xué)習(xí)就結(jié)束了,希望能夠解決大家的疑惑。理論與實(shí)踐的搭配能更好的幫助大家學(xué)習(xí),快去試試吧!若想繼續(xù)學(xué)習(xí)更多相關(guān)知識(shí),請(qǐng)繼續(xù)關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編會(huì)繼續(xù)努力為大家?guī)砀鄬?shí)用的文章!
網(wǎng)頁題目:websphere怎么創(chuàng)建概要文件
URL鏈接:http://chinadenli.net/article4/jijcoe.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站導(dǎo)航、軟件開發(fā)、網(wǎng)站策劃、外貿(mào)建站、響應(yīng)式網(wǎng)站、定制開發(fā)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)