dolphinscheduler 3.2.1 集群安装部署笔记

dolphinscheduler 3.2.1 集群安装部署笔记

1. 集群角色分配

服务器 ip 角色 配置
centos-1 192.168.56.101 zookeeper,master,worker 4核8G
centos-2 192.168.56.102 zookeeper,master,worker,alert-server 4核8G
centos-3 192.168.56.103 zookeeper,worker,mysql,api-server 4核8G

2. 前置条件

[root@centos-1 ~] vim xcall # 将附录1的内容拷入,保存
[root@centos-1 ~] vim xsync # 将附录2的内容拷入,保存
[root@centos-1 ~] cp xcall /bin/ 
[root@centos-1 ~] cp xsync /bin/ 
  • 其他注意事项
    资料很多,遇到问题随时搜索即可。

3. 创建必要的文件夹

[root@centos-1 ~] mkdir -p /opt/software # 用于存放安装包
[root@centos-1 ~] mkdir -p /opt/module # 安装目录

4. 安装 datax

4.1. 下载datax

[root@centos-1 software] wget http://datax-opensource.oss-cn-hangzhou.aliyuncs.com \
/datax.tar.gz

4.2. 解压

[root@centos-1 software] tar -zxvf datax.tar.gz -C /opt/module/

4.3. 配置

[root@centos-1 software] rm -rf /opt/module/datax/plugin/*/._*

4.4. 自检

[root@centos-1 software] cd /opt/module/datax
[root@centos-1 datax] python2 bin/datax.py job/job.json

4.5. 拷贝到其他虚拟机(xsync 脚本附后)

[root@centos-1 datax] cd ..
[root@centos-1 module] xsync datax

5. 安装 dolphinescheduler

5.1. 下载

[root@centos-1 software] wget https://mirrors.aliyun.com/apache/dolphinscheduler /3.2.1/apache-dolphinscheduler-3.2.1-bin.tar.gz

5.2. 解压

[root@centos-1 software] tar -zxvf apache-dolphinscheduler-3.2.1-bin.tar.gz -C /opt/module
[root@centos-1 software
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值