weblogic 雙機集群搭建


weblogic 雙機集群搭建,基本步驟引用百度文庫的一篇文章:

  wenlogic雙機集群基本步驟  

    

下面詳解一下該文章搭建后會遇到的問題:

 

1. 主機名驗證失敗

    javax.net.ssl.SSLKeyException: [Security:090482]BAD_CERTIFICATE alert was received from 192.168.140.3 - 192.168.140.3. Check the peer to determine why it rejected the   certificate chain (trusted CA configuration, hostname verification). SSL debug tracing may be required to determine the exact reason the certificate was rejected.

解決辦法:

  1.將主機節點和受管節點的SLL-->高級-->主機名驗證--選擇無 然后重啟服務

    2.將新建的計算機與對於物理計算機和名稱(hostname)保持一致就可以了

  

2.節點管理器用戶名和密碼認證失敗

  這種情況發生在,主機點在主機1上,受管節點在主機2上,控制台新建的計算機指向主機2狀態為不可訪問

 

<Feb 19, 2017 3:24:59 AM PST> <Error> <NodeManager> <BEA-300033> <Could not execute command "getVersion" on the node manager. Reason: "Access to domain 'test' for user 'GrzVthu3HW' denied".> 

解決辦法:

 

      第一步,在主管理服務器console上域的安全頁設置nodemanager的用戶名和密碼
      第二步,到主機 2的域下面修改這個文件( 注意是域下面config下的nm_password.properties不是節點管理器下面的nm_password.properties),username=weblogic  password=password

  /weblogic/Oracle/Middleware/user_projects/domains/test/config/nodemanager/nm_password.properties

      第三步,重啟主機2的nodemanager
 
3.  主機2受管節點啟動時報錯

    i.<BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: com.bea.common.engine.ServiceInitializationException:     weblogic.security.spi.ProviderInitializationException: A failure occurred attempting to load LDIF for provider Authorizer from file     /weblogic/Oracle/Middleware/wlserver_10.3/server/lib/XACMLAuthorizerInit.ldift..weblogic.security.service.SecurityServiceException:     com.bea.common.engine.ServiceInitializationException: 

    ii.weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable

         iii.<BEA-000000> <Could not decrypt the username attribute value of {AES}IpCKAeINnBv0Zk8gHfvSFbISdyT5E0nUkbv6GqPQGfo= from the file                           /weblogic/Oracle/Middleware/user_projects/domains/test/servers/server_03/data/nodemanager/boot.properties.

   解決辦法:

               這個錯誤是因為主機2的受管節點需要從主機1的管理服務器上下面相關啟動的配置信息,安全服務認證不通過,導致的,將主機2域下面的security 文件全部替換為主機1的文件

 

   /weblogic/Oracle/Middleware/user_projects/domains/test/security 重新啟動服務,啟動成功

 

總結:

  按照wenlogic雙機集群基本步驟

  這個基本步驟搭建雙機集群后會出現很多問題,對於初學者來說很麻煩。

   建議:主機1搭建步驟按照文章給出的步驟一步一步搭建,主機2直接將主機1新建的域拷貝一份放到對於的目錄下面就可以了,無須再重新搭建域,這個搭建之后啟動只需要解決主機名認證的問題,雙機集群就搭建成功了。

      

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM