基于Ambari的WebUI实现集群扩容案例

                                     作者:尹正杰

版权声明:原创作品,谢绝转载!否则将追究法律责任。

 

 

 

一.将HDP的服务托管给Ambari服务

1>.点击“Service Auto Start”

基于Ambari的WebUI实现集群扩容案例

2>.进入到"Server Auto Start"的管理界面

基于Ambari的WebUI实现集群扩容案例

3>.勾选需要随着Ambari启动而启动的HDP服务组件

基于Ambari的WebUI实现集群扩容案例

 4>.确认保存

基于Ambari的WebUI实现集群扩容案例

 

二.扩容节点准备环境

1>.配置Ambari服务器与将要扩容的节点免密登录

[root@hdp101.yinzhengjie.org.cn ~]# ssh-copy-id root@hdp104.yinzhengjie.org.cn
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub"
The authenticity of host 'hdp104.yinzhengjie.org.cn (172.200.1.104)' can't be established.
ECDSA key fingerprint is SHA256:y6iS5ipSyWSGRmgcjivbWhd78pKfrcuQHeBPd5H9/U8.
ECDSA key fingerprint is MD5:da:0f:2a:93:c0:d4:6e:7e:13:16:61:f1:93:a7:38:01.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@hdp104.yinzhengjie.org.cn's password: 

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'root@hdp104.yinzhengjie.org.cn'"
and check to make sure that only the key(s) you wanted were added.

[root@hdp101.yinzhengjie.org.cn ~]# 
[root@hdp101.yinzhengjie.org.cn ~]# 
[root@hdp101.yinzhengjie.org.cn ~]# ssh root@hdp104.yinzhengjie.org.cn
Last login: Tue Feb 18 23:32:24 2020 from 172.200.0.1
[root@hdp104.yinzhengjie.org.cn ~]# 
[root@hdp104.yinzhengjie.org.cn ~]# who
root     pts/0        2020-02-18 23:32 (172.200.0.1)
root     pts/1        2020-02-18 23:34 (172.200.1.101)
[root@hdp104.yinzhengjie.org.cn ~]# 
[root@hdp104.yinzhengjie.org.cn ~]# exit 
logout
Connection to hdp104.yinzhengjie.org.cn closed.
[root@hdp101.yinzhengjie.org.cn ~]# 
[root@hdp101.yinzhengjie.org.cn ~]# who
root     pts/0        2020-02-18 15:28 (172.200.0.1)
[root@hdp101.yinzhengjie.org.cn ~]# 
[root@hdp101.yinzhengjie.org.cn ~]# 
[root@hdp101.yinzhengjie.org.cn ~]# ssh-copy-id root@hdp104.yinzhengjie.org.cn

相关文章:

  • 2021-08-14
  • 2021-08-21
  • 2021-06-26
  • 2021-05-11
  • 2021-12-03
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-01
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案