当前位置:网站首页>【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级存储、毫秒级时延、无损水平扩展和复杂数据结构等特性。同时具备丰富的生态、便捷的迁移、极低的运维成本和五个九高可用等特点。客户覆盖游戏、互联网、政务、金融、制造和物联网等领域。
边栏推荐
- 生成二叉搜索平衡树[利用树递归特性]
- spdlog记录日志示例 - 使用sink创建logger
- Variable declaration of go language
- This year's cultural entertainers have turned their sidelines into their main business
- VIM backup history command
- 现在我要买股票,怎么开户?手机开户安全么?
- Important knowledge of golang: atomic atomic operation
- How to open a stock account? Is online account opening safe?
- 30. concatenate substrings of all words
- Explore the "store" on the cloud. The cloud store is newly upgraded!
猜你喜欢

Important knowledge of golang: atomic atomic operation

MySQL transactions and locks

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

Embedded software architecture design - program layering

Stone from another mountain - Intelligent Question and answer technology in wechat search

Convert JSON file of labelme to coco dataset format

window远程桌面连接互传文件加速小技巧
The idea and method of MySQL master-slave only synchronizing some libraries or tables
![生成二叉搜索平衡树[利用树递归特性]](/img/b3/f8edf45bdfdced7c3698088dbf7d84.png)
生成二叉搜索平衡树[利用树递归特性]

30. 串联所有单词的子串
随机推荐
中大人脸素描FERET数据库(CUFSF)
XML
怎样快速的应对变动的生产管理需求?
批量注册组件
Detailed explanation of MQ message oriented middleware theory
139. 单词拆分
OpenResty 基础
513. Find Bottom Left Tree Value
JSON——学习笔记(消息转换器等)
解决:在验证阶段,第一个batch不会报错,第二个batch报cuda超出的错误
C. Add One--Divide by Zero 2021 and Codeforces Round #714 (Div. 2)
B. AND 0, Sum Big-Codeforces Round #716 (Div. 2)
Large area and availability area
请问期货开户去哪个平台好?网上期货开户安全吗?
Analysis of graphical level-1 programming problem of Electronic Society: cat and mouse
The "shoulder" of sales and service in the heavy truck industry, Linyi Guangshun deep ploughing product life cycle service
数组自带的方法
C. Set or Decrease-Educational Codeforces Round 120 (Rated for Div. 2)
How to open a stock account? Is online account opening safe?
spdlog记录日志示例 - 使用sink创建logger

