错误细节:
启动HA时,一台ESX主机可正确配置,另外一台配置出错,错误信息如下:
--------------------------------------------------------------------------------------------------------------------------------------------------------
HA 代理出现错误 : cmd addnode failed for secondary node: Internal AAM Error - agent could not start.: 未知HA错误
--------------------------------------------------------------------------------------------------------------------------------------------------------
或(英文错误信息):
--------------------------------------------------------------------------------------------------------------------------------------------------------
HA agent has an error : cmd addnode failed for primary node: Internal AAM Error - agent could not start. : Unknown HA error.
--------------------------------------------------------------------------------------------------------------------------------------------------------
错误原因:
集群中的两台主机无法相互正确进行解析。
解决办法:
- 方法一:(推荐)
在两台主机上分别手动配置hosts文件,示例如下:
-----------------------------------------------------------------------------------------------------
[root@servera ~]# cat /etc/hosts
127.0.0.1 localhost
::1 localhost
192.168.120.1 servera.vmware.com servera
192.168.120.2 serverb.vmware.com serverb
-----------------------------------------------------------------------------------------------------
注意:切记加上后面的去掉域名的servera和serverb
- 方法二:
配置DNS服务器,在DNS服务器中配置相关集群主机的信息
没有评论:
发表评论