当前位置:网站首页>【深入理解TcaplusDB技术】Tmonitor系统升级
【深入理解TcaplusDB技术】Tmonitor系统升级
2022-06-21 20:28:00 【数据库大师】
1. 升级web_portal(root账户)
- 将web_portal包(web_portal_2.2.3_106227.tar.gz)拷贝至/data
- 进入目录:cd /data/monitor
停止服务:./server.php stop
检查服务是否停止:ps aux | grep httpd
- 安装新版的web_portal
解压最新的web_portal压缩包:若有残留的web_portal目录 ,先删除掉,然后tar zxvf 解压包
重新安装:rm /data/monitor/log/httpd_pid.log;
cd web_portal;
./install_web_protal.sh 10.123.27.60 3306 tmonitor_web tmonitor tmonitor OA 2.2.7(安装的参数各个机器不一样,可以ctrl + r 查找本机以前的安装命令然后直接执行即可,web_portal原来监听的端口如果不是默认80的话,执行命令前注意修改httpd.conf中的监听端口Listen)
- 启动服务
开启服务并指定端口: cd /data/monitor;./server.php start -p 8080
2. 升级tmonitor后台
(tmonitor账户 /data/tmonitor/tmonitor_install)
后台升级要根据新版具体情况选择下面的操作去执行:
- 如果新版本只修改了sasvr,就只需替换升级所有的sasvr进程;
- 如果新版本只修改了dcsvr,就只需替换升级所有的dcsvr进程;
- 如果新版本dcsvr和sasvr都有修改,需替换升级所有的dcsvr和sasvr进程;
- 如果新版为DB新增了字段,要为所有业务DB增加表字段;
下面给出具体操作步骤:
- 停止后台进程。假设新版只修改了sasvr:
去/data/tmonitor/tmonitor_install/tcm/tcm/bin目录,用tcmconsole中停止sasvr。
- 新增表字段。假设alarm_block_rule表新增了is_block_set_app_process、process_id两个字段,则要为Tmonitor各个业务DB的alarm_block_rule新增下面两个字段(后续的tmonitor版本需要在发布包中提供sql的脚本):
alter table alarm_block_rule add column is_block_set_app_process int default 0;
alter table alarm_block_rule add column process_id varchar(128);
- 启动新的sasvr: 拿最新Tmonitor_install__.tar.gz中的sasvr做替换,然后去tcmconsole启动sasvr即可。
TcaplusDB是腾讯出品的分布式NoSQL数据库,存储和调度的代码完全自研。具备缓存+落地融合架构、PB级存储、毫秒级时延、无损水平扩展和复杂数据结构等特性。同时具备丰富的生态、便捷的迁移、极低的运维成本和五个九高可用等特点。客户覆盖游戏、互联网、政务、金融、制造和物联网等领域。
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-KwH8AEtb-1655694075177)(https://www.hualigs.cn/image/609b96a3ab61f.jpg)]
边栏推荐
- 利用tRNAscan-SE做tRNA分析
- Phpmailer sends mails through SMTP. Some of the same sending contents succeed and some fail
- C# AboutBox怎么显示自己定义的界面
- 洛谷P1608 路径统计 题解
- TRNA analysis using trnascan se
- pi4j gpio针脚上拉电阻,下拉电阻概念
- 广东疾控提醒:暑期将至,返粤大学生这样安全“归巢”
- Luogu p1378 oil drop expansion problem solution
- How to uninstall a package installed with the CONDA command
- Worthington弹性蛋白酶背景和特异性介绍
猜你喜欢

Supplier management system of digital commerce cloud Paper Group: promote enterprise information construction and comprehensively improve supplier management efficiency

Leetcode508- the most frequent subtree elements and - deep search

Thresholdtypes of opencvsharp threshold segmentation threshold function

How to uninstall a package installed with the CONDA command

How to associate the QR code of wechat applet to realize the integration of two codes

Implement a middleware from -1

Characteristics and experimental suggestions of abbkine cell cycle Staining Kit

自制C#编译器

电子招标采购商城系统:优化传统采购业务,提速企业数字化升级

Enzo high sensitivity detection Arg8 vasopressin ELISA Kit
随机推荐
opencvsharp阈值分割threshold函数的ThresholdTypes
B2B商城网站助力企业加快分销速度,构建高效智能的B2B网上分销平台
001 new construction project based on opencvsharp
PAML|计算dN/dS值的生信软件
cpu指令重排导致错误的一个例子
GDB调试实战(10)多线程调试
Barbell strategy -- extreme stability and extreme waves
Anaconda添加channels
The order management system realizes the unified management of enterprise order inventory
Dotter| dot method sequence pairwise comparison software
线粒体基因组常见缩写与术语
Is the security of the securities account given by digging money safe? Can I open an account?
从-1开始实现一个中间件
技术分享 | MySQL中一个聚类增量统计 SQL 的需求
高项-立项管理
全屋智能家居品牌“智汀科技”有体验中心?
洛谷P1535 [USACO08MAR]Cow Travelling S 题解
Font size in DataGridView of C #
洛谷P1378 油滴扩展 题解
pi4j针脚模拟总线,进行控制传输和数据传输的几种思路