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

23 lines
6.6 KiB
HTML

<a name="css_02_0120"></a><a name="css_02_0120"></a>
<h1 class="topictitle1">Can I Restore a Deleted Cluster?</h1>
<div id="body0000001350428305"><p id="css_02_0120__p2513657384">Yes. You can use a snapshot stored in OBS to restore a cluster. A deleted cluster that has no snapshots in OBS cannot be restored. Exercise caution when deleting a cluster.</p>
<p id="css_02_0120__p063991573515">To restore a deleted cluster, perform the following steps:</p>
<ol id="css_02_0120__ol4493193512359"><li id="css_02_0120__li349393563519">Log in to the <span id="css_02_0120__text11528443437">CSS</span> management console.</li><li id="css_02_0120__li5736142015443">In the navigation pane on the left, choose <strong id="css_02_0120__b1221582512413">Clusters</strong>. On the displayed <strong id="css_02_0120__b184653101556">Clusters</strong> page, click <strong id="css_02_0120__b4899654349">Create Cluster</strong> in the upper right corner to create a cluster and enable the snapshot function. Set the OBS bucket and backup path to those of the cluster to be restored.<p id="css_02_0120__p1612710469169">To restore a deleted cluster to an existing cluster, set the OBS bucket and backup path to those of the deleted cluster.</p>
<div class="notice" id="css_02_0120__note154862216110"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="css_02_0120__p4548142216117">To restore a deleted cluster to a new cluster, ensure they are in the same region. The new cluster version must be the same as or later than that of the deleted cluster. The number of nodes in the new cluster must be greater than half of that in the deleted cluster. Otherwise, the cluster may fail to be restored.</p>
</div></div>
</li><li id="css_02_0120__li1479018342000">If the status of the new cluster changes to <strong id="css_02_0120__b1138511231192">Available</strong>, click the cluster name to go to the <strong id="css_02_0120__b15610128298">Cluster Information</strong> page.</li><li id="css_02_0120__li104931435153512">In the navigation pane on the left, choose <strong id="css_02_0120__b9583204095918">Cluster Snapshots</strong>.<p id="css_02_0120__p9672155820711">In the snapshot management list, you can view the snapshot information of the deleted cluster. If no information is displayed, wait for several minutes and refresh the page.</p>
</li><li id="css_02_0120__li24931735143516">Locate the target snapshot and click <strong id="css_02_0120__b13612628161013">Restore</strong> in the <strong id="css_02_0120__b11331204814109">Operation</strong> column. The <strong id="css_02_0120__b1184214312113">Restore</strong> page is displayed.</li><li id="css_02_0120__li115316101430">On the <strong id="css_02_0120__en-us_topic_0000001268314505_b1512174016219">Restore</strong> page, set restoration parameters.<p id="css_02_0120__en-us_topic_0000001268314505_p5758729448"><span class="parmname" id="css_02_0120__en-us_topic_0000001268314505_parmname305852533173346"><b>Index</b></span>: Enter the name of the index you want to restore. If you do not specify any index name, data of all indexes will be restored. The value can contain 0 to 1,024 characters. Uppercase letters, spaces, and certain special characters (including "\&lt;|&gt;/?) are not allowed.</p>
<p id="css_02_0120__en-us_topic_0000001268314505_p1011936842"><span class="parmname" id="css_02_0120__en-us_topic_0000001268314505_parmname11775549718"><b>Rename Pattern</b></span>: Enter a regular expression. Indexes that match the regular expression are restored. The default value <span class="parmvalue" id="css_02_0120__en-us_topic_0000001268314505_parmvalue215201401018"><b>index_(.+)</b></span> indicates restoring data of all indices. The value contains 0 to 1,024 characters. Uppercase letters, spaces, and certain special characters (including "\&lt;|&gt;/?,) are not allowed.</p>
<p id="css_02_0120__en-us_topic_0000001268314505_p461114482049"><span class="parmname" id="css_02_0120__en-us_topic_0000001268314505_parmname1293745717712"><b>Rename Replacement</b></span>: Enter the index renaming rule. The default value <span class="parmvalue" id="css_02_0120__en-us_topic_0000001268314505_parmvalue563703423114216"><b>restored_index_$1</b></span> indicates that <span class="parmvalue" id="css_02_0120__en-us_topic_0000001268314505_parmvalue806962896114232"><b>restored_</b></span> is added in front of the names of all restored indexes. The value can contain 0 to 1,024 characters. Uppercase letters, spaces, and certain special characters (including "\&lt;|&gt;/?,) are not allowed. You can set <span class="parmname" id="css_02_0120__en-us_topic_0000001268314505_parmname8406743125715"><b>Rename Replacement</b></span> only if you have specified <span class="parmname" id="css_02_0120__en-us_topic_0000001268314505_parmname12507141054718"><b>Rename Pattern</b></span>.</p>
<p id="css_02_0120__en-us_topic_0000001268314505_p114165551149"><span class="parmname" id="css_02_0120__en-us_topic_0000001268314505_parmname0874120486"><b>Cluster</b></span>: Select the cluster that you want to restore. You can select the current cluster or others. However, you can only restore the snapshot to clusters whose status is <span class="parmname" id="css_02_0120__en-us_topic_0000001268314505_parmname18702145212217"><b>Available</b></span>. If the status of the current cluster is <span class="parmname" id="css_02_0120__en-us_topic_0000001268314505_parmname232675192211"><b>Unavailable</b></span>, you cannot restore the snapshot to the current cluster. If you select another cluster and two or more indexes in the cluster have the same name, data of all indices with the same name as the name you specify will be overwritten. Therefore, exercise caution when you set the parameters.</p>
<div class="fignone" id="css_02_0120__en-us_topic_0000001268314505_fig128071912118"><span class="figcap"><b>Figure 1 </b>Restoring a snapshot</span><br><span><img id="css_02_0120__en-us_topic_0000001268314505_image1343149208" src="en-us_image_0000001477137558.png"></span></div>
</li><li id="css_02_0120__li14267162211412">Click <span class="uicontrol" id="css_02_0120__en-us_topic_0000001268314505_uicontrol1346108317431"><b>OK</b></span>. If restoration succeeds, <span class="parmname" id="css_02_0120__en-us_topic_0000001268314505_parmname316941968135515"><b>Task Status</b></span> of the snapshot in the snapshot list will change to <span class="parmvalue" id="css_02_0120__en-us_topic_0000001268314505_parmvalue1569249825135521"><b>Restoration succeeded</b></span>, and the index data is generated again according to the snapshot information.</li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0055.html">Functions</a></div>
</div>
</div>