wiflish
          Loving Life! Loving Coding!
          posts - 98,comments - 98,trackbacks - 0
          管理服務器和受管服務器:
          ?? 域包含一個稱為“管理服務器”的特殊 WebLogic Server 實例,它是您配置和管理域中所有資源的中心點,一個域有僅只有一個管理服務器實例。
          ?? 在生產環境中,應將 Web 應用程序、EJB 和其他資源部署到受管服務器上,管理服務器只應用于配置和管理目的。
          ?? 多臺受管服務器可以組成一個“群集”,這樣可以使用單個管理服務器來簡化對受管服務器實例的管理,現時還可以平衡負載并為關鍵應用程序提供故障轉移保護。

          組織域的基本考慮因素:
          ?? ? a) 應用程序的邏輯劃分。例如,可以用一個域來專門提供最終用戶功能(例如購物車),而將另一個域專用于后端財務應用程序。
          ?? ? b) 物理位置。可以為企業的不同位置或分支建立單獨的域。
          ?? ? c) 大小。您可能發現,將域組織成較小的單元可提高管理效率,可以由不同的系統管理員進行管理。相反,您可能發現維護一個域或較少數目的域可以使維護一致性配置變得更容易。

          啟動受管服務器的方法:
          1、在weblogic的當前域目錄中使用命令:startManagedWebLogic [SERVER_NAME] [ADMIN_URL]
          ?? SERVER_NAME - 待啟動的域中的受管服務器名字(大小寫敏感)
          ?? ADMIN_URL - 管理服務器地址包含端口號
          ?? 如:startManagedWebLogic testManagedServer http://localhost:7001
          2、在weblogic的控制臺界面啟動,操作:
          ?? 選擇要啟動的受管服務器,選擇"控制"->"啟動停止"->"啟動此服務".
          ?? 此時受管服務器啟動失敗,會出現類似如下錯誤信息:
          ?? 描述: Starting DemoManagedServer server ...
          ? ?? ?此任務的說明。 ?
          ?? 狀態: FAILED
          ? ?? ??? ?此任務的狀態。 ?
          ?? 開始時間: Fri Mar 14 11:14:13 CST 2008
          ? ?? ??? ?啟動此任務的時間。 ?
          ?? 結束時間: Fri Mar 14 11:14:14 CST 2008
          ??? ??? ? 完成此任務的時間。 ?
          ?? 異常: 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
          ? ?? ??? ?在執行此任務時出現的異常。 ?
          ?? 日志:? ?
          ? ?? ?任務活動的日志。
          ? ?? ?
          ? ?? ?解決辦法:
          ? ?? ?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.

          群集和非群集的受管服務器之間的關鍵區別在于是否支持故障轉移和負載平衡,群集支持上述功能,而非群集不支持。
          ??
          posted on 2008-03-14 11:48 想飛的魚 閱讀(1083) 評論(0)  編輯  收藏 所屬分類: web
          主站蜘蛛池模板: 扶风县| 临漳县| 临城县| 图们市| 奉化市| 北票市| 铜陵市| 手游| 凤阳县| 西乌珠穆沁旗| 阿坝县| 洪湖市| 新源县| 壤塘县| 象山县| 徐州市| 达州市| 红安县| 安图县| 大埔县| 江源县| 南丰县| 邮箱| 栾川县| 施秉县| 五常市| 建阳市| 天柱县| 肇州县| 新乡市| 九寨沟县| 宁安市| 友谊县| 嘉兴市| 万年县| 衡阳市| 泰和县| 永济市| 桃园县| 上林县| 大余县|