当前位置:网站首页>[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)
[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)
2022-06-23 16:02:00 【Database master】
This section introduces Tmonitor web portal And the installation and deployment of background processes ,web portal And background should be installed on different machines . Be careful : All operations are in root Execute under authority .
Installation needs 3 A package ( The latest installation package shall prevail ):
web_portal_2.2.18_05130ad9.tar.gz Mainly Tmonitor Manage Pages
tmonitor_install_2.2.18_05130ad9.tar.gz Mainly Tmonitor Background processes
We are going to put Tmonitor And tcaplus center Installed on the same machine , Put the top one first 3 Packages uploaded to /data Catalog , decompression
1. Tmonitor Web Portal install
cd /data/web_portal/, because tcaplus OMS Occupied 80 port , So modify conf file , Listen 8080 port . modify server.php, set_httpd_port(8080)
Check the database datadir Whether the disk is enough . If it's not enough, change to /data Under the plate
root The user login mysql
mysql> create database tmonitor_center_db; -- Particular attention , tmonitor The foreground database and background database are separated , The foreground database uses this name , Backstage with other names
mysql -uroot -pxxxx -Dtmonitor_center_db < *.sql hold /data/web_portal All under directory sql File import
mysql> create user tmonitor;
grant ALL on tmonitor_center_db.* to 'tmonitor'@'%' identified by 'xxxx'
grant ALL on tmonitor_center_db.* to 'tmonitor'@'localhost' identified by 'xxxx'
grant ALL on tmonitor_center_db.* to 'tmonitor'@'127.0.0.1' identified by 'xxxx'
grant ALL on tmonitor_center_db.* to 'tmonitor'@'100.78.65.157' identified by 'xxxx'
grant ALL on tmonitor_center_db.* to 'tmonitor'@'100_78_65_157' identified by 'xxxx- echo $HOSTNAME
flush privileges
Switch to root user , perform ./install_web_protal.sh 100.78.65.157 3306 tmonitor_center_db tmonitor xxxx PASSWORD 2.2.7 ( The penultimate argument is LoginType, You can fill in OA perhaps PASSWORD), This script will create /data/monitor Catalog , The foreground page will start from this directory
then netstat –lpn Check 8080 Whether the port is started , without , Try it again , php server.php start -p 8080 start-up , Stop command : php server.php stop
Log in to the page , Registered users tmonitor, If you can't log in , telnet ip Port look select * from tm_users_permission; See if you have administrator privileges (role=1)

Click on ” management ” Button , Take what is being deployed tmonitor System added , After the background process gets up, it can provide services

Here, the front desk installation is completed , Next, install the background process
2. Tmonitor Web Portal add to Tmonitor System
https://git.code.oa.com/gcloud_storage_group/tmonitor The code and installation package are here , You may need to apply for git jurisdiction
Upload web_portal_2.2.18_05130ad9.tar.gz Package to /data Under the table of contents , decompression , cd /data/tmonitor_install
vim tmonitor_conf.xml Modify the following

The interface used in the following figure is used for alarm sending . If it is IDC machine , Use tof Send SMS and wechat , Use uwork Make a phone call

If it is IDC machine , Need to be in tof and uwork” service ip” Add... To the list sasvr Of ip, To send the alarm normally (tof apply : http://tof.oa.com/application/views/, Or contact jasonlzhang, uwork Apply to contact yorkershi).
The machine should be able to connect directly tnm2, Need to install agent Tools , The specific steps are described later in the document .

Above picture dcsvr Of business_id Default to 1, If there are more than one dcsvr Just increase... In turn . dc_tconnd Port for 7980, Keep the default without changing

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 .
边栏推荐
猜你喜欢

How can genetic testing help patients fight disease?
子级文件拖到上一级

【TcaplusDB知识库】TcaplusDB Tmonitor模块架构介绍
![生成二叉搜索平衡树[利用树递归特性]](/img/b3/f8edf45bdfdced7c3698088dbf7d84.png)
生成二叉搜索平衡树[利用树递归特性]

Tips for accelerating file transfer between windows remote desktop connections

【TcaplusDB知识库】TcaplusDB新增机型介绍

PageHelper faces the paging problem of complex service data processing

The running rabbit fell

MQ消息中间件理论详解

Summarize the experience of purchasing Alibaba cloud servers
随机推荐
批量注册组件
Important knowledge of golang: timer timer
他山之石 | 微信搜一搜中的智能问答技术
Shandong: food "hidden money", consumption "sweeping monk"
云上探“店”,云商店全新升级!
Memory Consistency and Cache Coherence —— 内存一致性
C. Product 1 Modulo N-Codeforces Round #716 (Div. 2)
Android kotlin collaboration Async
How strong is Jingdong's takeout after entering meituan and starving the hinterland?
HBuilderX-Light 主题能不能加个批注功能?
XML
Explore the "store" on the cloud. The cloud store is newly upgraded!
CA认证和颁发吊销证书
TCP protocol notes
Important knowledge of golang: rwmutex read / write lock analysis
VGG下载(.net文件和imagenet-vgg-verydeep-19)
Sorting out and summarizing the handling schemes for the three major exceptions of redis cache
Usestate vs useref and usereducer: similarities, differences and use cases
万字攻略,详解腾讯面试(T1-T9)核心技术点,面试题整理
《ThreadLocal》





