doc-exports/docs/dws/umn/dws_01_7115.html
Lu, Huayi 95132e24fc DWS UMN 830.201_new version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-27 11:54:34 +00:00

38 lines
13 KiB
HTML

<a name="EN-US_TOPIC_0000001707293917"></a><a name="EN-US_TOPIC_0000001707293917"></a>
<h1 class="topictitle1">Managing CNs</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_section1201157202712"><h4 class="sectiontitle">Purpose</h4><p id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_p349716118295">After a cluster is created, the number of required CNs varies with service requirements. The CN management function enables you to adjust the number of CNs in the cluster. The operations are as follows:</p>
<ul id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_ul4301511125312"><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li6301911165318"><a href="#EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_section941730165216">Adding CNs</a></li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li130121165315"><a href="#EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_section7292342175210">Deleting CNs</a></li></ul>
<div class="note" id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_note536104317508"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_ul88151420144211"><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_li1181632015421">This feature is supported only in cluster version 8.1.1 or later.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_li52265819400">Only cluster versions 8.1.3.300 and later (excluding 8.2.0) support online CN addition, deletion, and concurrent addition of multiple CNs.</li></ul>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_section881310350358"><h4 class="sectiontitle">Constraints and Limitations</h4><ul id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_ul205441726101618"><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li18544172671615">During resource provisioning, the default number of CNs is 3. You can adjust the number of CNs based on the number of provisioned nodes. The number of CNs ranges from 2 to 20.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li16544142691613">Do not perform other O&amp;M operations when adding or deleting a CN.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_li123716463442">Adding CNs consumes lots of CPU and I/O resources, which will greatly impact job performance. You are advised to perform this operation during off-peak hours or after services are stopped.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_li10333155494917">If a fault occurs when you add a CN node and the rollback fails, try adding the CN again. The deletion of a CN node cannot be rolled back.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_li87221110536">For a CN that fails to be added, you can only retry the addition. For a CN that fails to be deleted, you can only retry the deletion. Other O&amp;M operations are not allowed for such CNs.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_li1156514693117">If DDL operations, such as schema and function creation, are performed during CN deletion, an error may be reported because the deleted CN cannot be found. In this case, try again.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_li12959142673718">If one of your CNs is abnormal, you can only delete this abnormal CN. If two or more CNs are abnormal, you can delete CNs only after the CNs are recovered from faults.</li></ul>
</div>
<div class="section" id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_section941730165216"><a name="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_section941730165216"></a><a name="en-us_topic_0000001423119293_en-us_topic_0000001083058054_section941730165216"></a><h4 class="sectiontitle">Adding CNs</h4><ol id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_o4d27c72c9c5b483283c532fd703af879"><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_l3bf4b8bc45d343b6aec0b48be7dfc1aa"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li11952509114244"><span>On the <strong id="EN-US_TOPIC_0000001707293917__b177095537421">Clusters</strong> &gt; <strong id="EN-US_TOPIC_0000001707293917__b27091553124214">Dedicated Clusters</strong> page, locate the cluster to which you want to add CNs.</span></li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li111926412577"><span>In the <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b63551737155618">Operation </strong>column of the specified cluster, choose <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b107741026155612">More</strong> &gt; <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b106386293560">Manage CN</strong> &gt; <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b17620153135610">Add CN Node</strong>.</span><p><p id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_p1465262712571"><span><img id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_image06514274571" src="figure/en-us_image_0000001711599848.png" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li197211073417"><span>In the displayed dialog box, determine whether to add CNs to a specified node. If you select <strong id="EN-US_TOPIC_0000001707293917__b1665282415315">No</strong>, set the number of CNs after adjustment and click <strong id="EN-US_TOPIC_0000001707293917__b7460173615538">OK</strong>. If you select <strong id="EN-US_TOPIC_0000001707293917__b12668144275314">Yes</strong>, select a node and click <strong id="EN-US_TOPIC_0000001707293917__b962212532535">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_p15750131817102"><span><img id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_image1070715435301" src="figure/en-us_image_0000001759519269.png" title="Click to enlarge" class="imgResize"></span></p>
<p id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_p1313130207"><span><img id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_image161591824133111" src="figure/en-us_image_0000001759359401.png" title="Click to enlarge" class="imgResize"></span></p>
<div class="notice" id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_note1566711158019"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_ul1914809151015"><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li15148390108">Before adding a CN, ensure that the cluster is in the <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b2778259113614">Available</strong> or <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b889561193716">Unbalanced</strong> state.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li3148297103">The number of CNs after adjustment cannot exceed the number of deployed CNs. It must be less than or equal to the number of nodes, and less than or equal to 20.</li></ul>
</div></div>
</p></li></ol>
</div>
<div class="section" id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_section7292342175210"><a name="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_section7292342175210"></a><a name="en-us_topic_0000001423119293_en-us_topic_0000001083058054_section7292342175210"></a><h4 class="sectiontitle">Deleting CNs</h4><ol id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_ol964820365020"><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li76481436905"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li146498361107"><span>On the <strong id="EN-US_TOPIC_0000001707293917__b6112175654216">Clusters</strong> &gt; <strong id="EN-US_TOPIC_0000001707293917__b51126564423">Dedicated Clusters</strong> page, locate the cluster from which you want to delete CNs.</span></li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li146491361002"><span>In the <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b20530101311532">Operation</strong> column of the specified cluster, choose <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b95643184536">More </strong>&gt; <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b129152255531">Manage CN</strong> &gt; <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b73611426114411">Delete CN Node</strong>.</span><p><p id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_p364911364017"><span><img id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_image1764917369016" src="figure/en-us_image_0000001711440376.png" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li09294475117"><span>On the displayed page, select the CN to be deleted and click <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b1961115813379">OK</strong>.</span><p><p id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_p568704518510"><span><img id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_image1336455143415" src="figure/en-us_image_0000001711599880.png" title="Click to enlarge" class="imgResize"></span></p>
<div class="notice" id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_note104825321674"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><ul id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_ul671217384127"><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li173718426298">At least two CN must be retained.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li167131638141215">When you delete a CN, the cluster must be in the <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b19927423144116">Available</strong>, <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b119730257414">Degraded</strong>, or <strong id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001083058054_b91531129124114">Unbalanced</strong> state.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li07134387125">If an elastic IP address has been bound to a CN, the CN cannot be deleted.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li197131138101211">If abnormal nodes exist, only the abnormal CNs can be deleted.<ul id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_ul3728111114719"><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li7198164974713">If one CN is faulty, only this CN can be deleted.</li><li id="EN-US_TOPIC_0000001707293917__en-us_topic_0000001423119293_en-us_topic_0000001083058054_li18671201614482">If two or more CNs are faulty, no CN can be deleted.</li></ul>
</li></ul>
</div></div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_0600.html">Cluster Management</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>