forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: zhengxiu <zhengxiu@huawei.com> Co-committed-by: zhengxiu <zhengxiu@huawei.com>
80 lines
15 KiB
HTML
80 lines
15 KiB
HTML
<a name="EN-US_TOPIC_0000001992165653"></a><a name="EN-US_TOPIC_0000001992165653"></a>
|
|
|
|
<h1 class="topictitle1">Restarting an OpenSearch Cluster</h1>
|
|
<div id="body0000001992165653"><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_p16296586613">If an OpenSearch cluster has stopped working, you can try to recover it by restarting it. Two restart options are available: quick restart and rolling restart. You are advised to perform the restart during off-peak hours.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_section1838035769"><h4 class="sectiontitle">Constraints</h4><ul id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_ul14426204917714"><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li1842618498719">Avoid restarting a cluster during peak hours, as doing so may impact data integrity and service availability.</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li343322916811">During a quick restart, the cluster is unavailable for the entire duration of the restart.</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li484614381083">Rolling restart is supported only for clusters with three or more nodes, including the master node, client node, and cold data nodes. During a rolling restart, only the nodes that are being restarted are unavailable. When the cluster stores a large amount of data, the restart may take a long time.</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_section5511250184611"><h4 class="sectiontitle">Prerequisites</h4><ul id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_ul1188663672716"><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_li158861636162718">The cluster you want to restart is not frozen and has no task in progress.</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_li19886193642716">The cluster is available and is not processing any service requests, such as importing and searching for data. Otherwise, data loss may occur during a cluster restart.</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_section144817324321"><h4 class="sectiontitle">Quick Restart</h4><ol id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_ol59716110339"><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_li93271911152510"><span id="EN-US_TOPIC_0000001992165653__ph4222205142920">Log in to the CSS management console.</span></li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li448417016810">In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000002271391393_uicontrol14126137204412"><b>Clusters > OpenSearch</b></span>.</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_li163277114258">In the cluster list, find the target cluster, and choose <span class="uicontrol" id="EN-US_TOPIC_0000001992165653__uicontrol1316273814112"><b>More > Restart</b></span> in the <strong id="EN-US_TOPIC_0000001992165653__b6162138101110">Operation</strong> column.</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_li2820155185915">On the <strong id="EN-US_TOPIC_0000001992165653__b111155559924641">Restart Cluster</strong> page, set parameters.
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_table99255327161" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Configuring a quick restart</caption><thead align="left"><tr id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_row129252325165"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.4.2.4.2.2.3.1.1"><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p18925143231613">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.4.2.4.2.2.3.1.2"><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p1792533216161">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_row1092503218166"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.4.2.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p1692513219164">Restart Mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.4.2.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p15925132131611">Select <strong id="EN-US_TOPIC_0000001992165653__b149816345424641">Quick Restart</strong>.</p>
|
|
<div class="warning" id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_note1199015500816"><span class="warningtitle"> WARNING: </span><div class="warningbody"><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p16933131617188">The cluster will be unavailable for the entire duration of a quick restart.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_row2925132201619"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.4.2.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p16925103216169">Select By</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.4.2.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p3925732101619">Select <strong id="EN-US_TOPIC_0000001992165653__b58911661524641">Node type</strong> or <strong id="EN-US_TOPIC_0000001992165653__b72840316824641">Node name</strong>.</p>
|
|
<ul id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_ul1129517818203"><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li32951786203"><strong id="EN-US_TOPIC_0000001992165653__b164066742224641">Node type</strong>: You can select multiple node types to restart them at the same time.</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li1229510811209"><strong id="EN-US_TOPIC_0000001992165653__b59782536124641">Node name</strong>: You can restart only one node at a time.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_row15925193211620"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.4.2.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p59251932191614">Value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.4.2.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p392573218161">Select one or more node types or a node name, depending on the setting of <strong id="EN-US_TOPIC_0000001992165653__b58920782624641">Select By</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p15771142052317">Values for <strong id="EN-US_TOPIC_0000001992165653__b203302909624641">Node type</strong>:</p>
|
|
<ul id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001938218180_en-us_topic_0000001285669680_ul12497123683"><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001938218180_en-us_topic_0000001285669680_li64981323284"><strong id="EN-US_TOPIC_0000001992165653__b72171324524641">ess</strong>: data node</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001938218180_en-us_topic_0000001285669680_li6498112311818"><strong id="EN-US_TOPIC_0000001992165653__b146305802924641">ess-master</strong>: master node</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001938218180_en-us_topic_0000001285669680_li114982231584"><strong id="EN-US_TOPIC_0000001992165653__b207075204524641">ess-client</strong>: client node</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001938218180_en-us_topic_0000001285669680_li64984238813"><strong id="EN-US_TOPIC_0000001992165653__b169192874024641">ess-cold</strong>: cold data node</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li198531756182412">Click <strong id="EN-US_TOPIC_0000001992165653__b128153549114">OK</strong> to start the restart task.<p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p6463155732410">Refresh the page and check the cluster status. During the restart, the cluster status is <span class="parmvalue" id="EN-US_TOPIC_0000001992165653__parmvalue57252505524641"><b><span id="EN-US_TOPIC_0000001992165653__text113338353624641">Processing</span></b></span>, and the task status is <span class="parmvalue" id="EN-US_TOPIC_0000001992165653__parmvalue210856017324641"><b>Restarting</b></span>. When the cluster status changes to <strong id="EN-US_TOPIC_0000001992165653__b76939007924641">Available</strong>, the cluster has restarted successfully.</p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_section1533564513219"><h4 class="sectiontitle">Rolling Restart</h4><ol id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_ol14670132413362"><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_li176702024193612"><span id="EN-US_TOPIC_0000001992165653__ph14377111182419">Log in to the CSS management console.</span></li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li11633636592">In the navigation pane on the left, choose <span class="uicontrol" id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_uicontrol166331360914"><b>Clusters > OpenSearch</b></span>.</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_li1067012453614">In the cluster list, find the target cluster, and choose <span class="uicontrol" id="EN-US_TOPIC_0000001992165653__uicontrol1926250111114"><b>More > Restart</b></span> in the <strong id="EN-US_TOPIC_0000001992165653__b172617502115">Operation</strong> column.</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_en-us_topic_0000001223594400_li39318693">On the <strong id="EN-US_TOPIC_0000001992165653__b129539900024641">Restart Cluster</strong> page, set parameters.
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_table17811171742817" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Configuring a rolling restart</caption><thead align="left"><tr id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_row1181131718286"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.2.4.2.2.3.1.1"><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p1781116176289">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.5.2.4.2.2.3.1.2"><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p15811217152814">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_row1381120174286"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.2.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p381111179281">Restart Mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p198113174287">Select <strong id="EN-US_TOPIC_0000001992165653__b21238996324641">Rolling Restart</strong>.</p>
|
|
<ul id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_ul119432033173118"><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li14943143313118">Rolling restart is supported only for clusters with three or more nodes, including the master node, client node, and cold data nodes.</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li199431433193112">During a rolling restart, the nodes of a cluster are restarted one at a time. This may take a long time if the cluster has a large number of indexes.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_row28112017182813"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.2.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p12812111772813">Select By</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p0812017132817">Only <strong id="EN-US_TOPIC_0000001992165653__b168522281824641">Node type</strong> is supported. You can select multiple node types to restart them at the same time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_row168127175289"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.2.4.2.2.3.1.1 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p68121317102817">Value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.4.2.2.3.1.2 "><p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p19812417102814">Select node types for the restart.</p>
|
|
<p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p20812317162816">Values for <strong id="EN-US_TOPIC_0000001992165653__b209847679624641">Node type</strong>:</p>
|
|
<ul id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_ul381271718280"><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li0812101714287"><strong id="EN-US_TOPIC_0000001992165653__b171975087924641">ess</strong>: data node</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li1481215173282"><strong id="EN-US_TOPIC_0000001992165653__b193298269324641">ess-master</strong>: master node</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li1181241711281"><strong id="EN-US_TOPIC_0000001992165653__b166351645524641">ess-client</strong>: client node</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li481220178283"><strong id="EN-US_TOPIC_0000001992165653__b174015782924641">ess-cold</strong>: cold data node</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_li2037573512356">Click <strong id="EN-US_TOPIC_0000001992165653__b95301344171115">OK</strong> to start the restart task.<p id="EN-US_TOPIC_0000001992165653__en-us_topic_0000001938377912_p18375535133519">Refresh the page and check the cluster status. During the restart, the cluster status is <span class="parmvalue" id="EN-US_TOPIC_0000001992165653__parmvalue82637913324641"><b><span id="EN-US_TOPIC_0000001992165653__text47800603524641">Processing</span></b></span>, and the task status is <span class="parmvalue" id="EN-US_TOPIC_0000001992165653__parmvalue168467133724641"><b>Restarting</b></span>. When the cluster status changes to <strong id="EN-US_TOPIC_0000001992165653__b120787792724641">Available</strong>, the cluster has restarted successfully.</p>
|
|
</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0274.html">Managing OpenSearch Clusters</a></div>
|
|
</div>
|
|
</div>
|
|
|