Ambari界面配置安装集群在Confirm Hosts项报错Registry Failed节点注册失败

设置到confirm hosts项时,确保节点间配置好ssh免密登录,如果遇到Registry Failed问题,Agent向Server注册失败,需要在所有节点的

/etc/amabri-agent/conf/ambari-agent.ini 文件的 [security] 项加上

force_https_protocol=PROTOCOL_TLSv1_2

效果如下:

[security]
keysdir=/var/lib/ambari-agent/keys
server_crt=ca.crt
passphrase_env_var_name=AMBARI_PASSPHRASE
ssl_verify_cert=0
credential_lib_dir=/var/lib/ambari-agent/cred/lib
force_https_protocol=PROTOCOL_TLSv1_2
credential_conf_dir=/var/lib/ambari-agent/cred/conf
credential_shell_cmd=org.apache.hadoop.security.alias.CredentialShell

参考链接:
https://community.cloudera.com/t5/Support-Questions/ambari-agents-cannot-reach-ambari-server-after-changing/m-p/193251

——————————————————————————————
本文为个人记录所用,如有侵权/错误,恳请指出 (╹▽╹)…

你可能感兴趣的:(运维)