doc-exports/docs/dws/umn/dws_01_8115.html
Lu, Huayi c5fcb46315 DWS UMN 801 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2022-12-13 12:47:57 +00:00

27 lines
4.8 KiB
HTML

<a name="EN-US_TOPIC_0000001254729675"></a><a name="EN-US_TOPIC_0000001254729675"></a>
<h1 class="topictitle1">Performing a Primary/Standby Switchback</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_section17567184318267"><h4 class="sectiontitle">Context</h4><p id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_p5309913114">In the <strong id="EN-US_TOPIC_0000001254729675__b173512111271">Unbalanced</strong> state, the number of primary instances on some nodes increases. As a result, the load pressure is high. In this case, the cluster is normal, but the overall performance is lower than that in the balanced state. During off-peak hours, you are advised to perform a switchback to restore the primary/standby relationship of your cluster.</p>
<div class="note" id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_note1680414910215"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_ul177065513184"><li id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_li10706165151819">Only <span id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_ph9702184513385">8.1.1.202</span> and later versions support primary/standby switchback.</li><li id="EN-US_TOPIC_0000001254729675__li1670617512181">You are advised to perform a switchback during off-peak hours. Switchback interrupts services for a short period of time. The actual interruption duration depends on your service volume.</li></ul>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_section182821028162812"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_ol65599416114244"><li id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_li1793484014417"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_li11952509114244"><span>On the <strong id="EN-US_TOPIC_0000001254729675__b565785919331">Clusters</strong> page, find a cluster in <strong id="EN-US_TOPIC_0000001254729675__b429761111340">Unbalanced</strong> state.</span></li><li id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_li421342113159"><span>In the <strong id="EN-US_TOPIC_0000001254729675__b1731581863414">Operation</strong> column of the cluster, choose <span class="menucascade" id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_menucascade121072119153"><b><span class="uicontrol" id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_uicontrol30092420145811">More</span></b> &gt; <b><span class="uicontrol" id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_uicontrol175782515191">Switchback</span></b></span>.</span><p><p id="EN-US_TOPIC_0000001254729675__p1044111147611"><span><img id="EN-US_TOPIC_0000001254729675__image7678151515611" src="figure/en-us_image_0000001216175352.png" width="408.975" height="165.63687000000002" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_li74701137202918"><span>In the dialog box that is displayed, confirm that the service is in off-peak hours, and click <strong id="EN-US_TOPIC_0000001254729675__b9900102511354">Yes</strong>. A message will be displayed in the upper right corner, indicating that the switchback request is being processed.</span><p><p id="EN-US_TOPIC_0000001254729675__p035318567415"><span><img id="EN-US_TOPIC_0000001254729675__image367320571042" src="figure/en-us_image_0000001260615077.png" width="418.95000000000005" height="156.045974" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_li5202642114647"><span>Check the cluster status. During the switchback, the cluster status is <strong id="EN-US_TOPIC_0000001254729675__b1942573313614">Switching back</strong>. After the switchback, the cluster status will change to <strong id="EN-US_TOPIC_0000001254729675__b116875973613">Available</strong>.</span><p><p id="EN-US_TOPIC_0000001254729675__p45891648165"><span><img id="EN-US_TOPIC_0000001254729675__image107052498613" src="figure/en-us_image_0000001216015456.png" width="412.96500000000003" height="145.953136" title="Click to enlarge" class="imgResize"></span></p>
</p></li></ol>
</div>
<p id="EN-US_TOPIC_0000001254729675__en-us_topic_0000001253788877_p591571371518"></p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_0600.html">Clusters</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>