CDH上Cloudera Management Service 各个角色迁移至其他节点

1.首先查看Cloudera Management Service下有哪些服务,cdh版本为5.9.2:

可以看到基本上有以上6个角色;

2、停止所有角色,并执行删除;

3.找到集群中另外一个节点,添加对应角色,我这里添加到hadoopNode4上:

元数据库为mysql,在hadoopNode6上;

需要将mysql驱动器scp到hadoopNode4上;

[root@hadoopNode6:/etc/yum.repos.d]# scp /usr/share/java/mysql-connector-java.jar hadoopNode4:/usr/share/java/
The authenticity of host 'hadoopnode4 (192.168.33.96)' can't be established.
RSA key fingerprint is 4f:77:13:cc:24:b7:b7:23:32:d0:fa:31:5d:ff:e0:2a.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'hadoopnode4,192.168.33.96' (RSA) to the list of known hosts.
mysql-connector-java.jar 

 

 点击继续,然后启动新添加的服务;

 

 3.到cm dashboard中查看,提示有过期配置,重启过时服务;

重启完后,查看dashboard,恢复正常;

注意:可以看到之前的监控数据都没有了,假如需要之前监控数据不丢失的话,那是另外一种迁移办法:

要备份监控数据,然后转移至新节点;我们这里监控数据丢失影响不大,所以可以采用这种方式;

posted @ 2018-07-06 14:12  gongxiucheng  阅读(7631)  评论(1编辑  收藏  举报