今天在aix上安装weblogic81 ,安装好了,启动服务器的在weblogic 控制台上报错,并且在日志里面也有同样的报错:

####<Apr 20, 2013 7:29:24 AM CDT> <Warning> <Security> <p750b-boot1> <myserver> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP
'> <weblogic> <> <BEA-090504> <Certificate chain received from localhost - 127.0.0.1 failed hostname verification check. Certificat
e contained P750b but check expected localhost>
####<Apr 20, 2013 7:29:24 AM CDT> <Debug> <Management> <p750b-boot1> <myserver> <ExecuteThread: '0' for queue: 'weblogic.admin.HTTP
'> <weblogic> <> <BEA-141132> <Dynamic invocation while executing action getState on sxsb:Location=myserver,Name=sxsbapp,ServerRunt
ime=myserver,Type=NodeManagerRuntime MBean instance failed. The method getState with signature [weblogic.management.configuration.S
erverMBean] was invoked with parameters as [[Caching Stub]Proxy for sxsb:Name=INSIIS,Type=Server].
weblogic.nodemanager.NodeManagerException: [[NodeManager:300034]Could not execute command getState for server INSIIS using the node
 manager. Reason: [CommandInvoker: Failed to send command: 'getState to server 'INSIIS' to NodeManager at host: 'localhost:5555' wi
th exception [Security:090504]Certificate chain received from localhost - 127.0.0.1 failed hostname verification check. Certificate
 contained P750b but check expected localhost. Please ensure that the NodeManager is active on the target machine].]
        at weblogic.nodemanager.client.NodeManagerRuntime.getState(NodeManagerRuntime.java:590)

sh ./startManagedWebLogic.sh StdbyServer http://localhost:7001

============================================

首先看一下两个主机的hosts文件

p750a

# 2000:1:1:1:209:6bff:feee:2b7f         ipv6sample      # ipv6 name/address
127.0.0.1               loopback localhost      # loopback (lo0) name/address
10.81.1.8       p750b           weblogicapp    
191.191.191.1   p750a-boot1     p750a
191.191.191.2   p750b-boot1    

10.0.0.1        p750a_boot2
10.0.0.2        p750b_boot2    

10.81.1.26      p750a_per      
10.81.1.27      p750b_per

10.81.1.6       ora_svc
10.81.1.8       webapp_svc    

11.11.11.27     p750a-mgr 
#

============================

p750b

127.0.0.1               loopback localhost      # loopback (lo0) name/address
10.81.1.8       p750b           weblogicapp
191.191.191.2   p750b-boot1       p750b
191.191.191.1   p750a-boot1     
    

10.0.0.1        p750a_boot2
10.0.0.2        p750b_boot2    

10.81.1.27      p750b_per
10.81.1.26      p750a_per

10.81.1.6       ora_svc        
10.81.1.8       webapp_svc  

==========================================

这些hosts文件是最后改好的,最后找了我同事大拿来远程来看,查了半天,有重要的两点

第一就是在/weblogic/weblogic81/common/nodemanager/nodemanager.hosts 里面添加主机名如下

10.81.1.8   
10.81.1.26

补充:1.8是我的weblogic 的浮动server ip,26是我p750a的 weblogic的ip

第二 在hacmp 启动脚本上 改动如下:

# more startweblogic
#this scripts for start server processes
sh /weblogic/weblogic81/server/bin/startNodeManager.sh &
cd /weblogic/user_projects/domains/sxsb/
sh ./startWebLogic.sh &

sleep 40
cd /weblogic/user_projects/domains/sxsb/
sh ./startManagedWebLogic.sh INSIIS http://localhost:7001

sleep 20
sh ./startManagedWebLogic.sh StdbyServer
http://localhost:7001

hacmp weblogic 关闭脚本

#This scripts for stop server processes
kill -9 `ps -ef | grep NodeManager | grep -v grep | awk '{print $2}'`
cd /weblogic/user_projects/domains/sxsb/
sh ./stopWebLogic.sh &

最后weblogic 启动正常 如图

 

 

最后衷心的感谢我的同事,小叶,thank you very much !!!