环境:
操作系统: AIX 5300-08
集群软件: CRS 10.2.0.1
数据库: Oracle 10.2.0.1
故障现象:
在构建AXI RAC时,从一个node同步hacmp配置到另一个node时,出现以下错误:
Verification to be performed on the following:
Cluster Topology
Cluster Resources
Verification will automatically correct verification errors.
Retreiving data from available cluster nodes. This could take a few minutes....
Verifying Cluster Topology...
ERROR: Invalid loopback or localhost address on node: aix215.
ERROR: Invalid loopback or localhost address on node: aix216.
Verifying Cluster Resources...
processing RG: oradata10g
ERROR: The HACMP timestamp file for shared volume group: racvg is inconsistent
with the time stamp in the VGDA for the following nodes: aix215 aix216
Starting Corrective Action: cl_resource_modify_vg_time_stamp.
<01> Setting HACMP timestamp for volume group: racvg to 53df30970aea2ef4 on node: aix215: PASS
<02> Setting HACMP timestamp for volume group: racvg to 53df30970aea2ef4 on node: aix216: PASS
-----------------------------------------------------------------
1 problem(s) were resolved.
Verification exiting with error count: 2
cldare: Failures detected during verification. Please correct
the errors and retry this command.
Verification has completed normally.
解决方法:
检查发现,/etc/hosts被修改:
[root@aix215 /]# cat /etc/hosts
127.0.0.1 localhost
192.168.8.215 aix215
192.168.8.216 aix216
192.168.8.209 aix215-vip
192.168.8.210 aix216-vip
10.10.10.215 aix215-priv
10.10.10.216 aix216-priv
更改为:
127.0.0.1 loopback localhost # loopback (lo0) name/address
192.168.8.215 aix215
192.168.8.216 aix216
192.168.8.209 aix215-vip
192.168.8.210 aix216-vip
10.10.10.215 aix215-priv
10.10.10.216 aix216-priv
@重新同步hacmp,问题解决!