doc-exports/docs/dws/umn/dws_01_8115.html
Lu, Huayi 7505fe85a9 DWS UMN 8.1.3.200 VERSION
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2023-08-31 14:40:33 +00:00

27 lines
4.1 KiB
HTML

<a name="EN-US_TOPIC_0000001517913825"></a><a name="EN-US_TOPIC_0000001517913825"></a>
<h1 class="topictitle1">Performing a Primary/Standby Switchback</h1>
<div id="body0000001253788877"><div class="section" id="EN-US_TOPIC_0000001517913825__section17567184318267"><h4 class="sectiontitle">Context</h4><p id="EN-US_TOPIC_0000001517913825__p5309913114">In the <strong id="EN-US_TOPIC_0000001517913825__b1567997519036">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 not as good as that in a balanced state. Restore the primary-standby relationship to recover the cluster to the available state.</p>
<div class="note" id="EN-US_TOPIC_0000001517913825__note1680414910215"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001517913825__ul177065513184"><li id="EN-US_TOPIC_0000001517913825__li10706165151819">Only and later versions support primary/standby cluster restoration.</li><li id="EN-US_TOPIC_0000001517913825__li1670617512181">Cluster restoration interrupts services for a short period of time. The interruption duration depends on the service volume. You are advised to perform this operation during off-peak hours.</li></ul>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001517913825__section182821028162812"><h4 class="sectiontitle">Procedure</h4><ol id="EN-US_TOPIC_0000001517913825__ol65599416114244"><li id="EN-US_TOPIC_0000001517913825__li1793484014417"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001517913825__li11952509114244"><span>On the <strong id="EN-US_TOPIC_0000001517913825__b9004992209036">Clusters</strong>, find a cluster in <strong id="EN-US_TOPIC_0000001517913825__b4516800259036">Unbalanced</strong> state.</span></li><li id="EN-US_TOPIC_0000001517913825__li421342113159"><span>In the <strong id="EN-US_TOPIC_0000001517913825__b1291611440147">Cluster Status</strong> column of the cluster, click <strong id="EN-US_TOPIC_0000001517913825__b668075717146">Fix</strong> under <strong id="EN-US_TOPIC_0000001517913825__b1789614713158">Unbalanced</strong>.</span><p><p id="EN-US_TOPIC_0000001517913825__p22392001565"><span><img id="EN-US_TOPIC_0000001517913825__image5713155554814" src="figure/en-us_image_0000001638842550.png" width="517.796265" height="52.02614200000001" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001517913825__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_0000001517913825__b8561875479036">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_0000001517913825__p1610715221853"><span><img id="EN-US_TOPIC_0000001517913825__image18422152155015" src="figure/en-us_image_0000001638843774.png" width="406.819469" height="150.25834600000002" title="Click to enlarge" class="imgResize"></span></p>
</p></li><li id="EN-US_TOPIC_0000001517913825__li5202642114647"><span>Check the cluster status. During the switchback, the cluster status is <strong id="EN-US_TOPIC_0000001517913825__b6739422469036">Switching back</strong>. After the switchback, the cluster status will change to <strong id="EN-US_TOPIC_0000001517913825__b16019724509036">Available</strong>.</span><p><p id="EN-US_TOPIC_0000001517913825__p0636456710"><span><img id="EN-US_TOPIC_0000001517913825__image19963192911533" src="figure/en-us_image_0000001638847146.png" width="421.441755" height="144.052034" title="Click to enlarge" class="imgResize"></span></p>
</p></li></ol>
</div>
<p id="EN-US_TOPIC_0000001517913825__p591571371518"></p>
</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>