4.6版本卸载argo

heqi 2周前
33次浏览 0人关注 复制链接 所属标签: 卸载 排查 重装

1.从ambari关闭自动启动

2.在ambari上关闭所有服务

3.到ark1上关闭ambari-server

4.到每个服务器节点关闭ambari-agent

5.关闭ark1的nginx服务

ps -ef | grep nginx | grep -v grep | grep 'nginx: master' | awk '{print $2}' | xargs kill -QUIT

6.关闭本地yum源服务

登录ark1

umount /opt/soft/analysys_installer/ambari/centos/centos7

kill -9 `netstat -lntp|grep 9381|grep python|awk '{print $7}'|awk -F/ '{print $1}'`

rm -rf /etc/yum.repos.d/bk

7.停止mysql /etc/init.d/analysys-mysqld stop

8.删除应用和数据服务,然后删除所有数据盘(每台都操作)

yum remove ark-* *netty* streaming* arknotice* presto* pika* hue kudu-* -y

rm -rf /data1/hadoop/ /data1/journal/ /data1/kafka-logs/ /data1/zookeeperdir/ /data1/netty/ /data1/kudu/

rm -rf /data2/hadoop/ /data2/journal/ /data2/kafka-logs/ /data2/zookeeperdir/ /data2/netty/ /data2/kudu/

……

rm -rf /data9/hadoop/ /data9/journal/ /data9/kafka-logs/ /data9/zookeeperdir/ /data9/netty/ /data9/kudu/

rm -rf /data10/hadoop/ /data10/journal/ /data10/kafka-logs/ /data10/zookeeperdir/ /data10/netty/ /data10/kudu/
……
rm -rf /data/micro-services/* /metadata/pika /metadata/kudu


暂无回答