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

85 lines
11 KiB
HTML

<a name="css_01_0153"></a><a name="css_01_0153"></a>
<h1 class="topictitle1">Scaling in a Cluster</h1>
<div id="body0000001527641717"><p id="css_01_0153__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__section11686944145218"><h4 class="sectiontitle">Prerequisites</h4><p id="css_01_0153__p388384925216">The target cluster is available and has no tasks in progress.</p>
</div>
<div class="section" id="css_01_0153__section12477125117522"><h4 class="sectiontitle">Constraints</h4><ul id="css_01_0153__ul1549322814277"><li id="css_01_0153__li744816402511">The node specifications and storage capacity cannot be modified during scale-in.</li><li id="css_01_0153__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__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__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__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__li7493162820274">The quota of nodes in different types varies. For details, see <a href="#css_01_0153__table10730243193816">Table 1</a>.
<div class="tablenoborder"><a name="css_01_0153__table10730243193816"></a><a name="table10730243193816"></a><table cellpadding="4" cellspacing="0" summary="" id="css_01_0153__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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.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.6.2.2.3.1.1 mcps1.3.3.2.6.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__section1177713055318"><h4 class="sectiontitle">Procedure</h4><ol id="css_01_0153__ol373518361145"><li id="css_01_0153__li1173513611411">Log in to the CSS management console.</li><li id="css_01_0153__li17735636141417">In the navigation pane on the left, choose <strong id="css_01_0153__b195621759184010">Clusters</strong>. On the displayed <strong id="css_01_0153__b185631859154013">Clusters</strong> page, locate the target cluster and choose <strong id="css_01_0153__b05638593409">More</strong> &gt; <span class="uicontrol" id="css_01_0153__uicontrol1756495916402"><b>Scale Cluster</b></span> in the <strong id="css_01_0153__b10564205917403">Operation</strong> column.</li><li id="css_01_0153__li13735736141416">On the <strong id="css_01_0153__b11321024153317">Modify Configuration</strong> page, set scale-in parameters.<ul id="css_01_0153__ul02151151205413"><li id="css_01_0153__li22151851165410"><span class="parmname" id="css_01_0153__parmname72931116554"><b>New Nodes</b></span>: The number of default nodes. For details about the quota, see <a href="#css_01_0153__table10730243193816">Table 1</a>.</li><li id="css_01_0153__li3856947564">If a cluster has master nodes, client nodes, or cold data nodes, you can change the node number. For details about the quotas of the master, client, and cold data node, see <a href="#css_01_0153__table10730243193816">Table 1</a>.</li></ul>
</li><li id="css_01_0153__li173623641418">Click <strong id="css_01_0153__b54423243124">Next</strong>.</li><li id="css_01_0153__li13737436141418">Confirm the information and click <strong id="css_01_0153__b17057534894732">Submit</strong>.</li><li id="css_01_0153__li11772194412145">Click <span class="uicontrol" id="css_01_0153__uicontrol26178789894732"><b>Back to Cluster List</b></span> to switch to the <strong id="css_01_0153__b137271613994732">Clusters</strong> page. The <span class="parmname" id="css_01_0153__parmname76355443715"><b>Task Status</b></span> is <span class="parmvalue" id="css_01_0153__parmvalue269155419375"><b>Scaling in</b></span>. When <span class="parmname" id="css_01_0153__parmname31911726162420"><b>Cluster Status</b></span> changes to <span class="parmvalue" id="css_01_0153__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">Scaling In/Out a Cluster</a></div>
</div>
</div>