{"id":4773,"date":"2021-07-23T19:44:34","date_gmt":"2021-07-23T11:44:34","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=4773"},"modified":"2021-07-23T19:59:18","modified_gmt":"2021-07-23T11:59:18","slug":"tdh4-3%e7%89%88%e6%9c%ac%e5%a6%82%e4%bd%95%e5%90%8e%e5%8f%b0%e8%8e%b7%e5%8f%96%e5%b7%a1%e6%a3%80%e6%8a%a5%e5%91%8a","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=4773","title":{"rendered":"TDH 4.3\uff08\u96c6\u6307\u5e73\u53f0\u7248\u672c\uff09\u5982\u4f55\u540e\u53f0\u83b7\u53d6\u5de1\u68c0\u62a5\u544a"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<hr \/>\n<p>\u901a\u8fc7\u5de1\u68c0\u5de5\u5177\uff0c\u53ef\u4ee5\u5bf9\u96c6\u7fa4\u7684\u6574\u4f53\u60c5\u51b5\u3001\u5404\u4e2a\u670d\u52a1\u7684\u8fd0\u884c\u72b6\u6001\u3001\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\u8fdb\u884c\u5206\u6790\uff0c\u5e76\u751f\u6210excel\u548chtml\u4e24\u79cd\u683c\u5f0f\u7684\u62a5\u544a\u63d0\u4f9b\u67e5\u770b\u3002\u5176\u4e2dexcel\u683c\u5f0f\u62a5\u544a\u4e3a\u68c0\u67e5\u7684\u8be6\u7ec6\u4fe1\u606f\uff0chtml\u683c\u5f0f\u62a5\u544a\u4e3a\u68c0\u67e5\u7ed3\u679c\u7684\u6c47\u603b\uff0c\u53ca\u65f6\u53d1\u73b0\u6f5c\u5728\u7684\u95ee\u9898\u3002<\/p>\n<p>\u672c\u6587\u4e3b\u8981\u4ecb\u7ecd TDH 4.3 \u7248\u672c\uff08\u4ea4\u8b66\u96c6\u6307\u5e73\u53f0\u7248\u672c\uff09\uff0c\u5982\u4f55\u5728\u540e\u53f0\u89e3\u538b\u4f7f\u7528\u5de1\u68c0\u5de5\u5177\u5305\u751f\u6210\u5de1\u68c0\u65e5\u5fd7\u3002<\/p>\n<h3>\u8be6\u7ec6\u8bf4\u660e<\/h3>\n<hr \/>\n<p>\u53ef\u4ee5\u53c2\u7167\u5982\u4e0b\u6b65\u9aa4\u64cd\u4f5c\u3002<\/p>\n<pre><code>\u6ce8\u610f\uff1a\u8bf7\u4f7f\u7528root\u7528\u6237\u767b\u5f55\u670d\u52a1\u5668\uff0c\u8fd0\u884c\u5de1\u68c0\u5de5\u5177\uff0c\u4f7f\u7528\u5176\u4ed6\u7528\u6237\u53ef\u80fd\u5b58\u5728\u6743\u9650\u4e0d\u8db3\u7684\u95ee\u9898\uff0c\u5bfc\u81f4\u5de1\u68c0\u65e0\u6cd5\u6b63\u5e38\u8fd0\u884c\uff01<\/code><\/pre>\n<ol>\n<li>\n<p>\u70b9\u51fb\u4e0b\u8f7d\u9002\u7528\u4e8eTDH 4.3\u7684\u5de1\u68c0\u5de5\u5177\u5305\uff1a<a href=\"\/wp-content\/uploads\/2021\/03\/ReportCheck.tar.gz\" title=\"ReportCheck.tar.gz\">ReportCheck.tar.gz<\/a><\/p>\n<\/li>\n<li>\n<p>\u5c06\u4e0b\u8f7d\u597d\u7684\u5de1\u68c0\u5de5\u5177\u5305\u6587\u4ef6<strong><code>ReportCheck.tar.gz<\/code><\/strong>\u4e0a\u4f20\u5230\u96c6\u6307\u5e73\u53f0<strong><code>Manager<\/code><\/strong>\u8282\u70b9\u4efb\u610f\u76ee\u5f55\uff1b<\/p>\n<\/li>\n<li>\n<p>\u7528root\u7528\u6237\u767b\u5f55<strong><code>Manager<\/code><\/strong>\u8282\u70b9\uff0c\u8fdb\u5165\u6587\u4ef6<strong><code>ReportCheck.tar.gz<\/code><\/strong>\u6240\u5728\u76ee\u5f55\uff0c\u89e3\u538b\u5de1\u68c0\u5de5\u5177\u5305\uff1a<\/p>\n<pre><code class=\"language-shell\"># tar -zxvf\u00a0ReportCheck.tar.gz<\/code><\/pre>\n<\/li>\n<li>\n<p>\u6210\u529f\u89e3\u538b\u540e\uff0c\u4f1a\u770b\u5230<strong><code>ReportCheck20180126<\/code><\/strong>\u76ee\u5f55\uff0c\u8fdb\u5165\u8be5\u76ee\u5f55\uff1a<\/p>\n<pre><code class=\"language-shell\"># cd ReportCheck20180126<\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/03\/image-1627031964933.png\" alt=\"file\" \/><\/p>\n<\/li>\n<li>\n<p>\u4fee\u6539<strong><code>config<\/code><\/strong>\u76ee\u5f55\u4e0b\u914d\u7f6e\u6587\u4ef6<strong><code>env.properties<\/code><\/strong>\uff0c\u4ee5\u9002\u914d\u5f53\u524d\u96c6\u7fa4\u73af\u5883\uff1a<\/p>\n<pre><code class=\"language-shell\"># vi .\/config\/env.properties<\/code><\/pre>\n<p>\u4e00\u822c\u53ea\u9700\u8981\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<strong><code>env.properties<\/code><\/strong>\u5185<strong><code>managerIP<\/code><\/strong>,<strong><code>username<\/code><\/strong>,<strong><code>password<\/code><\/strong>\u8fd9\u4e09\u4e2a\u53c2\u6570\u3002\u82e5\u4fee\u6539\u8fc7ssh\u768422\u7aef\u53e3\uff0c\u5219\u9700\u8981\u540c\u6b65\u4fee\u6539<strong><code>nodePort<\/code><\/strong>\u53c2\u6570\uff1a<\/p>\n<ul>\n<li>managerIP\uff1aManager\u7ec4\u4ef6\u6240\u5728\u8282\u70b9IP<\/li>\n<li>username\uff1aManager\u754c\u9762\u767b\u5f55\u8d26\u53f7\uff0c\u63a8\u8350\u4f7f\u7528\u9ed8\u8ba4\u7684admin\u7528\u6237<\/li>\n<li>password\uff1aManager\u754c\u9762\u767b\u5f55\u5bc6\u7801\uff0c\u4e0e\u5b9e\u9645\u5bc6\u7801\u4e00\u81f4<\/li>\n<li>nodePort\uff1a\u9ed8\u8ba4\u662f22 (\u5982\u679c\u670d\u52a1\u5668\u7aef\u53e3\u4fee\u6539\u8fc7\uff0c\u8fd9\u91cc\u4e5f\u9700\u8981\u4fdd\u6301\u548c\u5b9e\u9645\u4e00\u81f4)<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2021\/03\/123.png\" alt=\"\" \/><\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u8fd0\u884c<strong><code>run.sh<\/code><\/strong>\u811a\u672c\uff0c\u8fdb\u884c\u5de1\u68c0\u3002<\/p>\n<pre><code class=\"language-shell\"># sh run.sh<\/code><\/pre>\n<p>\u5de5\u5177\u6267\u884c\u65e5\u5fd7\uff1a\u5de1\u68c0\u5de5\u5177\u4f1a\u5728<strong><code>logs<\/code><\/strong>\u76ee\u5f55\u4e0b\u7684\u65f6\u95f4\u6233\u5b50\u76ee\u5f55\u91cc\u9762\u751f\u6210\u6267\u884c\u65e5\u5fd7\u3002<br \/>\n\u4f8b\u5982\u4e0b\u56fe\u4e2d\u7684<code>.\/logs\/log-2021-07-23-18-49-21\/result.log<\/code>\u76ee\u5f55<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/03\/image-1627038702295.png\" alt=\"file\" \/><\/p>\n<\/li>\n<li>\n<p>\u67e5\u770b\u65f6\u95f4\u6233\u5b50\u76ee\u5f55\u4e0b<strong><code>result.log<\/code><\/strong>\u65e5\u5fd7\u6587\u4ef6\u91cc\uff0c\u82e5\u5305\u542b<strong><code>inspection is completed<\/code><\/strong>\u5173\u952e\u5b57\uff0c\u5219\u8868\u793a\u5de1\u68c0\u5b8c\u6210\uff1a<\/p>\n<pre><code class=\"language-shell\">[root@tdh43-01 ReportCheck20180126]# cd logs\/\n[root@tdh43-01 logs]# cd log-2021-07-23-18-49-21\/\n[root@tdh43-01 log-2021-07-23-18-49-21]# tail result.log |grep \"inspection is completed\"\ninspection is completed\n[root@tdh43-01 log-2021-07-23-18-49-21]#<\/code><\/pre>\n<\/li>\n<li>\n<p>\u83b7\u53d6\u5de1\u68c0\u65e5\u5fd7\uff1a<br \/>\n\u5de1\u68c0\u5b8c\u6210\u540e\uff0c\u5de1\u68c0\u5de5\u5177\u4f1a\u5728<strong><code>\/tmp\/report<\/code><\/strong>\u76ee\u5f55\u4e0b\u751f\u6210\u5305\u542b\u65f6\u65e5\u671f\u7684\u5de1\u68c0\u65e5\u5fd7\uff1a<\/p>\n<pre><code class=\"language-shell\">[root@tdh43-01 log-2021-07-23-18-49-21]# cd \/tmp\/report\/\n[root@tdh43-01 report]# ll\n\u603b\u7528\u91cf 148\n-rw-r--r-- 1 root root      0 7\u6708  23 18:51 completed\n-rw-r--r-- 1 root root 100352 7\u6708  23 18:51 REPORT-2021-07-23.xls\n-rw-r--r-- 1 root root  21687 7\u6708  23 18:51 serviceConfigs-2021-07-23.tar.gz\n-rw-r--r-- 1 root root      0 7\u6708  23 18:49 started\n-rw-r--r-- 1 root root  21623 7\u6708  23 18:51 summaryReport-2021-07-23.html\nlrwxrwxrwx 1 root root     41 7\u6708  23 18:51 summaryReport.html -> \/tmp\/report\/summaryReport-2021-07-23.html<\/code><\/pre>\n<p>\u901a\u8fc7sftp\u5de5\u5177\u7b49\uff08\u4f8b\u5982WinSCP\uff09\u6536\u96c6\u5305\u542b\u5f53\u5929\u65e5\u671f\u7684\u7684<strong><code>REPORT-xxx.xls<\/code><\/strong>\u548c<strong><code>summaryReport-xxx.html<\/code><\/strong>\u4e24\u4e2a\u5de1\u68c0\u65e5\u5fd7\u6587\u4ef6\uff1a<\/p>\n<ul>\n<li>REPORT-xxx.xls<\/li>\n<li>summaryReport-xxx.html<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5c06\u6536\u96c6\u7684\u4e24\u4e2a\u5de1\u68c0\u65e5\u5fd7\u6587\u4ef6\u6253\u5305\u540e\u53d1\u9001\u7ed9\u661f\u73af\u79d1\u6280\uff1b<\/p>\n<\/li>\n<\/ol>\n<p>\u82e5\u60a8\u5728\u83b7\u53d6\u5de1\u68c0\u62a5\u544a\u8fc7\u7a0b\u4e2d\u6709\u4efb\u4f55\u7591\u95ee\uff0c\u53ef\u4ee5\u968f\u65f6\u8054\u7cfb <a href=\"https:\/\/nj.transwarp.cn:8180\/?p=641\" title=\"\u552e\u540e\u6e20\u9053\">\u661f\u73af\u79d1\u6280\u552e\u540e\u6280\u672f\u652f\u6301\u4e2d\u5fc3<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u901a\u8fc7\u5de1\u68c0\u5de5\u5177\uff0c\u53ef\u4ee5\u5bf9\u96c6\u7fa4\u7684\u6574\u4f53\u60c5\u51b5\u3001\u5404\u4e2a\u670d\u52a1\u7684\u8fd0\u884c\u72b6\u6001\u3001\u8d44\u6e90\u4f7f\u7528\u60c5\u51b5\u8fdb\u884c\u5206\u6790\uff0c\u5e76\u751f\u6210excel\u548cht ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=4773\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":60,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[124],"tags":[196],"class_list":["post-4773","post","type-post","status-publish","format-standard","hentry","category-124","tag-196"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/4773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/60"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4773"}],"version-history":[{"count":2,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/4773\/revisions"}],"predecessor-version":[{"id":6375,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/4773\/revisions\/6375"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}