暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

如何在VMware Workstation虚拟机上快速部署AntDB社区版-编辑分布式安装配置文件

手机用户6460 2023-09-18
202

编辑分布式安装配置文件

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亿多用户提供在线服务,具备高性能、弹性扩展、高可靠等产品特性,峰值每秒可处理百万笔通信核心交易,保障系统持续稳定运行近十年,并在通信、金融、交通、能源、物联网等行业成功商用落地。

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论