本文主要是介绍ambari改造预研,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
目标
1.支持apache,cdh版本
2.支持旧集群部署
3.可以自己扩展监控项
修改
1.服务启动时需要添加sink对应的参数
问题
1.能否支持hdp外的其他版本
Set up generic puppet module architecture to manage both HDP and CDH (and Apache?) stacks
Can-we-install-Ambari-on-a-Cloudera-Manager-existing-cluster
ambari-server-installation-after-cluster-setup.html
This would be quite challenging and complex as you will have to perform fresh Ambari setup and complete Ambari Takeover of existing HDP cluster in absence of database backup. You have three options:
1. If cluster is not production and there is feasibility of cleaning up the cluster, then I would recommend to clean up the cluster and setup fresh one using Ambari. This would save you a lot of time. Even if there is some data, just weigh in time and effort trade off for backing up data and doing fresh install vs performing Ambari Takeover as explained at high level in next two options.
2. Cluster Takeover using Ambari APIs
● Setup Ambari Server and Ambari database as earlier on new machine.
● Update Ambari-Agents to point to Ambari-server host.
● Use Ambari APIs to perform cluster takeover i.e. add cluster, add hosts, register services and components, register host components. Refer below for Ambari APIs.
https://cwiki.apache.org/confluence/display/AMBARI…
3. Third option would be to perform a dummy cluster install using Ambari and then updating configs in Ambari.
Note: Ensure that you take database, install directories and config backups at regular frequency going forward and move those to another backup server or HDFS to avoid further issues due to hardware failures.
2.后台数据配置,目录配置如何调整
待续
3.二次开发参考
ambari2.4.2在CentOS7上的二次开发
EmiChan Ambari 2.4.0编译总结
4.如何继承nagios,ganglia
应该已经替换掉,使用ambari metrics
https://issues.apache.org/jira/browse/AMBARI-5707
https://issues.apache.org/jira/browse/AMBARI-6354
https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_upgrading_Ambari/content/_moving_from_nagios_to_ambari_alerts.html
这篇关于ambari改造预研的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!