Ambari ambari 集群 升级 HA

本文介绍在Amabri集群中手动升级NN至NNHA的过程。包括检查集群配置、停止并启动服务、通过Amabri Web界面启用NameNode高可用性等步骤。适用于已安装Amabri集群但未配置NNHA的场景。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

 

 

 

Amabri 集群 常规安装完成后 未单节点 NN 需手动升级  NN HA

步骤:

1.Check to make sure you have at least three hosts in your cluster and are running at least three ZooKeeper servers.

2.Check to make sure that the HDFS and ZooKeeper services are not in Maintenance Mode.

3.These services will be stopped and started when enabling NameNode HA. Maintenance Mode will prevent those start and stop operations from occurring. If the HDFS or ZooKeeper services are in Maintenance Mode the NameNode HA wizard will not complete successfully.

4.In Ambari Web, select Services > HDFS > Summary. (重点,很多朋友找不到开启HA服务的位置)

5.Select Service Actions and choose Enable NameNode HA.

6.The Enable HA Wizard launches. This wizard describes the set of automated and manual steps you must take to set up NameNode high availability.

7.Get Started : This step gives you an overview of the process and allows you to select a Nameservice ID. You use this Nameservice ID instead of the NameNode FQDN once HA has been set up. Click Next to proceed.

后续内容参考下官网,英文不好的使用翻译软件,不难。

官网原文参考:
http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Ambari_Users_Guide/content/_how_to_configure_namenode_high_availability.html 

关键步骤如图:

 

第二个 NN   JN 骑数个 建议 3 、5 、7 

启动   NN    节点上 启动 JN

启动   NN    节点上 启动 JN

 

 

  启动 zkfc 

 

 

转载于:https://www.cnblogs.com/kxgdby/p/9211541.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值