forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
32 lines
10 KiB
HTML
32 lines
10 KiB
HTML
<a name="EN-US_TOPIC_0000001707293933"></a><a name="EN-US_TOPIC_0000001707293933"></a>
|
|
|
|
<h1 class="topictitle1">Cluster Log Management</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_section8662141610563"><h4 class="sectiontitle">Overview</h4><p id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_p895992816565">Cluster logs are collected and sent to Log Tank Service (LTS). You can check or dump the collected cluster logs on LTS.</p>
|
|
<p id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_p12959102811567">Currently, the following log types are supported:</p>
|
|
<ul id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_ul13959122819563"><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li09590287569">CN logs</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li1895922885614">DN logs</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li11960228145619">OS messages logs</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li796042865613">Audit logs</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li13489510132617">CMS logs</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li1447919385296">GTM logs</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li189851243132914">Roach client logs</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li144916993011">Roach server logs</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li1753461613309">Upgrade logs</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li1293182273010">Scaling logs</li></ul>
|
|
<div class="note" id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_note18960102835617"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_ul79619285562"><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li1896117281565">Cluster log management depends on LTS.</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li4961728195615">Only 8.1.1.300 and later versions support cluster log management.</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li18221123383019">Only 8.3.0 and later versions support CMS logs, GTM logs, Roach client logs, Roach server logs, scaling logs, and upgrade logs.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_section1682815575566"><h4 class="sectiontitle">Enabling LTS</h4><ol id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_ol2048272641910"><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li16482526171916"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li11952509114244"><span>Choose <strong id="EN-US_TOPIC_0000001707293933__b1677193919325">Clusters</strong> > <strong id="EN-US_TOPIC_0000001707293933__b1978173913321">Dedicated Cluster</strong>. All clusters are displayed by default.</span></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li25916796163327"><span>Click the name of the target cluster. Choose <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b59694152110330">Logs</strong>.</span><p><p id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_p103431438577"><span><img id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_image1814592413913" src="figure/en-us_image_0000001711660044.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li124929712321"><span>On the <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b179197112310330">Logs</strong> tab, enable LTS. If LTS is enabled for the first time, the following dialog box will be displayed. Confirm the information and click <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b168779162610330">Yes</strong>.</span><p><div class="p" id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_p1226611123215"><span><img id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_image163161213134610" src="figure/en-us_image_0000001711819560.png" title="Click to enlarge" class="imgResize"></span><div class="note" id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_note14854065718"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_ul31641157122516"><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li1816415579253">If LTS has been enabled and authorized to create an agency, no authorization is required when LTS is enabled again.</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li177334184134">By default, only cloud accounts or users with Security Administrator permissions can query and create agencies. IAM users under an account do not have the permission to query or create agencies by default. Contact a user with that permission and complete the authorization on the current page.</li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li17237411121716">When interconnecting with LTS, you need to grant LTS-related permission policies <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b19700498465">(LTS Admin</strong>, <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b11588551194610">LTS Administrator</strong>, <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b1210155619469">LTS FullAccess</strong>, and <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b15660958164612">LTS ReadOnlyAccess</strong>) to users.</li></ul>
|
|
</div></div>
|
|
</div>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li1952858141918"><span>Check the LTS status.</span><p><p id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_p578303185811"><span><img id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_image14563184715111" src="figure/en-us_image_0000001759578977.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_section1600157575"><a name="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_section1600157575"></a><a name="en-us_topic_0000001372999362_section1600157575"></a><h4 class="sectiontitle">Checking Cluster Logs</h4><ol id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_ol4654131872114"><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li9654111815216"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li9654191882115"><span>Choose <strong id="EN-US_TOPIC_0000001707293933__b12705124563220">Clusters</strong> > <strong id="EN-US_TOPIC_0000001707293933__b6705145163213">Dedicated Cluster</strong>. All clusters are displayed by default.</span></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li1965414185216"><span>Click the name of the target cluster. Choose <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b10644762010330">Logs</strong>.</span></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li1839114291313"><span>On the <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b139583441810330">Logs</strong> tab, click <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b13414221010330">View Log</strong> in the <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b148769717610330">Operation</strong> column of a log type to go to the Log Tank Service (LTS) page and view logs.</span><p><p id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_p663613347594"><span><img id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_image1356314371149" src="figure/en-us_image_0000001759419133.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_section561281345712"><h4 class="sectiontitle">Disabling LTS</h4><ol id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_ol15200925182512"><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li11200225152511"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li420082518250"><span>Choose <strong id="EN-US_TOPIC_0000001707293933__b7658184719327">Clusters</strong> > <strong id="EN-US_TOPIC_0000001707293933__b13658204783212">Dedicated Cluster</strong>. All clusters are displayed by default.</span></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li15201172592518"><span>Click the name of the target cluster. Choose <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b18243811410330">Logs</strong>.</span></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li87181632142510"><span>Toggle off the LTS switch.</span><p><p id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_p162436443013"><span><img id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_image8458174341212" src="figure/en-us_image_0000001711660048.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_li798974774116"><span>Click <strong id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_b8294774110330">OK</strong> in the dialog box.</span><p><p id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_p4678102440"><span><img id="EN-US_TOPIC_0000001707293933__en-us_topic_0000001372999362_image4192283131" src="figure/en-us_image_0000001711819564.png" title="Click to enlarge" class="imgResize"></span></p>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
image_size('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |