Let's go

TDengine涛思数据库-集群操作

使用的两台服务器进行集群配置

 配置h1节点   

 cat /etc/hostname

 cat /etc/hosts

taos配置  

vim /etc/taos/taos.cfg

 配置节点2

 cat /etc/hostname

 cat /etc/hosts

taos配置  

vim /etc/taos/taos.cfg

 注意:节点2这儿的firstEp和节点1保持一致

 

 

登录节点1taos数据库

taos -- 没密码

taos -uroot -p12345 --root为账号、12345为密码

添加dnode

create dnode "h2.taosdata.com:6030"

 windows下配置

由于Windows暂时只支持部署客户端,所以我们只需要配置FQDN的解析即可

以Win10为例,大家需要修改 C:\Windows\System32\drivers\etc 目录下的hosts文件

 

posted @ 2025-07-17 16:29  chenze  阅读(76)  评论(0)    收藏  举报
有事您Q我