编辑分布式安装配置文件
cd /home/antdb/antdb-ce-7.2.0.openeuler20.x86_64/setup/common
vi initconf-d.ini
## clusterinfo 配置项说明:
##
## cluster_type 分类:
## D 表示分布式版本:需要配置此文件内所有信息
## cluster_name:数据库集簇的名称
## cluster_user: 数据库的超级用户,一般设定为执行此安装程序的操作系统用户
[clusterinfo]
cluster_type = D
cluster_name = antdbcluster
cluster_user = antdb
## mgr_info 配置项说明(mgr 为分布式管理节点):
##
## antdb_apppath:mgr 节点数据库程序目录
## antdb_datapath:mgr 节点数据库的数据目录;需要设定为空目录,且不要和其它配置项中的目录交叉
## antdb_password:数据库的超级用户的初始密码(超级用户名参见 “cluster_user”)
## antdb_port:mgr 节点数据库端口号
## primary_ip:mgr 节点数据库 ip,即执行此安装程序的主机 ip
## primary_sshport:执行此安装程序的主机的 SSH 服务端口号
[mgr_info]
primary_ip = 192.168.37.130 ###管理节点mgr的ip地址
primary_sshport = 22
antdb_apppath = /home/antdb/app1/antdb ###antdb软件目录
antdb_datapath = /home/antdb/data/mgr ###antdb mgr管理节点目录
antdb_password = antdb
antdb_port = 6656
关于AntDB数据库
AntDB数据库始于2008年,在运营商的核心系统上,为全国24个省份的10亿多用户提供在线服务,具备高性能、弹性扩展、高可靠等产品特性,峰值每秒可处理百万笔通信核心交易,保障系统持续稳定运行近十年,并在通信、金融、交通、能源、物联网等行业成功商用落地。