当前位置:网站首页>【TcaplusDB知识库】Tmonitor后台一键安装介绍(二)
【TcaplusDB知识库】Tmonitor后台一键安装介绍(二)
2022-06-23 15:28:00 【数据库大师】
一键安装脚本修改
B.将Tmonitor2注册为一个监控服务器

C.将Tmonitor2也注册为一个业务,可以被Tmonitor1监控,实现互相监控

D.脚本安装后的手工起进程步骤
./tmonitor_install.pl install 脚本安装后需要手动启动tagent、tcenterd、tcmcenter、dc_tconnd、dcsvr、sasvr等进程(由于一些配置需要改动)
Tagent:

修改后重启
Tcenterd:

修改后重启
Tcmcenter: 需要先修改host.xml里的准确IP地址,然后重启
Dc_tconnd:在以上几个进程启动成功后,进入tcmconsole里start
Dcsvr:使用以下命令修改dcsvr.xml的配置,然后启动进程
sed -i '/DBMSHost/c 10.59.41.57' dcsvr.xml
sed -i '/DBMSPassword/c XXXXX' dcsvr.xml
sed -i '/DBName/c tmonitor2_db' dcsvr.xml <----------填写A-5建立的库名
sed -i '/DBMSUser/c tmonitor' dcsvr.xml
Sasvr:需要修改sasvr.xml里面连的db(修改为前端页面使用的db,即tmonitor_center_db)和weburl
E. Tmonitor2安装完毕
第一个监控Tmonitor1安装配置
负责监控Tcaplus集群的Tmonitor1需要为自己添加dc_tconnd和dcsvr进程上报自身的状态,方能给tmonitor2监控。以下是配置步骤:
A. 准备工作
cd ~/tmonitor_install
cp -rp dc_tconnd_1 dc_tconnd_9
cp -rp dcsvr_1 dcsvr_9
B.为Tmonitor1建库建表
Vim init_some_tables.sql

mysql -h10.59.41.57 -uroot -ptcaplus#2003
create database tmonitor1_db;
Use tmonitor1_db;
source create_tables.sql
source init_some_tables.sql
C.配置dc_tconnd
1.修改dc_tconnd_9的配置文件xml

2.修改dc_tconnd_9的日志配置文件tconnd_log.xml

3.修改dc_tconnd_9的进程启动、停止脚本里的id

D.配置dcsvr_9
1.修改dcsvr_9的配置文件xml,确保存在sasvr和dcsvr两个进程项(可修改其他的进程项,因为这里只需要用到sasvr和dcsvr)

2.修改dcsvr_9的日志配置文件dcsvr_log.xml(此处进程ID得和C-1的修改值一致)

3.修改dcsvr_9的进程启动、停止脚本里的id(此处进程ID得和C-1的修改值一致)

E.将dc_tconnd_9和dcsvr_9添加到tcm管理,并为他们下发tbus通道,最后启动dc_tconnd_9和dcsvr_9
1.添加进程信息到proc_deploy.xml

2.重启tcmcenter
3.从tcmconsole里下发tbus通道:refreshbuscfg ...
4.到各自的bin目录下启动进程:./start_tconnd.sh; ./start_dcsvr.sh
F.为受控Tmonitor1进程做配置、采集策略下发、告警策略配置
1.Tmonitor1的web基础配置

2.采集策略下发

3.采集策略下发后观察几分钟,如下图为正常

4.添加默认告警接收者和配置告警策略
更多信息请关注TcaplusDB微信公众号,风里雨里,我们一直在等你!

TcaplusDB是腾讯出品的分布式NoSQL数据库,存储和调度的代码完全自研。具备缓存+落地融合架构、PB级存储、毫秒级时延、无损水平扩展和复杂数据结构等特性。同时具备丰富的生态、便捷的迁移、极低的运维成本和五个九高可用等特点。客户覆盖游戏、互联网、政务、金融、制造和物联网等领域。
边栏推荐
- Important knowledge of golang: rwmutex read / write lock analysis
- C. Add One--Divide by Zero 2021 and Codeforces Round #714 (Div. 2)
- Do you understand Mipi c-phy protocol? One of the high-speed interfaces for mobile phones
- Half wave loss equal thickness and equal inclination interference
- 《ThreadLocal》
- golang 重要知识:waitgroup 解析
- A transformer can only convert alternating current. How can I convert direct current?
- 图片读取:Image.open(ImgPath)
- Glibc NPTL library pthread_ mutex_ Lock and pthread_ mutex_ Analysis of unlock
- Sorting out and summarizing the handling schemes for the three major exceptions of redis cache
猜你喜欢
![[普通物理] 半波损失 等厚与等倾干涉](/img/66/e0acce623092ecd38e59e38867521d.png)
[普通物理] 半波损失 等厚与等倾干涉

5 minutes to quickly launch web applications and APIs (vercel)

Important knowledge of golang: timer timer

Redis集群操作的方法
![生成二叉搜索平衡树[利用树递归特性]](/img/b3/f8edf45bdfdced7c3698088dbf7d84.png)
生成二叉搜索平衡树[利用树递归特性]

Leetcode 450.删除二叉搜索树中的结点

Matlab| sparse auxiliary signal denoising and pattern recognition in time series data

Sleuth + Zipkin

30. 串联所有单词的子串
The idea and method of MySQL master-slave only synchronizing some libraries or tables
随机推荐
服务器的部署及使用说明
How to open a stock account? Is online account opening safe?
Detailed explanation of MQ message oriented middleware theory
生成二叉搜索平衡树[利用树递归特性]
513. Find Bottom Left Tree Value
labelme的JSON文件转成COCO数据集格式
Charge pump principle handout, how is the voltage "pumped"?
Android kotlin collaboration Async
Diffraction of light
freemark 使用ftl文件 生成word
Apple iPhone, Samsung mobile phone and other electronic products began to enter Russia through parallel import channels
数组自带的方法
Thymeleaf——学习笔记
C. Product 1 Modulo N-Codeforces Round #716 (Div. 2)
[MAE]Masked Autoencoders掩膜自编码器
matlab: 如何从一些数据里知道是由哪些数据相加得出一个已知数
golang 重要知识:sync.Once 讲解
mysql事务与锁
How strong is Jingdong's takeout after entering meituan and starving the hinterland?
139. 單詞拆分

