当前位置:网站首页>[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)
[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)
2022-06-13 11:09:00 【InfoQ】
【TcaplusDB The knowledge base 】Tmonitor Introduction to single machine installation guidelines ( One )
- web_portal_2.2.18_05130ad9.tar.gz Mainly Tmonitor Manage Pages
- tmonitor_install_2.2.18_05130ad9.tar.gz Mainly Tmonitor Background processes
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/tmonitorThe 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


边栏推荐
- 求组合数四种方法
- 2022 coal mine water exploration and drainage special operation certificate examination question bank simulated examination platform operation
- Analysis and summary of 2021ccpc online games
- 硬件工程师薪资虚高,你认可吗?
- Use of servers
- Easyclick run code snippet out null
- To vent their dissatisfaction with their superiors, Baidu post-95 programmers were sentenced to 9 months for deleting the database
- 21世纪以来的历次“粮食危机”,发生了什么?
- 服务器的使用
- Pagoda access changed from IP to domain name
猜你喜欢

5.5 clock screensaver

Navicat connection MySQL in Pagoda

Brief description of redo logs and undo logs in MySQL

关于 SAP Spartacus CmsService.getComponentData 可能的优化思路

恶意代码实战分析Lab05-01

vivo大规模 Kubernetes 集群自动化运维实践

Actual combat analysis of malicious code lab05-01

What is 400g Ethernet?

ue5 小知识点 geometry script modeling

【TcaplusDB知识库】Tmonitor单机安装指引介绍(二)
随机推荐
Log 1111
【sql语句基础】——查(select)(单表查询顺序补充)
Web3 system construction: principles, models and methods of decentralization (Part I)
WinForm resolves frequent refresh of black screen
2020 ICPC Asia Taiwan Online Programming Contest C Circles
欧拉函数和线性筛求欧拉函数
F2. nearest beautiful number (hard version)
Experience of electric competition - program-controlled wind pendulum
Finally, the monthly income is 20000!!
DNS protocol analysis
《自然-通讯》| 用机器学习和时间序列数据为气候变化下的武装冲突风险建模
vivo大规模 Kubernetes 集群自动化运维实践
数据库学习笔记(第十六章)
COM的模式变化引起的IPdu Handling【接收截止日期监控】
of_ find_ compatible_ Node find all nodes
服务器的使用
Database learning notes (Chapter 15)
There is no suspense about the first one in the overtime table of the Internet company!
Database learning notes (Chapter 16)
微众银行OSPO建设之路:如何通过OSPO的建设推动企业开源?