ORACLE VM创建SERVER POOLS后状态为ERR的解决

环境介绍:

oracle vm 2.2.1 32bit

oracle vm server 2.2.1

oracle vm manager 2.2.0

ERROR:

[@more@]
SelectServer Pool NameStatusHigh Availability StatusServersUsersLogs
Selectspoo12ERRDisabledTotal: 1Total: 1View Logs

今天在搭建ORACLE VM环境的时候,VM SERVER和VM MANAGER安装都很顺利的完成,但是在创建SERVER POOL后发现每次创建完后,状态总是ERRO不可用,通过查看后台日志:var/log/ovm-manager/oc4j.log发现以下错误:

2011-04-08 11:02:27.992 WARNING failed:errcode=00000, errmsg=Unexpected error: failed: hostname=qqovm;ip=127.0.0.1>

StackTrace:
File "/opt/ovs-agent-2.3/OVSSiteHA.py", line 276, in ha_check_hostname_ip
raise Exception("Invalid hostname/IP configuration: hostname=%s;ip=%s" % (rs["hostname"], rs["ip"]))
>

StackTrace:
File "/opt/ovs-agent-2.3/OVSSiteHA.py", line 279, in ha_check_hostname_ip
raise Exception("check srv('%s') hostname/IP failed! => %s" % (hostname, errmsg))
>

StackTrace:
File "/opt/ovs-agent-2.3/OVSSiteCluster.py", line 602, in cluster_check_prerequisite
raise Exception(msg)


StackTrace:
File "/opt/ovs-agent-2.3/OVSSiteCluster.py", line 639, in _cluster_setup
_check(ret)
File "/opt/ovs-agent-2.3/OVSXCluster.py", line 344, in _check
raise OVSException(error=ret["error"])

2011-04-08 11:02:27.993 NOTIFICATION Failed setup cluster for agent 2.2.0...
2011-04-08 11:02:27.995 NOTIFICATION get one server pool
2011-04-08 11:02:27.996 ERROR Cluster Setup
2011-04-08 11:02:28.014 ERROR [Server Pool Management][Server Pool][spoo2]:During creating server pool (spoo2), cluster setup failed: (OVM-1011 OVM Manager communication with 192.168.30.127 for operation HA Setup for Oracle VM Agent 2.2.0 failed:
errcode=00000, errmsg=Unexpected error: failed:

)
2011-04-08 11:03:31.750 NOTIFICATION [Server Pool Management][Server Pool][null]:Starting to refresh server pool data...

从以上黑字部分发现在验证主机名/IP的时候没有验证通过导致的错误,在查看hosts文件后发现没有设置192.168.30.127的信息,于是添加进去:

[root@qqovm ~]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.30.127 qqovm[root@qqovm ~]#

再重新发布,问题解决:

