0457- How to use Cloudera Manager to manually collect diagnostic package

Tips: If you use a computer to view the picture is not clear, you can use the phone to open the text of the article click photo to enlarge view high-definition picture.
Fayson the GitHub:
https://github.com/fayson/cdhproject
Tip: block portion can slide see Oh

1

Articles written purpose

If you have Cloudera Enterprise license, then we will be able to collect the aid package cluster diagnostic functions provided by Cloudera Manager, analyze the diagnostic package through the background Support Cloudera provides cluster health diagnosis and optimization suggestions for improvement for you. Cloudera Manager provides automated and manual collection bag to collect diagnostic mode, in most enterprise network environment can not be diagnostic package information is sent directly to the background Support, usually manually collected. This article describes how to use Fayson Cloudera Manager manually collect diagnostic kits.

  • test environment

1.RedHat7.2

2.CM and CDH version 5.15.0

2

Diagnostic data directory specified package

Diagnostic kits may be provided by the data directory Cloudera Manager, arranged as follows:

1. Go to the "Administration" -> "Settings"

2. Select the "Support" category, find the "diagnostic data in the temporary directory"

The default diagnostic data in the temporary directory is empty, empty JVM will use the temporary directory. Insufficient disk space if you collect diagnostic data, set the value.

3

Diagnostic package desensitization of sensitive information

By default, Cloudera Manger will be provided by the diagnostic rule is known to be sensitive packet-desensitizing treatment. Cloudera Manager using a standard set of rules for diagnostic package password and secret key information desensitization, while also providing a credit card number, social security number, Email address desensitization treatment, also support custom rules (regular expressions) . Add desensitization process follows the rules for the diagnostic package:

1. Go to the "Administration" -> "Setting" interface, search for "Bundles"

2. Click the "+" to add desensitization rule

完成上述配置后,点击保存即可。

4

手动收集诊断包

1.使用管理员登录Cloudera Manager,在主页面点击“支持”->“发送诊断包”

2.进入“发送诊断数据”界面,勾选诊断包收集信息

选择要收集的主机、服务及角色

数据选择可以根据大小或者日期范围,根据我们集群故障的时间点来收集更利于后台分析诊断集群问题。

执行“估计”可以计算出诊断包的大小。

3.选择上述收集信息后,点击“收集诊断数据”

收集完成

下载诊断包到本地即可,通过Support后台将诊断包上传。

5

文章编写目的

1.诊断包收集功能主要是针对Cloudera Enterprise许可用户。

2.收集集群诊断包可以自己定义脱敏规则将关键信息进行处理。

3.后台Support会根据用户提交的诊断包对集群进行故障定位、健康检查及优化调整建议。

提示:代码块部分可以左右滑动查看噢
为天地立心,为生民立命,为往圣继绝学,为万世开太平。
温馨提示:如果使用电脑查看图片不清晰,可以使用手机打开文章单击文中的图片放大查看高清原图。

发布了342 篇原创文章 · 获赞 14 · 访问量 3万+

Guess you like

Origin blog.csdn.net/Hadoop_SC/article/details/104097453