AntDB-S安装部署(1):安装前准备与用户配置

1.安装前准备

本章节介绍安装AntDB-S前需要整备的硬件设备和操作系统。

1.1操作系统

本章节介绍AntDB兼容的常见操作系统版本。

操作系统版本

说明

Red Hat Enterprise Linux

7.5及以上

CentOS

7.5及以上

Ubuntu

16.04 及以上

1.2硬件环境

本章节介绍安装AntDB需要的硬件配置。

基础环境

配置内容

CPU

建议不小于 16 核

物理内存

大于 32G

硬盘剩余空间

根据实际业务需求 ,冗余 10%

1.3安装文件

请联系AntDB-S研发人员获取

# 顶层必须指定 source,指向合并后的数据源 source: merged_source # 关键:关联到下面定义的 merged_source # -------------------------- # 1. 定义第一个 MySQL 实例的 source # -------------------------- source_setl_d_01_04: type: mysql hostname: 10.xxx.xxx.xxx port: 3311 username: antdb_cdc password: "xxxxx" tables: "db0[1-4]\\.setl_d" server-id: 15400-15449 jdbc.properties.serverTimezone: 'Asia/Shanghai' scan.startup.mode: latest-offset # -------------------------- # 2. 定义第二个 MySQL 实例的 source # -------------------------- source_setl_d_57_60: type: mysql hostname: 10.xxx.xxx.xxx port: 3312 username: antdb_cdc password: "xxxxx" tables: "db5[7-9]|db60\\.setl_d" server-id: 15450-15499 jdbc.properties.serverTimezone: 'Asia/Shanghai' scan.startup.mode: latest-offset # -------------------------- # 3. 合并多个 source # -------------------------- merged_source: type: union sources: # 复数形式,正确关联多个源 - source_setl_d_01_04 - source_setl_d_57_60 # -------------------------- # 4. 其他配置(sink、route、pipeline) # -------------------------- sink: type: doris fenodes: 10.xxx:8030 username: root password: "hI85x" table.create.properties.light_schema_change: true table.create.properties.replication_num: 1 sink.write.mode: upsert route: - source-table: "db0[1-4]\\.setl_d|db5[7-9]\\.setl_d|db60\\.setl_d" sink-table: "doris_db.all_setl_d" pipeline: name: Sync_Multi_MySQL_to_Doris parallelism: 8 job.timeout: 3600000 给我你修改后的
最新发布
07-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值