doc-exports/docs/css/umn/css_01_0153.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

88 lines
14 KiB
HTML

<a name="css_01_0153"></a><a name="css_01_0153"></a>
<h1 class="topictitle1">Scaling in a Cluster</h1>
<div id="body0000001338349521"><p id="css_01_0153__en-us_topic_0000001338349521_p18220112044212">If a cluster can process existing data without fully using its resources, you can scale in the cluster to reduce costs. Services are not interrupted during cluster scale-in.</p>
<div class="section" id="css_01_0153__en-us_topic_0000001338349521_section11686944145218"><h4 class="sectiontitle">Prerequisites</h4><p id="css_01_0153__en-us_topic_0000001338349521_p388384925216">The target cluster is available and has no tasks in progress.</p>
</div>
<div class="section" id="css_01_0153__en-us_topic_0000001338349521_section12477125117522"><h4 class="sectiontitle">Constraints</h4><ul id="css_01_0153__en-us_topic_0000001338349521_ul1549322814277"><li id="css_01_0153__en-us_topic_0000001338349521_li744816402511">Only the number of nodes can be modified during cluster scale-in. The node specifications and node storage capacity cannot be modified. For details about how to change node specifications and node storage capacity, see <a href="css_01_0152.html">Changing Specifications</a> and <a href="css_01_0151.html">Scaling Out a Cluster</a>, respectively.</li><li id="css_01_0153__en-us_topic_0000001338349521_li2821830236">If you change the number and storage capacity of a specified type of node, nodes in other types will not be changed.</li><li id="css_01_0153__en-us_topic_0000001338349521_li108232692012">Ensure that the disk usage after scale-in is less than 80% and each AZ of each node type has at least one node.</li><li id="css_01_0153__en-us_topic_0000001338349521_li194371964368">When scaling in a cluster, the data in the node to be deleted is migrated to other nodes. The timeout threshold for data migration is five hours. If data migration is not complete within 5 hours, the cluster scale-in fails. You are advised to perform scale-in for multiple times when the cluster has huge amounts of data.</li><li id="css_01_0153__en-us_topic_0000001338349521_li18828244182018">For a cluster without master nodes, the number of remaining data nodes (including cold data nodes and other types of nodes) after scale-in must be greater than half of the original node number, and greater than the maximum number of index replicas.</li><li id="css_01_0153__en-us_topic_0000001338349521_li79004414393">For a cluster with master nodes, the number of removed master nodes in a scale-in must be fewer than half of the original master node number. After scale-in, there has to be an odd number of master nodes, and there has to be at least three of them.</li><li id="css_01_0153__en-us_topic_0000001338349521_li109431229151819">A cluster with two nodes cannot be scaled in. You can create a cluster using a single node and then .</li><li id="css_01_0153__en-us_topic_0000001338349521_li7493162820274">The quota of nodes in different types varies. For details, see <a href="#css_01_0153__en-us_topic_0000001338349521_table10730243193816">Table 1</a>.
<div class="tablenoborder"><a name="css_01_0153__en-us_topic_0000001338349521_table10730243193816"></a><a name="en-us_topic_0000001338349521_table10730243193816"></a><table cellpadding="4" cellspacing="0" summary="" id="css_01_0153__en-us_topic_0000001338349521_table10730243193816" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Number of nodes in different types</caption><thead align="left"><tr id="css_01_0153__en-us_topic_0000001285669680_row1976920435387"><th align="left" class="cellrowborder" valign="top" width="50.529999999999994%" id="mcps1.3.3.2.8.2.2.3.1.1"><p id="css_01_0153__en-us_topic_0000001285669680_p1976954343811">Node Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="49.47%" id="mcps1.3.3.2.8.2.2.3.1.2"><p id="css_01_0153__en-us_topic_0000001285669680_p1276920435389">Number</p>
</th>
</tr>
</thead>
<tbody><tr id="css_01_0153__en-us_topic_0000001285669680_row1769164393820"><td class="cellrowborder" valign="top" width="50.529999999999994%" headers="mcps1.3.3.2.8.2.2.3.1.1 "><p id="css_01_0153__en-us_topic_0000001285669680_p18769184333816">ess</p>
</td>
<td class="cellrowborder" valign="top" width="49.47%" headers="mcps1.3.3.2.8.2.2.3.1.2 "><p id="css_01_0153__en-us_topic_0000001285669680_p127691243123819">ess: 1-32</p>
</td>
</tr>
<tr id="css_01_0153__en-us_topic_0000001285669680_row177691843183816"><td class="cellrowborder" valign="top" width="50.529999999999994%" headers="mcps1.3.3.2.8.2.2.3.1.1 "><p id="css_01_0153__en-us_topic_0000001285669680_p776964317385">ess, ess-master</p>
</td>
<td class="cellrowborder" valign="top" width="49.47%" headers="mcps1.3.3.2.8.2.2.3.1.2 "><p id="css_01_0153__en-us_topic_0000001285669680_p9769194317381">ess: 1-200</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p1976911438384">ess-master: an odd number ranging from 3 to 9</p>
</td>
</tr>
<tr id="css_01_0153__en-us_topic_0000001285669680_row107691743183814"><td class="cellrowborder" valign="top" width="50.529999999999994%" headers="mcps1.3.3.2.8.2.2.3.1.1 "><p id="css_01_0153__en-us_topic_0000001285669680_p1769443133816">ess, ess-client</p>
</td>
<td class="cellrowborder" valign="top" width="49.47%" headers="mcps1.3.3.2.8.2.2.3.1.2 "><p id="css_01_0153__en-us_topic_0000001285669680_p157691943163815">ess: 1-32</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p1976917431383">ess-client: 1-32</p>
</td>
</tr>
<tr id="css_01_0153__en-us_topic_0000001285669680_row57692432388"><td class="cellrowborder" valign="top" width="50.529999999999994%" headers="mcps1.3.3.2.8.2.2.3.1.1 "><p id="css_01_0153__en-us_topic_0000001285669680_p18769343203813">ess, ess-cold</p>
</td>
<td class="cellrowborder" valign="top" width="49.47%" headers="mcps1.3.3.2.8.2.2.3.1.2 "><p id="css_01_0153__en-us_topic_0000001285669680_p12769194317384">ess: 1-32</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p1138220591537">ess-cold: 1-32</p>
</td>
</tr>
<tr id="css_01_0153__en-us_topic_0000001285669680_row187701743193815"><td class="cellrowborder" valign="top" width="50.529999999999994%" headers="mcps1.3.3.2.8.2.2.3.1.1 "><p id="css_01_0153__en-us_topic_0000001285669680_p1477054314389">ess, ess-master, ess-client</p>
</td>
<td class="cellrowborder" valign="top" width="49.47%" headers="mcps1.3.3.2.8.2.2.3.1.2 "><p id="css_01_0153__en-us_topic_0000001285669680_p2770164303816">ess: 1-200</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p877020432386">ess-master: an odd number ranging from 3 to 9</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p177044313389">ess-client: 1-32</p>
</td>
</tr>
<tr id="css_01_0153__en-us_topic_0000001285669680_row27701443143811"><td class="cellrowborder" valign="top" width="50.529999999999994%" headers="mcps1.3.3.2.8.2.2.3.1.1 "><p id="css_01_0153__en-us_topic_0000001285669680_p2770443173816">ess, ess-master, ess-cold</p>
</td>
<td class="cellrowborder" valign="top" width="49.47%" headers="mcps1.3.3.2.8.2.2.3.1.2 "><p id="css_01_0153__en-us_topic_0000001285669680_p1777074316382">ess: 1-200</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p5770124393818">ess-master: an odd number ranging from 3 to 9</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p161801250733">ess-cold: 1-32</p>
</td>
</tr>
<tr id="css_01_0153__en-us_topic_0000001285669680_row67708433382"><td class="cellrowborder" valign="top" width="50.529999999999994%" headers="mcps1.3.3.2.8.2.2.3.1.1 "><p id="css_01_0153__en-us_topic_0000001285669680_p777018438384">ess, ess-client, ess-cold</p>
</td>
<td class="cellrowborder" valign="top" width="49.47%" headers="mcps1.3.3.2.8.2.2.3.1.2 "><p id="css_01_0153__en-us_topic_0000001285669680_p077074353816">ess: 1-32</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p12770194393813">ess-client: 1-32</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p1841425314">ess-cold: 1-32</p>
</td>
</tr>
<tr id="css_01_0153__en-us_topic_0000001285669680_row7770143153811"><td class="cellrowborder" valign="top" width="50.529999999999994%" headers="mcps1.3.3.2.8.2.2.3.1.1 "><p id="css_01_0153__en-us_topic_0000001285669680_p577044333818">ess, ess-master, ess-client, ess-cold</p>
</td>
<td class="cellrowborder" valign="top" width="49.47%" headers="mcps1.3.3.2.8.2.2.3.1.2 "><p id="css_01_0153__en-us_topic_0000001285669680_p1777017437384">ess: 1-200</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p077034315388">ess-master: an odd number ranging from 3 to 9</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p5770144314386">ess-client: 1-32</p>
<p id="css_01_0153__en-us_topic_0000001285669680_p1278719254314">ess-cold: 1-32</p>
</td>
</tr>
<tr id="css_01_0153__en-us_topic_0000001285669680_row14267396512"><td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.3.2.8.2.2.3.1.1 mcps1.3.3.2.8.2.2.3.1.2 "><div class="p" id="css_01_0153__en-us_topic_0000001285669680_p3497523687">Details about the four node types:<ul id="css_01_0153__en-us_topic_0000001285669680_ul12497123683"><li id="css_01_0153__en-us_topic_0000001285669680_li64981323284"><strong id="css_01_0153__en-us_topic_0000001285669680_b1543078192814">ess</strong>: the default node type that is mandatory for cluster creation. The other three node types are optional.</li><li id="css_01_0153__en-us_topic_0000001285669680_li6498112311818"><strong id="css_01_0153__en-us_topic_0000001285669680_b14242174542716">ess-master</strong>: master node</li><li id="css_01_0153__en-us_topic_0000001285669680_li114982231584"><strong id="css_01_0153__en-us_topic_0000001285669680_b051753122720">ess-client</strong>: client node</li><li id="css_01_0153__en-us_topic_0000001285669680_li64984238813"><strong id="css_01_0153__en-us_topic_0000001285669680_b151201057162715">ess-cold</strong>: cold data node</li></ul>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="css_01_0153__en-us_topic_0000001338349521_section1177713055318"><h4 class="sectiontitle">Procedure</h4><ol id="css_01_0153__en-us_topic_0000001338349521_ol373518361145"><li id="css_01_0153__en-us_topic_0000001338349521_li1173513611411">Log in to the <span id="css_01_0153__en-us_topic_0000001338349521_text197351036151410">CSS</span> management console.</li><li id="css_01_0153__li108716541501">In the navigation pane, choose a cluster type. The cluster management page is displayed.</li><li id="css_01_0153__en-us_topic_0000001285669680_li17735636141417">Choose <strong id="css_01_0153__b191204542215">More</strong> &gt; <strong id="css_01_0153__b112010582214">Modify Configuration</strong> in the <strong id="css_01_0153__b512019552214">Operation</strong> column of the target cluster. The <strong id="css_01_0153__b5120856224">Modify Configuration</strong> page is displayed.</li><li id="css_01_0153__en-us_topic_0000001338349521_li13735736141416">On the <strong id="css_01_0153__en-us_topic_0000001338349521_b7744427154719">Modify Configuration</strong> page, choose the <strong id="css_01_0153__en-us_topic_0000001338349521_b185561330115120">Scale Cluster</strong> tab and click <strong id="css_01_0153__en-us_topic_0000001338349521_b14556183015120">Scale in</strong> to set parameters.<ul id="css_01_0153__en-us_topic_0000001338349521_ul02151151205413"><li id="css_01_0153__en-us_topic_0000001338349521_li22151451125417"><span class="parmname" id="css_01_0153__en-us_topic_0000001338349521_parmname6788656105417"><b>Action</b></span>: Select <strong id="css_01_0153__en-us_topic_0000001338349521_b7571192551510">Scale in</strong>.</li><li id="css_01_0153__li34323253568"><span class="parmname" id="css_01_0153__parmname179818334563"><b>Resources</b></span>: The changed amount of resources.</li><li id="css_01_0153__li85876530578"><span class="parmname" id="css_01_0153__parmname781050155819"><b>Agency</b></span>: Select an IAM agency to grant the current account the permission to switch AZs.<p id="css_01_0153__en-us_topic_0000001438549444_p697283115108">If no agency is available, click <span class="uicontrol" id="css_01_0153__uicontrol109491053152213"><b>Create IAM Agency</b></span> to go to the IAM console and create an agency.</p>
<div class="note" id="css_01_0153__en-us_topic_0000001438549444_note9969917163718"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_01_0153__en-us_topic_0000001438549444_p1970121723714">The selected agency must be assigned the <strong id="css_01_0153__b42701856192210">Tenant Administrator</strong> or <strong id="css_01_0153__b202707568229">VPC Administrator</strong> policy.</p>
</div></div>
</li><li id="css_01_0153__li1128215310587"><span class="parmname" id="css_01_0153__parmname1844015915586"><b>Nodes</b></span>: The number of the default data nodes. For details about the value range that can be changed, see <a href="#css_01_0153__en-us_topic_0000001338349521_table10730243193816">Table 1</a>.</li></ul>
</li><li id="css_01_0153__en-us_topic_0000001338349521_li173623641418">Click <span class="uicontrol" id="css_01_0153__uicontrol34426042311"><b>Next</b></span>.</li><li id="css_01_0153__en-us_topic_0000001338349521_li13737436141418">Confirm the information and click <strong id="css_01_0153__en-us_topic_0000001338349521_b17057534894732">Submit</strong>.</li><li id="css_01_0153__en-us_topic_0000001338349521_li11772194412145">Click <span class="uicontrol" id="css_01_0153__en-us_topic_0000001338349521_uicontrol26178789894732"><b>Back to Cluster List</b></span> to switch to the <strong id="css_01_0153__en-us_topic_0000001338349521_b137271613994732">Clusters</strong> page. The <span class="parmname" id="css_01_0153__en-us_topic_0000001338349521_parmname76355443715"><b>Task Status</b></span> is <span class="parmvalue" id="css_01_0153__en-us_topic_0000001338349521_parmvalue269155419375"><b>Scaling in</b></span>. When <span class="parmname" id="css_01_0153__en-us_topic_0000001338349521_parmname31911726162420"><b>Cluster Status</b></span> changes to <span class="parmvalue" id="css_01_0153__en-us_topic_0000001338349521_parmvalue121972262247"><b>Available</b></span>, the cluster has been successfully scaled in.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0149.html">Changing the Elasticsearch Cluster Form</a></div>
</div>
</div>