2011-04-08 11:04:36.012 NOTIFICATION [Server Pool Management][Server Pool][spoo12]:Check prerequisites to create server pool (spoo12) succeed
2011-04-08 11:04:36.044 NOTIFICATION getUserListTable.
2011-04-08 11:04:46.075 NOTIFICATION Getting agent version for agent:192.168.30.127 ...
2011-04-08 11:04:46.669 NOTIFICATION The agent version is 2.3-38
2011-04-08 11:04:46.680 NOTIFICATION Start to create server pool process...
2011-04-08 11:04:46.681 NOTIFICATION master server is:192.168.30.127
2011-04-08 11:04:46.685 NOTIFICATION Starting to register master server...
2011-04-08 11:04:46.695 NOTIFICATION master server is:192.168.30.127
2011-04-08 11:04:46.695 NOTIFICATION Regisering server:192.168.30.127...
2011-04-08 11:04:49.532 NOTIFICATION Register Server: 192.168.30.127 success
2011-04-08 11:04:49.533 NOTIFICATION master server is:192.168.30.127
2011-04-08 11:04:49.533 NOTIFICATION Getting host info for server:192.168.30.127 ...
2011-04-08 11:04:51.293 NOTIFICATION master server is:192.168.30.127
2011-04-08 11:04:51.294 NOTIFICATION Starting to persist the server pool...
2011-04-08 11:04:51.294 NOTIFICATION Before commit insert data into manager db....
2011-04-08 11:04:51.298 NOTIFICATION Start to setup cluster for agent 2.2: HA status:false
2011-04-08 11:04:51.336 NOTIFICATION After commit insert data into manager db....
2011-04-08 11:04:51.336 NOTIFICATION After persist the server pool...
2011-04-08 11:04:51.337 NOTIFICATION [Server Pool Management][Server Pool][spoo12]:Create server pool (spoo12) starting.
2011-04-08 11:04:59.299 NOTIFICATION Success setup cluster for agent 2.2.0...
2011-04-08 11:04:59.299 NOTIFICATION Start to clean up virtual ip for server pool 2.2
2011-04-08 11:04:59.929 NOTIFICATION Success to clean up virtual ip for server pool 2.2...
2011-04-08 11:04:59.929 NOTIFICATION Making dir/OVS/iso_pool for master agent 192.168.30.127
2011-04-08 11:05:00.086 NOTIFICATION Making dir/OVS/seed_pool for master agent 192.168.30.127
2011-04-08 11:05:00.228 NOTIFICATION Making dir/OVS/publish_pool for master agent 192.168.30.127
2011-04-08 11:05:00.359 NOTIFICATION Making dir/OVS/sharedDisk for master agent 192.168.30.127
2011-04-08 11:05:00.502 NOTIFICATION Making dir/OVS/running_pool for master agent 192.168.30.127
2011-04-08 11:05:00.638 NOTIFICATION get one server pool
2011-04-08 11:05:15.086 NOTIFICATION [Server Pool Management][Server Pool][null]:Starting to refresh server pool data...
2011-04-08 11:05:15.902 NOTIFICATION master server is:192.168.30.127
2011-04-08 11:05:17.391 NOTIFICATION ServerPoolSync.run: sync OVM server status succeeded.
2011-04-08 11:05:17.478 NOTIFICATION ServerPoolSync.run: sync OVM server VT status succeeded.
2011-04-08 11:05:17.643 NOTIFICATION ServerPoolSync.run: update virtual machines performance statistics succeeded.
2011-04-08 11:05:20.149 NOTIFICATION ServerPoolSync.run: sync virtual machines status succeeded.
2011-04-08 11:05:20.217 NOTIFICATION ServerPoolSync.run: sync cluster master status succeeded.
2011-04-08 11:05:20.218 NOTIFICATION ServerPoolSync.run: sync agent version succeeded.
2011-04-08 11:05:20.218 NOTIFICATION [Server Pool Management][Server Pool][null]:End of refresh server pool data...
2011-04-08 11:05:25.500 NOTIFICATION [Server Pool Management][Server Pool][null]:Starting to refresh server pool data...
2011-04-08 11:05:25.621 NOTIFICATION master server is:192.168.30.127
2011-04-08 11:05:26.753 NOTIFICATION [Server Pool Management][Server Pool][null]:Starting to refresh server pool data...
2011-04-08 11:05:27.122 NOTIFICATION master server is:192.168.30.127
2011-04-08 11:05:27.312 NOTIFICATION ServerPoolSync.run: sync OVM server status succeeded.
2011-04-08 11:05:27.440 NOTIFICATION ServerPoolSync.run: sync OVM server VT status succeeded.
2011-04-08 11:05:28.106 NOTIFICATION ServerPoolSync.run: update virtual machines performance statistics succeeded.
2011-04-08 11:05:29.185 NOTIFICATION ServerPoolSync.run: sync OVM server status succeeded.
2011-04-08 11:05:29.248 NOTIFICATION ServerPoolSync.run: sync OVM server VT status succeeded.
2011-04-08 11:05:29.921 NOTIFICATION ServerPoolSync.run: update virtual machines performance statistics succeeded.
2011-04-08 11:05:30.436 NOTIFICATION ServerPoolSync.run: sync virtual machines status succeeded.
2011-04-08 11:05:30.485 NOTIFICATION ServerPoolSync.run: sync cluster master status succeeded.
2011-04-08 11:05:30.485 NOTIFICATION ServerPoolSync.run: sync agent version succeeded.
2011-04-08 11:05:30.485 NOTIFICATION [Server Pool Management][Server Pool][null]:End of refresh server pool data...
2011-04-08 11:05:30.972 NOTIFICATION ServerPoolSync.run: sync virtual machines status succeeded.
2011-04-08 11:05:31.030 NOTIFICATION ServerPoolSync.run: sync cluster master status succeeded.
2011-04-08 11:05:31.030 NOTIFICATION ServerPoolSync.run: sync agent version succeeded.
2011-04-08 11:05:31.030 NOTIFICATION [Server Pool Management][Server Pool][null]:End of refresh server pool data...
2011-04-08 11:05:59.315 NOTIFICATION master server is:192.168.30.127
2011-04-08 11:06:00.659 NOTIFICATION ServerPoolSync.run: sync OVM server status succeeded.
2011-04-08 11:06:00.721 NOTIFICATION ServerPoolSync.run: sync OVM server VT status succeeded.
2011-04-08 11:06:01.404 NOTIFICATION ServerPoolSync.run: update virtual machines performance statistics succeeded.
2011-04-08 11:06:03.693 NOTIFICATION ServerPoolSync.run: sync virtual machines status succeeded.
2011-04-08 11:06:03.748 NOTIFICATION ServerPoolSync.run: sync cluster master status succeeded.
2011-04-08 11:06:03.748 NOTIFICATION ServerPoolSync.run: sync agent version succeeded.
2011-04-08 11:08:05.794 NOTIFICATION master server is:192.168.30.127
2011-04-08 11:08:07.120 NOTIFICATION ServerPoolSync.run: sync OVM server status succeeded.
2011-04-08 11:08:07.194 NOTIFICATION ServerPoolSync.run: sync OVM server VT status succeeded.
2011-04-08 11:08:07.894 NOTIFICATION ServerPoolSync.run: update virtual machines performance statistics succeeded.
2011-04-08 11:08:10.154 NOTIFICATION ServerPoolSync.run: sync virtual machines status succeeded.
2011-04-08 11:08:10.208 NOTIFICATION ServerPoolSync.run: sync cluster master status succeeded.
2011-04-08 11:08:10.208 NOTIFICATION ServerPoolSync.run: sync agent version succeeded.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10130206/viewspace-1048410/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10130206/viewspace-1048410/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值