forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: zhengxiu <zhengxiu@huawei.com> Co-committed-by: zhengxiu <zhengxiu@huawei.com>
56 lines
14 KiB
HTML
56 lines
14 KiB
HTML
<a name="EN-US_TOPIC_0000001965416773"></a><a name="EN-US_TOPIC_0000001965416773"></a>
|
|
|
|
<h1 class="topictitle1">Using Cloud Eye to Monitor Elasticsearch Clusters</h1>
|
|
<div id="body0000001263429532"><p id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_p978417177594">With <span id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_text7993159015">CSS</span>, you can use Cloud Eye to monitor created clusters. After configuring cluster monitoring, you can log in to the Cloud Eye management console to view cluster metrics. For details about Cloud Eye, see the <a href="https://docs.otc.t-systems.com/en-us/usermanual/ces/ces_07_0001.html" target="_blank" rel="noopener noreferrer">Cloud Eye User Guide</a>.</p>
|
|
<p id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_p1049333316218">The procedure for configuring cluster monitoring:</p>
|
|
<ol id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_ol18531155235311"><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li85311952105311"><a href="#EN-US_TOPIC_0000001965416773__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="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li25311252185310"><a href="#EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_section1136460963">Configuring Monitoring Metrics</a>: Configure monitoring metrics for a cluster or a node in the cluster.</li><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li953165275310"><a href="#EN-US_TOPIC_0000001965416773__section19225545132518">Viewing Cluster Monitoring Information</a>: View the statistics of the monitoring metrics in specific periods.</li></ol>
|
|
<div class="section" id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_section93561128195816"><h4 class="sectiontitle">Recommended Monitoring Metrics</h4><ul id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_ul95103285119"><li id="EN-US_TOPIC_0000001965416773__li88239295317">For routine monitoring of a cluster, you are advised to focus on disk usage and cluster health status.</li><li id="EN-US_TOPIC_0000001965416773__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="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li1451042821116">Cluster write and search 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="EN-US_TOPIC_0000001965416773__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="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_section1839919421279"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_ul53371598273"><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li167406482618">The cluster is in the <strong id="EN-US_TOPIC_0000001965416773__b189917461207">Available</strong> or <strong id="EN-US_TOPIC_0000001965416773__b19899546192011">Processing</strong> state.</li><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li168813194715">The cluster has been running properly for more than 10 minutes.</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_section15621114112420"><a name="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_section15621114112420"></a><a name="en-us_topic_0000001263429532_section15621114112420"></a><h4 class="sectiontitle">Creating Alarm Rules</h4><ol id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_ol373518361145"><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li1173513611411">Log in to the <span id="EN-US_TOPIC_0000001965416773__ph984012272068">Cloud Eye console</span>.</li><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li17735636141417">In the navigation pane on the left, choose <strong id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_b202086538232">Alarm Management</strong> > <strong id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_b15264558162320">Alarm Rules</strong>.</li><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li12905188145814">In the <strong id="EN-US_TOPIC_0000001965416773__b2403154173610">Resource Type</strong> column, select Cloud Search Service to filter alarm rules.<p id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_p3293151085811">If no alarm rules are available, create one by referring to section "Creating an Alarm Rule". <a href="#EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_table15676621164617">Table 1</a> describes the key parameters. For more parameters, customize them as needed.</p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_table15676621164617"></a><a name="en-us_topic_0000001263429532_table15676621164617"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_table15676621164617" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Alarm rule configuration parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_row867782112464"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.6.2.3.3.2.3.1.1"><p id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_p1167742194617">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.6.2.3.3.2.3.1.2"><p id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_p36771121194612">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001965416773__row834914584416"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.2.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001965416773__p334965819417">Alarm Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.2.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001965416773__p3349185817411">Select <strong id="EN-US_TOPIC_0000001965416773__b104366641511490">Metric</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_row567711212464"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.2.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_p467719215465">Cloud Service</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.2.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_p1369144575118">Select <strong id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_b14411124143310">Cloud Search Service</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001965416773__row543395313148"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.2.3.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001965416773__p1343365314147">Resource Layer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.2.3.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001965416773__p9433353111417">Select the layer by which you are going to configure alarm rules.</p>
|
|
<ul id="EN-US_TOPIC_0000001965416773__ul1069794714166"><li id="EN-US_TOPIC_0000001965416773__li2697247121618"><span class="parmvalue" id="EN-US_TOPIC_0000001965416773__parmvalue1736292011713"><b>CSS Clusters</b></span>: Alarm rules are specified by cluster.</li><li id="EN-US_TOPIC_0000001965416773__li1569744715167"><span class="parmvalue" id="EN-US_TOPIC_0000001965416773__parmvalue18500193772020"><b>CSS Clusters - CSS Instances</b></span>: Configure alarm rules by cluster node.</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_section1136460963"><a name="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_section1136460963"></a><a name="en-us_topic_0000001263429532_section1136460963"></a><h4 class="sectiontitle">Configuring Monitoring Metrics</h4><ol id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_ol101061030154514"><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li181062306458">Create a monitoring dashboard by referring to section "Creating a Dashboard". If an available monitoring dashboard has been created, skip this step.</li><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000001263429532_li97271346171712">Add CSS monitoring graphs by referring to section "Adding a Graph".</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001965416773__section19225545132518"><a name="EN-US_TOPIC_0000001965416773__section19225545132518"></a><a name="section19225545132518"></a><h4 class="sectiontitle">Viewing Cluster Monitoring Information</h4><p id="EN-US_TOPIC_0000001965416773__p77725592323">In the cluster list, check the monitoring information of clusters and cluster nodes.</p>
|
|
<ol id="EN-US_TOPIC_0000001965416773__ol15225545132515"><li id="EN-US_TOPIC_0000001965416773__li02268455258"><span id="EN-US_TOPIC_0000001965416773__ph152259618315">Log in to the CSS management console.</span></li><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000002271391393_li4250043448">In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001965416773__uicontrol178458813385145"><b>Clusters > Elasticsearch</b></span>.</li><li id="EN-US_TOPIC_0000001965416773__en-us_topic_0000002271391393_en-us_topic_0000001268154521_li6012554340">In the cluster list, find the target cluster, and choose <strong id="EN-US_TOPIC_0000001965416773__b94392831520">More</strong> > <strong id="EN-US_TOPIC_0000001965416773__b124332816154">Monitoring Metrics</strong> in the <strong id="EN-US_TOPIC_0000001965416773__b74492851510">Operation</strong> column.</li><li id="EN-US_TOPIC_0000001965416773__li11196851201217">On the <strong id="EN-US_TOPIC_0000001965416773__b46921359141520">Monitoring Metrics</strong> page, check the cluster and node metrics.<div class="fignone" id="EN-US_TOPIC_0000001965416773__fig7656523153714"><span class="figcap"><b>Figure 1 </b>Monitoring Metrics</span><br><span><img id="EN-US_TOPIC_0000001965416773__image126562023103718" src="figure/en-us_image_0000002005921800.png"></span></div>
|
|
<ul id="EN-US_TOPIC_0000001965416773__ul19811113155316"><li id="EN-US_TOPIC_0000001965416773__li18981151335315">Click the <strong id="EN-US_TOPIC_0000001965416773__b117532125263">Instances</strong> tab to check cluster metrics.<ul id="EN-US_TOPIC_0000001965416773__ul1469482412545"><li id="EN-US_TOPIC_0000001965416773__li1155541813535"><strong id="EN-US_TOPIC_0000001965416773__b9412133918288">Instances</strong>: Select a cluster to check its metrics. The current cluster is selected by default. Multiple clusters can be selected so that you may compare between them.</li><li id="EN-US_TOPIC_0000001965416773__li118601514514">You can also set monitoring periods so that you can compare metrics between different periods for the same cluster.</li><li id="EN-US_TOPIC_0000001965416773__li10715931044">Add Graph Group: You can add a custom group in addition to the default group. When you move the pointer over a group name on the left, the icons for changing the group name and deleting the group are displayed on the right. You can modify the group.</li><li id="EN-US_TOPIC_0000001965416773__li1525216437618">Select Metric: In the displayed <strong id="EN-US_TOPIC_0000001965416773__b1220019246438">Select Metric</strong> dialog box, set <span class="parmvalue" id="EN-US_TOPIC_0000001965416773__parmvalue677245413710"><b>All Metrics</b></span> and <span class="parmvalue" id="EN-US_TOPIC_0000001965416773__parmvalue1708195714715"><b>Top N Metrics</b></span>.</li></ul>
|
|
</li><li id="EN-US_TOPIC_0000001965416773__li119811513175310">Click the <span class="wintitle" id="EN-US_TOPIC_0000001965416773__wintitle6531104365118"><b>CSS Instances</b></span> tab to check the metrics of cluster nodes. Only the node monitoring information of the first cluster selected on the <strong id="EN-US_TOPIC_0000001965416773__b145111104713">Instances</strong> tab is displayed.<ul id="EN-US_TOPIC_0000001965416773__ul751811311893"><li id="EN-US_TOPIC_0000001965416773__li207131627096">CSS Instances: Select the cluster nodes whose metrics and information you want to check. By default, the first node of the current cluster is selected. Multiple nodes can be selected so that you may compare between them.</li><li id="EN-US_TOPIC_0000001965416773__li197131279918">You can also set monitoring periods so that you can compare metrics between different periods for the same cluster.</li><li id="EN-US_TOPIC_0000001965416773__li1871314273919">Add Graph Group: You can add a custom group in addition to the default group. When you move the pointer over a group name on the left, the icons for changing the group name and deleting the group are displayed on the right. You can modify the group.</li><li id="EN-US_TOPIC_0000001965416773__li1271310271199">Select Metric: In the displayed <strong id="EN-US_TOPIC_0000001965416773__b1965012215499">Select Metric</strong> dialog box, set <span class="parmvalue" id="EN-US_TOPIC_0000001965416773__parmvalue06511327492"><b>All Metrics</b></span>.</li></ul>
|
|
</li></ul>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0026.html">Configuring Elasticsearch Cluster Monitoring</a></div>
|
|
</div>
|
|
</div>
|
|
|