doc-exports/docs/css/umn/css_01_0155.html
Wuwan, Qi 050b395397 CSS UMN 23.2.1 20230926
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com>
Co-authored-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Wuwan, Qi <wuwanqi1@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-01-10 14:23:15 +00:00

80 lines
13 KiB
HTML

<a name="css_01_0155"></a><a name="css_01_0155"></a>
<h1 class="topictitle1">Configuring Cluster Monitoring</h1>
<div id="body0000001263429532"><p id="css_01_0155__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_p1049333316218">The procedure for configuring cluster monitoring:</p>
<ol id="css_01_0155__en-us_topic_0000001263429532_ol18531155235311"><li id="css_01_0155__en-us_topic_0000001263429532_li85311952105311"><a href="#css_01_0155__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_li25311252185310"><a href="#css_01_0155__en-us_topic_0000001263429532_section1136460963">Configuring Monitoring Metrics</a>: Configure monitoring metrics for a cluster or a node in the cluster.</li><li id="css_01_0155__en-us_topic_0000001263429532_li953165275310"><a href="#css_01_0155__en-us_topic_0000001263429532_section322123712611">Viewing Monitoring Metrics</a>: View the statistics of the monitoring metrics in specific periods.</li></ol>
<div class="section" id="css_01_0155__en-us_topic_0000001263429532_section1839919421279"><h4 class="sectiontitle">Prerequisites</h4><ul id="css_01_0155__en-us_topic_0000001263429532_ul53371598273"><li id="css_01_0155__en-us_topic_0000001263429532_li167406482618">The cluster is in the <strong id="css_01_0155__en-us_topic_0000001263429532_b396114042119">Available</strong> or <strong id="css_01_0155__en-us_topic_0000001263429532_b13564184213213">Processing</strong> status.</li><li id="css_01_0155__en-us_topic_0000001263429532_li168813194715">The cluster has been running properly for more than 10 minutes.</li></ul>
</div>
<div class="section" id="css_01_0155__en-us_topic_0000001263429532_section93561128195816"><h4 class="sectiontitle">Recommended Monitoring Metrics</h4><ul id="css_01_0155__en-us_topic_0000001263429532_ul95103285119"><li id="css_01_0155__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_section15621114112420"><a name="css_01_0155__en-us_topic_0000001263429532_section15621114112420"></a><a name="en-us_topic_0000001263429532_section15621114112420"></a><h4 class="sectiontitle">Creating Alarm Rules</h4><ol id="css_01_0155__en-us_topic_0000001263429532_ol373518361145"><li id="css_01_0155__en-us_topic_0000001263429532_li1173513611411">Log in to the Cloud Eye console.</li><li id="css_01_0155__en-us_topic_0000001263429532_li17735636141417">In the navigation pane on the left, choose <strong id="css_01_0155__en-us_topic_0000001263429532_b202086538232">Alarm Management</strong> &gt; <strong id="css_01_0155__en-us_topic_0000001263429532_b15264558162320">Alarm Rules</strong>.</li><li id="css_01_0155__en-us_topic_0000001263429532_li12905188145814">In the <strong id="css_01_0155__en-us_topic_0000001263429532_b611484582519">Resource Type</strong> column, select <strong id="css_01_0155__en-us_topic_0000001263429532_b1616491269">Cloud Search Service</strong> as criteria to search for alarm rules that meet the requirements.<p id="css_01_0155__en-us_topic_0000001263429532_p3293151085811">If no alarm rules are available, create one by referring to the "Creating an Alarm Rule" section. For details about how to set <strong id="css_01_0155__en-us_topic_0000001263429532_b9229203810300">Resource Type</strong> and <strong id="css_01_0155__en-us_topic_0000001263429532_b156281742193019">Dimension</strong>, see <a href="#css_01_0155__en-us_topic_0000001263429532_table15676621164617">Table 1</a>.</p>
<div class="tablenoborder"><a name="css_01_0155__en-us_topic_0000001263429532_table15676621164617"></a><a name="en-us_topic_0000001263429532_table15676621164617"></a><table cellpadding="4" cellspacing="0" summary="" id="css_01_0155__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_p36771121194612">Remark</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0155__en-us_topic_0000001263429532_row567711212464"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.6.2.3.4.2.4.1.1 "><p id="css_01_0155__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_p1369144575118">Select <strong id="css_01_0155__en-us_topic_0000001263429532_b14411124143310">Cloud Search Service</strong>.</p>
</td>
</tr>
<tr id="css_01_0155__en-us_topic_0000001263429532_row867762174614"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.6.2.3.4.2.4.1.1 "><p id="css_01_0155__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_p145197534519">CSS supports two dimensions. Select a dimension as required.</p>
<ul id="css_01_0155__en-us_topic_0000001263429532_ul651916538517"><li id="css_01_0155__en-us_topic_0000001263429532_li1151915305115"><strong id="css_01_0155__en-us_topic_0000001263429532_b142929414347">CSS Clusters</strong>: Alarm rules are specified by cluster.</li><li id="css_01_0155__en-us_topic_0000001263429532_li1851975325114"><strong id="css_01_0155__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_section1136460963"><a name="css_01_0155__en-us_topic_0000001263429532_section1136460963"></a><a name="en-us_topic_0000001263429532_section1136460963"></a><h4 class="sectiontitle">Configuring Monitoring Metrics</h4><ol id="css_01_0155__en-us_topic_0000001263429532_ol101061030154514"><li id="css_01_0155__en-us_topic_0000001263429532_li181062306458">Create a monitoring panel by referring to the "Creating a Dashboard" section. If an available monitoring panel has been created, skip this step.</li><li id="css_01_0155__en-us_topic_0000001263429532_li97271346171712">Add CSS monitoring graphs by referring to the "Adding a Graph" section.<p id="css_01_0155__en-us_topic_0000001263429532_p8410193819194"><a name="css_01_0155__en-us_topic_0000001263429532_li97271346171712"></a><a name="en-us_topic_0000001263429532_li97271346171712"></a>For details about how to set <strong id="css_01_0155__en-us_topic_0000001263429532_b1678010491374">Resource Type</strong> and <strong id="css_01_0155__en-us_topic_0000001263429532_b0780114973710">Dimension</strong>, see <a href="#css_01_0155__en-us_topic_0000001263429532_table10410173801911">Table 2</a>.</p>
<div class="tablenoborder"><a name="css_01_0155__en-us_topic_0000001263429532_table10410173801911"></a><a name="en-us_topic_0000001263429532_table10410173801911"></a><table cellpadding="4" cellspacing="0" summary="" id="css_01_0155__en-us_topic_0000001263429532_table10410173801911" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Graph configuration parameter</caption><thead align="left"><tr id="css_01_0155__en-us_topic_0000001263429532_row241043841914"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.2.2.2.4.1.1"><p id="css_01_0155__en-us_topic_0000001263429532_p94109385190">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.7.2.2.2.2.4.1.2"><p id="css_01_0155__en-us_topic_0000001263429532_p13410153891917">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.7.2.2.2.2.4.1.3"><p id="css_01_0155__en-us_topic_0000001263429532_p104104382193">Remark</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0155__en-us_topic_0000001263429532_row18410123841917"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.2.2.2.4.1.1 "><p id="css_01_0155__en-us_topic_0000001263429532_p11410113811196">Resource Type</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.2.2.2.2.4.1.2 "><p id="css_01_0155__en-us_topic_0000001263429532_p1041016385191">Type of the resource to be monitored</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.2.2.2.2.4.1.3 "><p id="css_01_0155__en-us_topic_0000001263429532_p6410123819194">Select <strong id="css_01_0155__en-us_topic_0000001263429532_b162211958143819">Cloud Search Service</strong>.</p>
</td>
</tr>
<tr id="css_01_0155__en-us_topic_0000001263429532_row1441033819196"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.2.2.2.4.1.1 "><p id="css_01_0155__en-us_topic_0000001263429532_p44113382190">Dimension</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.7.2.2.2.2.4.1.2 "><p id="css_01_0155__en-us_topic_0000001263429532_p1541123816193">Metric dimension</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.7.2.2.2.2.4.1.3 "><p id="css_01_0155__en-us_topic_0000001263429532_p1341111382193">CSS supports two dimensions. Select a dimension as required.</p>
<ul id="css_01_0155__en-us_topic_0000001263429532_ul3411183817193"><li id="css_01_0155__en-us_topic_0000001263429532_li64114381195"><strong id="css_01_0155__en-us_topic_0000001263429532_b15120126193916">CSS Clusters</strong>: Monitoring is executed by cluster.</li><li id="css_01_0155__en-us_topic_0000001263429532_li16411183817198"><strong id="css_01_0155__en-us_topic_0000001263429532_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__en-us_topic_0000001263429532_section322123712611"><a name="css_01_0155__en-us_topic_0000001263429532_section322123712611"></a><a name="en-us_topic_0000001263429532_section322123712611"></a><h4 class="sectiontitle">Viewing Monitoring Metrics</h4><ol id="css_01_0155__en-us_topic_0000001263429532_ol19658192094114"><li id="css_01_0155__en-us_topic_0000001263429532_li0658320174111">Log in to the CSS management console.</li><li id="css_01_0155__en-us_topic_0000001263429532_li8290135311119">Choose <strong id="css_01_0155__en-us_topic_0000001263429532_b6311622104011">Clusters</strong>. Locate the target cluster and choose <strong id="css_01_0155__en-us_topic_0000001263429532_b13217228401">More</strong> &gt; <strong id="css_01_0155__en-us_topic_0000001263429532_b1932202244014">View Metric</strong> in the <strong id="css_01_0155__en-us_topic_0000001263429532_b831132218404">Operation</strong> column.</li><li id="css_01_0155__en-us_topic_0000001263429532_li16658620174114">Select a time range.</li><li id="css_01_0155__en-us_topic_0000001263429532_li465815208416">View the monitoring metrics.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0041.html">Monitoring</a></div>
</div>
</div>