I installed the Cloudera Manager 4 on a 1GbE default setup on eth0/bond0 and now I need to use 10GbE or Infiniband IB or 40GbE without the reinstall. How I did it!!
The assumptions here are that you already have a CM 4.x already installed with the default embedded postgres DB on a linux server
. If you want to learn how-to just ask...
Let's start here where I have a 3 cluster setup with yosemite001 - yosemite003
hostname = yosemite00[1-3].somedomain.com = CM Installed on 1GbE
- Shutdown all services
- service cloudera-scm-agent stop on all nodes
- service cloudera-scm-server stop on CM server
From here if you have a paid or supported version, You are about to lose it or maybe they say "Cool good job!!" proceed at your own risk...
from the CM Server
as root su – postgres (If you have installed on a different database then login using that credentials)
psql -h localhost -p 7432 -U scm
à When asked for the password open another terminal and run
[root@yosemite001 ~]# grep password /etc/cloudera-scm-server/db.properties
com.cloudera.cmf.db.password=TVkDZxuNCw
paste the password & you should see the scm prompt
scm=> select host_id,host_identifier,name,ip_address from hosts; --> Check the current config and save the values in a file/notepad you will need this if you need to flip back.
host_id | host_identifier | name | ip_address
---------+-----------------------+-----------------------+----------------
2 | yosemite001.somedomain.com | yosemite001.somedomain.com | 192.168.0.11
3 | yosemite002.somedomain.com | yosemite002.somedomain.com | 192.168.0.12
4 | yosemite003.somedomain.com | yosemite003.somedomain.com | 192.168.0.13
(3 rows)
scm=> update hosts set (host_identifier,name,ip_address) = ('yosemite001-10g.somedomain.com','yosemite001-10g.somedomain.com','192.168.10.11') where host_id=2;
UPDATE 1
Update all the other rows.
Check if the updates went through
scm=> select host_id,host_identifier,name,ip_address from hosts;
host_id | host_identifier | name | ip_address
---------+-------------------------------------+---------------------------------------+----------------
3 | yosemite002.somedomain.com | yosemite002.somedomain.com | 192.168.0.12
4 | yosemite003.somedomain.com | yosemite003.somedomain.com | 192.168.0.13
2 | yosemite001-somedomain.com | yosemite001-ib.somedomain.com | 192.168.10.11
(3 rows)
Exit the tool “\q;”
edit the /etc/cloudera-scm-agent/config.ini and update the server and the listen ip & hostname section on all nodes to the new interface ip & address
edit /etc/sysconfig/network with the new hostname for the interface
run hostname yosemite001-10g (Update all hostnames on the servers)
run “exec bash” and verify the hostname change is done
Run on the CM Server
chkconfig cloudera-scm-server on
service cloudera-scm-server start
Run the following on all the nodes
chkconfig cloudera-scm-agent on
service cloudera-scm-agent start on all the nodes
Login to the GUI verify the host changes and “Good health”
Force CM to rerun the configuration to register the changes (mimic changes and revert to force CM a rerun of config )
Go to the hdfs->system-wide config edit/changes and make any minimal changes and save and revert back to original and save
Do the same for mapreduce as well
Restart the services
Verify the client functionality by running Terasort.
转自: http://bigdata-helpline.blogspot.com/2013/03/change-ip-or-hostname-for-already.html
另外两篇修改主机名文章:
https://groups.google.com/a/cloudera.org/forum/#!msg/scm-users/m2U9m4BfH0w/lGoq_UvOs-oJ
https://groups.google.com/a/cloudera.org/forum/#!topic/scm-users/eyaN5p5cl8o
相关推荐
Cloudera Manager API调用实例(JAVA版),已通过测试可用。Cloudera Manager API调用实例(JAVA版),已通过测试可用。
Cloudera Manager API v32 Introduced in Cloudera Manager 6.2.0 Cloudera Product Documentation
Cloudera Manager安装部署.pdf
适用于CDH最后的一个免费版本的CDH6.3.2,用于CDH的本地源搭建.这部分是Cloudera Manager部分
cloudera-manager-agent-6.3.1-1466458.el7.x86_64.rpm, cloudera-manager-daemons-6.3.1-1466458.el7.x86_64.rpm, cloudera-manager-server-6.3.1-1466458.el7.x86_64.rpm, cloudera-manager-server-db-2-6.3.1-...
Cloudera Manager6.2.1
cloudera manager中添加hive数据库使用mysql的配置的详细步骤
grafana的cloudera manager插件,由于开源的grafana cdh插件在集成时会出现dateMath.parse is not a function问题,修复后可直接使用。本资源包是修复问题后的,可直接放到grafana plugins文件夹下,即可使用。
花一个星期整理的cdh cm中文api 绝对完整,一个不漏
cloudera manager的运行机制及目录,cloudera manager的运行机制及目录。
ClouderaManager-中文手册-实战总结.pdf 挺全面的。 对于CM的使用,是个不错的介绍。 仅供个人学习、参考。
Cloudera Manager大数据平台视频教程 特点如下: 统一化的可视化界面 自动部署和配置,大数据各类组件安装、调优极其便捷 零停机维护(免费版本不具有弹性升级) 多用户管理(权限控制,支持ldap) 稳定性极好(部分...
Cloudera Manager-V5.13 元数据库梳理.pdfCloudera Manager-V5.13 元数据库梳理.pdfCloudera Manager-V5.13 元数据库梳理.pdfCloudera Manager-V5.13 元数据库梳理.pdfCloudera Manager-V5.13 元数据库梳理....
Cloudera Manager安装手册(离线parcels存储库方式),基于CentOS操作系统一步步傻瓜式安装,截图记录整个部署过程。带集群功能验证,检查集群是否正常工作 目录 一、文档内容 3 二、软硬件环境 3 2.1.软件信息 3 ...
CLOUDERA-Manager_中文手册(全 高清)+ CDH安装手册.pdf
Cloudera Manager大数据平台视频教程,25讲,附课件+代码,百度网盘下载
Cloudera Manager大数据平台运维操作指南.docx
大数据集群Cloudera Manager日常运维手册.docx
ClouderaManager官方的中文运维手册,有需要的同学拿走。。
本文档包括ClouderaManager的管理功能、监控功能、诊断功能、集成功能以及高级功能的kerberos集成向导、多租户资源管理和各组件监控等