doc-exports/docs/css/umn/css_01_0155.html
Zheng, Xiu 5b5876528a CSS UMN 22.5.1 Version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Zheng, Xiu <zhengxiu@huawei.com>
Co-committed-by: Zheng, Xiu <zhengxiu@huawei.com>
2023-03-29 17:17:49 +00:00

81 lines
10 KiB
HTML

<a name="css_01_0155"></a><a name="css_01_0155"></a>
<h1 class="topictitle1">Configuring Cluster Monitoring</h1>
<div id="body0000001282659026"><p id="css_01_0155__p978417177594">You can use Cloud Eye to monitor the created clusters. After configuring the cluster monitoring, you can log in to the Cloud Eye management console to view cluster metrics.</p>
<p id="css_01_0155__p1049333316218">The procedure for configuring cluster monitoring:</p>
<ol id="css_01_0155__ol18531155235311"><li id="css_01_0155__li85311952105311"><a href="#css_01_0155__section15621114112420">Creating Alarm Rules</a>: Customize alarm rules for the monitoring metrics. Once a metric exceeds the threshold, the system will notify you by sending emails or HTTP/HTTPS requests.</li><li id="css_01_0155__li25311252185310"><a href="#css_01_0155__section1136460963">Configuring Monitoring Metrics</a>: Configure monitoring metrics for a cluster or a node in the cluster.</li><li id="css_01_0155__li953165275310"><a href="#css_01_0155__section322123712611">Viewing Monitoring Metrics</a>: View the statistics of the monitoring metrics in specific periods.</li></ol>
<div class="section" id="css_01_0155__section1839919421279"><h4 class="sectiontitle">Prerequisites</h4><ul id="css_01_0155__ul53371598273"><li id="css_01_0155__li167406482618">The cluster is in the <strong id="css_01_0155__b396114042119">Available</strong> or <strong id="css_01_0155__b13564184213213">Processing</strong> status.</li><li id="css_01_0155__li168813194715">The cluster has been running properly for more than 10 minutes.</li></ul>
</div>
<div class="section" id="css_01_0155__section93561128195816"><h4 class="sectiontitle">Recommended Monitoring Metrics</h4><ul id="css_01_0155__ul95103285119"><li id="css_01_0155__li13510152841118">Cluster CPU and JVM usage. You are advised to configure the following monitoring metrics: average JVM heap usage, maximum JVM heap usage, average CPU usage, and maximum CPU usage.</li><li id="css_01_0155__li1451042821116">Cluster write and query latency and throughput. You are advised to configure the following monitoring metrics: average index latency, average index rate, average search latency, and average QPS.</li><li id="css_01_0155__li1551022861115">Cluster write and query queue and rejected tasks. You are advised to configure the following monitoring metrics: tasks in write queue, tasks in search queue, rejected tasks in write queue, and rejected tasks in search queue.</li></ul>
</div>
<div class="section" id="css_01_0155__section15621114112420"><a name="css_01_0155__section15621114112420"></a><a name="section15621114112420"></a><h4 class="sectiontitle">Creating Alarm Rules</h4><ol id="css_01_0155__ol373518361145"><li id="css_01_0155__li1173513611411">Log in to the Cloud Eye console.</li><li id="css_01_0155__li17735636141417">In the navigation pane on the left, choose <strong id="css_01_0155__b202086538232">Alarm Management</strong> &gt; <strong id="css_01_0155__b15264558162320">Alarm Rules</strong>.</li><li id="css_01_0155__li12905188145814">In the <strong id="css_01_0155__b611484582519">Resource Type</strong> column, select <strong id="css_01_0155__b1616491269">Cloud Search Service</strong> as criteria to search for alarm rules that meet the requirements.<p id="css_01_0155__p3293151085811">If no alarm rules are available, create one by referring to <em id="css_01_0155__i2315647102917">Creating an Alarm Rule and Notification</em>. For details about how to set <strong id="css_01_0155__b9229203810300">Resource Type</strong> and <strong id="css_01_0155__b156281742193019">Dimension</strong>, see <a href="#css_01_0155__table15676621164617">Table 1</a>.</p>
<div class="tablenoborder"><a name="css_01_0155__table15676621164617"></a><a name="table15676621164617"></a><table cellpadding="4" cellspacing="0" summary="" id="css_01_0155__table15676621164617" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Alarm rule configuration parameter</caption><thead align="left"><tr id="css_01_0155__row867782112464"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.6.2.3.4.2.4.1.1"><p id="css_01_0155__p1167742194617">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.6.2.3.4.2.4.1.2"><p id="css_01_0155__p367712213469">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.6.2.3.4.2.4.1.3"><p id="css_01_0155__p36771121194612">Remark</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0155__row567711212464"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.6.2.3.4.2.4.1.1 "><p id="css_01_0155__p467719215465">Resource Type</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.3.4.2.4.1.2 "><p id="css_01_0155__p1967722111460">Type of the resource that the alarm rule is created for</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.3.4.2.4.1.3 "><p id="css_01_0155__p1369144575118">Select <strong id="css_01_0155__b14411124143310">Cloud Search Service</strong>.</p>
</td>
</tr>
<tr id="css_01_0155__row867762174614"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.6.2.3.4.2.4.1.1 "><p id="css_01_0155__p2067710212463">Dimension</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.6.2.3.4.2.4.1.2 "><p id="css_01_0155__p1944145814492">Metric dimension of the selected resource type</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.6.2.3.4.2.4.1.3 "><p id="css_01_0155__p145197534519">CSS supports two dimensions. Select a dimension as required.</p>
<ul id="css_01_0155__ul651916538517"><li id="css_01_0155__li1151915305115"><strong id="css_01_0155__b142929414347">CSS Clusters</strong>: Alarm rules are specified by cluster.</li><li id="css_01_0155__li1851975325114"><strong id="css_01_0155__b10738810193420">CSS Clusters - CSS Instances</strong>: Alarm rules are specified by node in a cluster.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</li></ol>
</div>
<div class="section" id="css_01_0155__section1136460963"><a name="css_01_0155__section1136460963"></a><a name="section1136460963"></a><h4 class="sectiontitle">Configuring Monitoring Metrics</h4><ol id="css_01_0155__ol101061030154514"><li id="css_01_0155__li181062306458">Create a monitoring panel. For details, see <em id="css_01_0155__i4884731133515">Creating a Monitoring Panel</em>. If an available monitoring panel has been created, skip this step.</li><li id="css_01_0155__li97271346171712">Add CSS monitoring graphs. For details, see <em id="css_01_0155__i26148216373">Adding a Graph</em>.<p id="css_01_0155__p8410193819194">For details about how to set <strong id="css_01_0155__b1678010491374">Resource Type</strong> and <strong id="css_01_0155__b0780114973710">Dimension</strong>, see <a href="#css_01_0155__table10410173801911">Table 2</a>.</p>
<div class="tablenoborder"><a name="css_01_0155__table10410173801911"></a><a name="table10410173801911"></a><table cellpadding="4" cellspacing="0" summary="" id="css_01_0155__table10410173801911" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Graph configuration parameter</caption><thead align="left"><tr id="css_01_0155__row241043841914"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.2.3.2.4.1.1"><p id="css_01_0155__p94109385190">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.7.2.2.3.2.4.1.2"><p id="css_01_0155__p13410153891917">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.7.2.2.3.2.4.1.3"><p id="css_01_0155__p104104382193">Remark</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0155__row18410123841917"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.2.3.2.4.1.1 "><p id="css_01_0155__p11410113811196">Resource Type</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.2.2.3.2.4.1.2 "><p id="css_01_0155__p1041016385191">Type of the resource to be monitored</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.2.2.3.2.4.1.3 "><p id="css_01_0155__p6410123819194">Select <strong id="css_01_0155__b162211958143819">Cloud Search Service</strong>.</p>
</td>
</tr>
<tr id="css_01_0155__row1441033819196"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.2.3.2.4.1.1 "><p id="css_01_0155__p44113382190">Dimension</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.2.2.3.2.4.1.2 "><p id="css_01_0155__p1541123816193">Metric dimension</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.2.2.3.2.4.1.3 "><p id="css_01_0155__p1341111382193">CSS supports two dimensions. Select a dimension as required.</p>
<ul id="css_01_0155__ul3411183817193"><li id="css_01_0155__li64114381195"><strong id="css_01_0155__b15120126193916">CSS Clusters</strong>: Monitoring is executed by cluster.</li><li id="css_01_0155__li16411183817198"><strong id="css_01_0155__b142662312390">CSS Clusters - CSS Instances</strong>: Monitoring is executed by node in a cluster.</li></ul>
</td>
</tr>
</tbody>
</table>
</div>
</li></ol>
</div>
<div class="section" id="css_01_0155__section322123712611"><a name="css_01_0155__section322123712611"></a><a name="section322123712611"></a><h4 class="sectiontitle">Viewing Monitoring Metrics</h4><ol id="css_01_0155__ol19658192094114"><li id="css_01_0155__li0658320174111">Log in to the CSS management console.</li><li id="css_01_0155__li8290135311119">Choose <strong id="css_01_0155__b6311622104011">Clusters</strong>. Locate the target cluster and choose <strong id="css_01_0155__b13217228401">More</strong> &gt; <strong id="css_01_0155__b1932202244014">View Metric</strong> in the <strong id="css_01_0155__b831132218404">Operation</strong> column.</li><li id="css_01_0155__li16658620174114">Select a time range.</li><li id="css_01_0155__li465815208416">View the monitoring metrics.</li></ol>
</div>
<p id="css_01_0155__p17616411315"></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0041.html">Monitoring a Cluster</a></div>
</div>
</div>