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>
81 lines
13 KiB
HTML
81 lines
13 KiB
HTML
<a name="css_01_0499"></a><a name="css_01_0499"></a>
|
|
|
|
<h1 class="topictitle1">Restarting an OpenSearch Cluster</h1>
|
|
<div id="body0000001992165653"><p id="css_01_0499__css_01_0014_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="css_01_0499__css_01_0014_section1838035769"><h4 class="sectiontitle">Constraints</h4><ul id="css_01_0499__css_01_0014_ul14426204917714"><li id="css_01_0499__css_01_0014_li1842618498719">Avoid restarting a cluster during peak hours, as doing so may impact data integrity and service availability.</li><li id="css_01_0499__css_01_0014_li343322916811">During a quick restart, the cluster is unavailable for the entire duration of the restart.</li><li id="css_01_0499__css_01_0014_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="css_01_0499__css_01_0014_en-us_topic_0000001223594400_section5511250184611"><h4 class="sectiontitle">Prerequisites</h4><ul id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_ul1188663672716"><li id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_li158861636162718">The cluster you want to restart is not frozen and has no task in progress.</li><li id="css_01_0499__css_01_0014_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="css_01_0499__css_01_0014_en-us_topic_0000001223594400_section144817324321"><h4 class="sectiontitle">Quick Restart</h4><ol id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_ol59716110339"><li id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_li93271911152510">Log in to the <span id="css_01_0499__css_01_0014_text831239281111613">CSS</span> management console.</li><li id="css_01_0499__css_01_0014_li18952123014383">In the navigation pane on the left, expand <strong id="css_01_0499__css_01_0014_b1162093215217">Clusters</strong> and select a cluster type. A cluster list is displayed.</li><li id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_li163277114258">Locate the target cluster and click <strong id="css_01_0499__css_01_0014_b249272313226">More</strong> > <strong id="css_01_0499__css_01_0014_b17493132322217">Restart</strong> in the <strong id="css_01_0499__css_01_0014_b17493102312219">Operation</strong> column.</li><li id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_li2820155185915">On the <strong id="css_01_0499__css_01_0014_b123844719229">Restart Cluster</strong> page, set parameters.
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0499__css_01_0014_table99255327161" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Configuring a quick restart</caption><thead align="left"><tr id="css_01_0499__css_01_0014_row129252325165"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.4.2.4.2.2.3.1.1"><p id="css_01_0499__css_01_0014_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="css_01_0499__css_01_0014_p1792533216161">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_01_0499__css_01_0014_row1092503218166"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.4.2.4.2.2.3.1.1 "><p id="css_01_0499__css_01_0014_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="css_01_0499__css_01_0014_p15925132131611">Select <strong id="css_01_0499__css_01_0014_b7505115392315">Quick Restart</strong>.</p>
|
|
<div class="note" id="css_01_0499__css_01_0014_note6933516161810"><span class="notetitle"> NOTE: </span><div class="notebody"><p id="css_01_0499__css_01_0014_p16933131617188">The cluster will be unavailable for the entire duration of a quick restart.</p>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0499__css_01_0014_row2925132201619"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.4.2.4.2.2.3.1.1 "><p id="css_01_0499__css_01_0014_p16925103216169">Operation Role</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.4.2.4.2.2.3.1.2 "><p id="css_01_0499__css_01_0014_p3925732101619">Select <strong id="css_01_0499__css_01_0014_b256117594492">Node type</strong> or <strong id="css_01_0499__css_01_0014_b144373563495">Node name</strong>.</p>
|
|
<ul id="css_01_0499__css_01_0014_ul1129517818203"><li id="css_01_0499__css_01_0014_li32951786203"><strong id="css_01_0499__css_01_0014_b5449230155010">Node type</strong>: You can select multiple node types to restart them at the same time.</li><li id="css_01_0499__css_01_0014_li1229510811209"><strong id="css_01_0499__css_01_0014_b135142056135012">Node name</strong>: You can restart only one node at a time.</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0499__css_01_0014_row15925193211620"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.4.2.4.2.2.3.1.1 "><p id="css_01_0499__css_01_0014_p59251932191614">Operation Value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.4.2.4.2.2.3.1.2 "><p id="css_01_0499__css_01_0014_p392573218161">Select one or more node types or a node name, depending on the setting of <strong id="css_01_0499__css_01_0014_b1481054155717">Operation Role</strong>.</p>
|
|
<p id="css_01_0499__css_01_0014_p15771142052317">Values for <strong id="css_01_0499__css_01_0014_b723511313214">Node type</strong>:</p>
|
|
<ul id="css_01_0499__css_01_0014_css_01_0151_en-us_topic_0000001285669680_ul12497123683"><li id="css_01_0499__css_01_0014_css_01_0151_en-us_topic_0000001285669680_li64981323284"><strong id="css_01_0499__css_01_0014_b31982840711534">ess</strong>: data node</li><li id="css_01_0499__css_01_0014_css_01_0151_en-us_topic_0000001285669680_li6498112311818"><strong id="css_01_0499__css_01_0014_b50414626311534">ess-master</strong>: master node</li><li id="css_01_0499__css_01_0014_css_01_0151_en-us_topic_0000001285669680_li114982231584"><strong id="css_01_0499__css_01_0014_b95168469611534">ess-client</strong>: client node</li><li id="css_01_0499__css_01_0014_css_01_0151_en-us_topic_0000001285669680_li64984238813"><strong id="css_01_0499__css_01_0014_b172546262911534">ess-cold</strong>: cold data node</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="css_01_0499__css_01_0014_li198531756182412">Click OK to start the restart task.<p id="css_01_0499__css_01_0014_p6463155732410"><a name="css_01_0499__css_01_0014_li198531756182412"></a><a name="css_01_0014_li198531756182412"></a>Refresh the page and check the cluster status. During the restart, the cluster status is <span class="parmvalue" id="css_01_0499__css_01_0014_parmvalue21998578011534"><b><span id="css_01_0499__css_01_0014_text196523526011534">Processing</span></b></span>, and the task status is <span class="parmvalue" id="css_01_0499__css_01_0014_parmvalue213227894811534"><b>Restarting</b></span>. When the cluster status changes to <strong id="css_01_0499__css_01_0014_b1130313613316">Available</strong>, the cluster has restarted successfully.</p>
|
|
</li></ol>
|
|
</div>
|
|
<div class="section" id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_section1533564513219"><h4 class="sectiontitle">Rolling Restart</h4><ol id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_ol14670132413362"><li id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_li176702024193612">Log in to the <span id="css_01_0499__css_01_0014_text1903035677111613">CSS</span> management console.</li><li id="css_01_0499__css_01_0014_li1551955943712">In the navigation pane on the left, expand <strong id="css_01_0499__css_01_0014_b6754152411313">Clusters</strong> and select a cluster type. A cluster list is displayed.</li><li id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_li1067012453614">Locate the target cluster and click <strong id="css_01_0499__css_01_0014_b1599729437">More</strong> > <strong id="css_01_0499__css_01_0014_b115997293316">Restart</strong> in the <strong id="css_01_0499__css_01_0014_b1459962915318">Operation</strong> column.</li><li id="css_01_0499__css_01_0014_en-us_topic_0000001223594400_li39318693">On the <strong id="css_01_0499__css_01_0014_b9512133412315">Restart Cluster</strong> page, set parameters.
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="css_01_0499__css_01_0014_table17811171742817" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Configuring a rolling restart</caption><thead align="left"><tr id="css_01_0499__css_01_0014_row1181131718286"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.5.2.4.2.2.3.1.1"><p id="css_01_0499__css_01_0014_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="css_01_0499__css_01_0014_p15811217152814">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="css_01_0499__css_01_0014_row1381120174286"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.2.4.2.2.3.1.1 "><p id="css_01_0499__css_01_0014_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="css_01_0499__css_01_0014_p198113174287">Select <strong id="css_01_0499__css_01_0014_b064301214416">Rolling Restart</strong>.</p>
|
|
<div class="note" id="css_01_0499__css_01_0014_note148111217142817"><span class="notetitle"> NOTE: </span><div class="notebody"><ul id="css_01_0499__css_01_0014_ul119432033173118"><li id="css_01_0499__css_01_0014_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="css_01_0499__css_01_0014_li199431433193112">During a rolling restart, the nodes of a cluster are restarted one at time. This may take a long time if the cluster has a large number of indexes.</li></ul>
|
|
</div></div>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0499__css_01_0014_row28112017182813"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.2.4.2.2.3.1.1 "><p id="css_01_0499__css_01_0014_p12812111772813">Operation Role</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.4.2.2.3.1.2 "><p id="css_01_0499__css_01_0014_p0812017132817">Only <strong id="css_01_0499__css_01_0014_b250952911149">Node type</strong> is supported. You can select multiple node types to restart them at the same time.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="css_01_0499__css_01_0014_row168127175289"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.5.2.4.2.2.3.1.1 "><p id="css_01_0499__css_01_0014_p68121317102817">Operation Value</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.5.2.4.2.2.3.1.2 "><p id="css_01_0499__css_01_0014_p19812417102814">Select node types for the restart.</p>
|
|
<p id="css_01_0499__css_01_0014_p20812317162816">Values for <strong id="css_01_0499__css_01_0014_b15382123810154">Node type</strong>:</p>
|
|
<ul id="css_01_0499__css_01_0014_ul381271718280"><li id="css_01_0499__css_01_0014_li0812101714287"><strong id="css_01_0499__css_01_0014_b17820184014158">ess</strong>: data node</li><li id="css_01_0499__css_01_0014_li1481215173282"><strong id="css_01_0499__css_01_0014_b660944310151">ess-master</strong>: master node</li><li id="css_01_0499__css_01_0014_li1181241711281"><strong id="css_01_0499__css_01_0014_b78521225111534">ess-client</strong>: client node</li><li id="css_01_0499__css_01_0014_li481220178283"><strong id="css_01_0499__css_01_0014_b40279453911534">ess-cold</strong>: cold data node</li></ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="css_01_0499__css_01_0014_li2037573512356">Click OK to start the restart task.<p id="css_01_0499__css_01_0014_p18375535133519"><a name="css_01_0499__css_01_0014_li2037573512356"></a><a name="css_01_0014_li2037573512356"></a>Refresh the page and check the cluster status. During the restart, the cluster status is <span class="parmvalue" id="css_01_0499__css_01_0014_parmvalue38659524152"><b><span id="css_01_0499__css_01_0014_text12864135217154">Processing</span></b></span>, and the task status is <span class="parmvalue" id="css_01_0499__css_01_0014_parmvalue1086575218152"><b>Restarting</b></span>. When the cluster status changes to <strong id="css_01_0499__css_01_0014_b867125631516">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_0486.html">Managing OpenSearch Clusters</a></div>
|
|
</div>
|
|
</div>
|
|
|