当前位置:网站首页>Active prevention DWS key tool installation confirmation
Active prevention DWS key tool installation confirmation
2022-06-09 17:12:00 【Hua Weiyun】
1、gdb Confirm the installation ( The tool user database instance triggers core After the problem, the cluster status is abnormal repeatedly , Analyze the root causes of this problem and avoid it in time )
Log in to any cluster node and execute the following command (HC/HCS/HCSO Environment login Outside the sandbox perform ):
gdb --help
Prompt the following information to install

2、gstack Whether to install ( And gdb Associated tools ,gdb After installation, the tool will be installed by default , The functions and gdb identical )
Log in to any cluster node and execute the following command (HC/HCS/HCSO Environment login Outside the sandbox perform ):
gstack
Prompt the following information to install

gdb And gstack Please refer to the following links for installation :
https://bbs.huaweicloud.com/forumreview/thread-182292-1-1.html
3、core Whether to configure ( This configuration ensures that the database instance triggers core The exception stack information can be retrieved after the problem , For use gdb The tool obtains the trigger instance exception from the captured information sql Timely avoidance and root cause positioning )
The cluster status is Normal Execute the following command to confirm ( colony normal In this case, the operation does not affect the business )
kill -11 To prepare dn Process number , Check whether the corresponding data directory generates core file , If generated core File has been configured .
If not, please follow the following link to configure :
HC/HCS/HCSO core To configure :https://bbs.huaweicloud.com/forum/forum.php?mod=viewthread&tid=181948
Pure soft core To configure : https://bbs.huaweicloud.com/forum/forum.php?mod=viewthread&tid=182036
4、pg_xlogdump Whether there is ( Abnormal business produces a large number of xlog Later, the business was slow , The disk utilization rate is rising rapidly , Use this tool to resolve abnormal business )
pg_xlogdump Prompt the following information to install ( The pure soft environment loads environment variables and then executes ,HC/HCS/HCSO Log in to In the sandbox perform )

5、pagehack Whether there is ( The data file is damaged silently. Use this tool to parse the abnormal data file )
pagehack Prompt the following information to install ( The pure soft environment loads environment variables and then executes ,HC/HCS/HCSO Log in to In the sandbox perform )

pg_xlogdump And pagehack Tools get the following links :
https://bbs.huaweicloud.com/forum/forum.php?mod=viewthread&tid=142380
The upload steps are as follows :
step 1: Log in to the first CN node , Use omm( Use on the cloud Ruby user ) take pagehack、pg_xlogdump Upload the tool to this node $GAUSSHOME/bin/ Next
step 2: Distribute tools to other nodes
gs_ssh -c "scp $hostname:$GAUSSHOME/bin/pagehack $GAUSSHOME/bin/"
gs_ssh -c "scp $hostname:$GAUSSHOME/bin/pg_xlogdump $GAUSSHOME/bin/"
$hostname For the first time cn Node hostname.
6、 gs_detect Tool upload steps ( This toolkit has not been developed by the O & M team , This includes the cluster status exception diagnostic tool 、IO High tools 、 Data file damage scanning and other tools , It is convenient to locate and recover problems in time )
step 1:omm The user logs in first cn node ( Use on the cloud Ruby), Get... In the attachment gs_detect Tool and rename it gs_detect.tar.gz Upload to the first cn node $GAUSSHOME/bin/dfx_tool/
step 2: Use the following command to unzip
cd $GAUSSHOME/bin/dfx_tool
tar -zxvf gs_detect.tar.gz
step 3: take gs_detect Distribute tools to other nodes
gs_ssh -c "scp -r hostname:$GAUSSHOME/bin/dfx_tool/gs_detect $GAUSSHOME/bin/dfx_tool/"
$hostname For the first time cn Node hostname.
notes : The distribution command on the cloud needs to be executed in the sandbox
边栏推荐
猜你喜欢

Stm32subemx create semaphore exception analysis

科研实习 | 北京大学可视化与可视分析实验室招收暑期实习生和推免研究生

How to find and delete duplicate documents in endnote

Swagger登录地址(首次登录可能会报错)

Word 教程,如何在 Word 中更改行距?

虚幻引擎插件 - Maya LiveLink - 安装和使用

企业级服务端防重点思路

如何训练你的准确率?
How to use cloud notes to record and sort out the graduation notes given by teachers to students

经常弹出:VSCode尝试在目标目录创建文件时发生一个错误 重试 跳过这个文件 关闭安装程序
随机推荐
基于bs_pagination插件的分页查询功能
主动预防-DWS关键工具安装确认
How can we sustain a valuation of 60billion yuan for tea lovers who like the new and hate the old?
如何训练你的准确率?
pyepics CA -- 3
ue4 bsp画刷中光源需要重建(x未构建对象)
Error occurred when pychart installs the scratch Library‘
一款高颜值开源知识管理工具
pyepics --Auto-saving: simple save/restore PVs
Written test question Huawei computer test ~ to be continued
顶级模板大全(包含工作各方面的合同、标书、毕业答辩等等模板)
苹果赢了 美法官驳回iPhone和iPad安全缺陷集体诉讼
运维思考 | 你知道CMDB与监控是什么关系吗?
图解 Google V8 # 06:原型链:V8是如何实现对象继承的?
Parallel storage structure
【GAMES101】作业1--MVP(模型、视图、投影)变换
『忘了再学』Shell基础 — 28、AWK中条件表达式说明
回家-的路
CREMB Pro 后台子管理员 403 问题分析
Zhongyuan bank unified log platform