当前位置:网站首页>[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (II)
[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (II)
2022-06-23 16:03:00 【Database master】
One click installation script modification
B. take Tmonitor2 Register as a monitoring server

C. take Tmonitor2 Also registered as a business , Can be Tmonitor1 monitor , Realize mutual monitoring

D. Manual start-up steps after Script Installation
./tmonitor_install.pl install The script needs to be started manually after installation tagent、tcenterd、tcmcenter、dc_tconnd、dcsvr、sasvr Wait for the process ( Because some configurations need to be changed )
Tagent:

Restart after modification
Tcenterd:

Restart after modification
Tcmcenter: It needs to be modified first host.xml The accuracy in IP Address , And then restart
Dc_tconnd: After the above processes are started successfully , Get into tcmconsole in start
Dcsvr: Use the following command to modify dcsvr.xml Configuration of , And then start the process
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 <---------- Fill in A-5 Created library name
sed -i '/DBMSUser/c tmonitor' dcsvr.xml
Sasvr: Need modification sasvr.xml It's connected db( Modify the... Used for the front-end page db, namely tmonitor_center_db) and weburl
E. Tmonitor2 Installation completed
The first monitoring Tmonitor1 Installation configuration
Responsible for monitoring Tcaplus Clustered Tmonitor1 You need to add dc_tconnd and dcsvr The process reports its status , Before you can give tmonitor2 monitor . Here are the configuration steps :
A. preparation
cd ~/tmonitor_install
cp -rp dc_tconnd_1 dc_tconnd_9
cp -rp dcsvr_1 dcsvr_9
B. by Tmonitor1 Building database and building tables
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. To configure dc_tconnd
1. modify dc_tconnd_9 Configuration file for xml

2. modify dc_tconnd_9 Log profile for tconnd_log.xml

3. modify dc_tconnd_9 The process starts 、 Stop... In the script id

D. To configure dcsvr_9
1. modify dcsvr_9 Configuration file for xml, Ensure existence sasvr and dcsvr Two process items ( Other process items can be modified , Because you only need to use sasvr and dcsvr)

2. modify dcsvr_9 Log profile for dcsvr_log.xml( Here the process ID Get and C-1 The modified values are consistent )

3. modify dcsvr_9 The process starts 、 Stop... In the script id( Here the process ID Get and C-1 The modified values are consistent )

E. take dc_tconnd_9 and dcsvr_9 Add to tcm management , And send them tbus passageway , Finally start dc_tconnd_9 and dcsvr_9
1. Add process information to proc_deploy.xml

2. restart tcmcenter
3. from tcmconsole Send out tbus passageway :refreshbuscfg ...
4. To their own bin Start the process under the directory :./start_tconnd.sh; ./start_dcsvr.sh
F. For controlled Tmonitor1 Process configuration 、 Issue the collection strategy 、 Alarm strategy configuration
1.Tmonitor1 Of web Basic configuration

2. Issue the collection strategy

3. Observe for a few minutes after the collection strategy is issued , The following figure shows the normal

4. Add default alarm receiver and configure alarm policy
For more information, please pay attention to TcaplusDB WeChat official account , In the wind and rain , We've been waiting for you !

TcaplusDB It's a distributed product of Tencent NoSQL database , The code for storage and scheduling is completely self-developed . With cache + Landing fusion architecture 、PB Levels of storage 、 Millisecond delay 、 Lossless horizontal expansion and complex data structure . At the same time, it has rich ecological environment 、 Easy migration 、 Extremely low operation and maintenance costs and five nine high availability features . Customer coverage game 、 Internet 、 government affairs 、 Finance 、 Manufacturing and the Internet of things .
边栏推荐
- Web篇_01 了解web開發
- Embedded software architecture design - program layering
- 513. Find Bottom Left Tree Value
- 139. 單詞拆分
- 【TcaplusDB知识库】Tmonitor单机安装指引介绍(二)
- Build vscode into an invincible IDE (14) tasks JSON and launch JSON configuration details, add automation tasks at will
- Personal summary of system design and Analysis Course Project
- MQ消息中间件理论详解
- Six programming insights in these five years!
- Web容器是怎样给第三方插件做初始化工作的
猜你喜欢

【TcaplusDB知识库】Tmonitor单机安装指引介绍(二)

js 递归json树 根据 子id 查 父id

PageHelper faces the paging problem of complex service data processing

This year's cultural entertainers have turned their sidelines into their main business

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

Important knowledge of golang: sync Cond mechanism

进阶开发- 泛型入门基础类测试

Shandong: food "hidden money", consumption "sweeping monk"

XML

513. Find Bottom Left Tree Value
随机推荐
基金开户是有什么风险?开户安全吗
【TcaplusDB知识库】Tmonitor单机安装指引介绍(二)
Web articles_ 01 understanding web development
线程池
生成二叉搜索平衡树[利用树递归特性]
pytorch:模型的保存与导出
Web篇_01 了解web開發
CA authentication and issuance of revocation certificates
进阶开发- 泛型入门基础类测试
MySQL transactions and locks
glibc nptl库pthread_mutex_lock和pthread_mutex_unlock浅析
Detailed explanation of MQ message oriented middleware theory
ABP framework - data access infrastructure (Part 2)
5 minutes to quickly launch web applications and APIs (vercel)
《Apache Commons 工具类》
Introduction to asynccontext
If no code is moved, the project access speed drops significantly the next day. Case analysis
TCP协议三次握手和四次挥手抓包分析
513. Find Bottom Left Tree Value
JSON——学习笔记(消息转换器等)

