日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

Weblogic的管理服务器与受管服务器

發(fā)布時(shí)間:2023/12/19 编程问答 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Weblogic的管理服务器与受管服务器 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

weblogic管理服務(wù)器和受管服務(wù)器:
?? 域包含一個(gè)稱為“管理服務(wù)器”的特殊 WebLogic Server 實(shí)例,它是您配置和管理域中所有資源的中心點(diǎn),一個(gè)域有僅只有一個(gè)管理服務(wù)器實(shí)例
?? 在生產(chǎn)環(huán)境中,應(yīng)將 Web 應(yīng)用程序、EJB 和其他資源部署到受管服務(wù)器上,管理服務(wù)器只應(yīng)用于配置和管理目的。
?? 多臺(tái)受管服務(wù)器可以組成一個(gè)“群集”,這樣可以使用單個(gè)管理服務(wù)器來(lái)簡(jiǎn)化對(duì)受管服務(wù)器實(shí)例的管理,現(xiàn)時(shí)還可以平衡負(fù)載并為關(guān)鍵應(yīng)用程序提供故障轉(zhuǎn)移保護(hù)。

組織域的基本考慮因素:
?? a) 應(yīng)用程序的邏輯劃分。例如,可以用一個(gè)域來(lái)專(zhuān)門(mén)提供最終用戶功能(例如購(gòu)物車(chē)),而將另一個(gè)域?qū)S糜诤蠖素?cái)務(wù)應(yīng)用程序。
?? b) 物理位置。可以為企業(yè)的不同位置或分支建立單獨(dú)的域。
?? c) 大小。您可能發(fā)現(xiàn),將域組織成較小的單元可提高管理效率,可以由不同的系統(tǒng)管理員進(jìn)行管理。相反,您可能發(fā)現(xiàn)維護(hù)一個(gè)域或較少數(shù)目的域可以使維護(hù)一致性配置變得更容易。

啟動(dòng)受管服務(wù)器的方法:
1、在weblogic的當(dāng)前域目錄中使用命令:startManagedWebLogic [SERVER_NAME] [ADMIN_URL]
?? SERVER_NAME - 待啟動(dòng)的域中的受管服務(wù)器名字(大小寫(xiě)敏感)
?? ADMIN_URL - 管理服務(wù)器地址包含端口號(hào)
?? 如:startManagedWebLogic testManagedServer http://localhost:7001
2、在weblogic的控制臺(tái)界面啟動(dòng),操作:
?? 選擇要啟動(dòng)的受管服務(wù)器,選擇"控制"->"啟動(dòng)停止"->"啟動(dòng)此服務(wù)".
?? 此時(shí)受管服務(wù)器啟動(dòng)失敗,會(huì)出現(xiàn)類(lèi)似如下錯(cuò)誤信息:
?? 描述: Starting DemoManagedServer server ...
?? 此任務(wù)的說(shuō)明。
?? 狀態(tài): FAILED
?????? 此任務(wù)的狀態(tài)。
?? 開(kāi)始時(shí)間: Fri Mar 14 11:14:13 CST 2008
?????? 啟動(dòng)此任務(wù)的時(shí)間。
?? 結(jié)束時(shí)間: Fri Mar 14 11:14:14 CST 2008
??????? 完成此任務(wù)的時(shí)間。
?? 異常: SecureCommandInvoker: Could not create a socket to the NodeManager running on host 'localhost:5555' to execute command 'online DemoManagedServer', reason: Connection refused: connect. Ensure that the NodeManager on host 'localhost' is configured to listen on port '5555' and that it is actively listening
?????? 在執(zhí)行此任務(wù)時(shí)出現(xiàn)的異常。
?? 日志:
?? 任務(wù)活動(dòng)的日志。
??
?? 解決辦法:
?? Solution 1:
?????????? To make a managed server start, we need to start the node manager on that machine. You can find the script to start the server in WLS_HOME\server\bin\startNodeManager.cmd or sh.
??????????
?????????? The order in which we need to start the servers are
?????????? 1.Start the node manager
?????????? 2.Start the Admin server
?????????? 3.Start the specific managed server we need to start.
??????????
?? Solution 2:
?????????? Have you set up a "Machine" for each of the managed servers ?
??????????
?????????? You need to do that (extremely simple: Machines --> Config. New (Unix) Machine ), and then under your new machine, configure the listen address under Nodemanager Tab, with the IP of the machine running the ManagedServer.
??????????
?????????? The problem seems to be with the adress which the N.M. listens:
?????????? if you telnet localhost 5555, you'll get nothing ("conn refused"), but if you telnet X.X.X.X 5555, you'll get the prompt for the NM ( "Escape character is ]" )
??????????
?????????? So, if you dont configure the managed server to speak with the nodemanager via real ip address instead of localhost (127.0.0.1), you get nothing.

群集和非群集的受管服務(wù)器之間的關(guān)鍵區(qū)別在于是否支持故障轉(zhuǎn)移和負(fù)載平衡,群集支持上述功能,而非群集不支持。


轉(zhuǎn)載于:https://blog.51cto.com/xiao1ang/1901827

總結(jié)

以上是生活随笔為你收集整理的Weblogic的管理服务器与受管服务器的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。