forked from docs/doc-exports
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>
26 lines
6.4 KiB
HTML
26 lines
6.4 KiB
HTML
<a name="css_01_0014"></a><a name="css_01_0014"></a>
|
|
|
|
<h1 class="topictitle1">Restarting a Cluster</h1>
|
|
<div id="body0000001334459445"><p id="css_01_0014__p16296586613">If a cluster becomes faulty, you can restart it to check if it can run normally.</p>
|
|
<div class="section" id="css_01_0014__section5511250184611"><h4 class="sectiontitle">Prerequisites</h4><ul id="css_01_0014__ul1188663672716"><li id="css_01_0014__li158861636162718">The target cluster is not frozen and has no task in progress.</li><li id="css_01_0014__li19886193642716">If a cluster is available, ensure that it has stopped processing service requests (such as importing data and searching for data). Otherwise, data may be lost when the cluster is restarted. You are advised to perform this operation during off-peak hours.</li></ul>
|
|
</div>
|
|
<div class="section" id="css_01_0014__section5655101110386"><h4 class="sectiontitle">Context</h4><p id="css_01_0014__p82405141385">CSS supports quick restart and rolling restart.</p>
|
|
<div class="p" id="css_01_0014__p576222812384"><strong id="css_01_0014__b1927144863812"><a href="#css_01_0014__section144817324321">Quick Restart</a></strong><ul id="css_01_0014__ul16520140203912"><li id="css_01_0014__li20520305396">All clusters support this function.</li><li id="css_01_0014__li6615718164312">If you select a node type for quick restart, all nodes of the selected type will be restarted together.</li><li id="css_01_0014__li14520180113920">If you select a node name for quick restart, only the specified node will be restarted.</li><li id="css_01_0014__li15142832104512">The cluster is unavailable during quick restart.</li></ul>
|
|
</div>
|
|
<div class="p" id="css_01_0014__p6128833193818"><strong id="css_01_0014__b15477105143913"><a href="#css_01_0014__section1533564513219">Rolling Restart</a></strong><ul id="css_01_0014__ul384620179392"><li id="css_01_0014__li13389305394">Rolling restart is supported only when a cluster has more than three nodes (including master nodes, client nodes, and cold data nodes).</li><li id="css_01_0014__li151315237450">Rolling restart can be performed only by specifying node types. If you select a node type for rolling restart, the nodes of the selected type will be restarted in sequence.</li><li id="css_01_0014__li2846117163913">During the rolling restart, only the nodes that are being restarted are unavailable and other nodes can run normally.</li><li id="css_01_0014__li1156733104113">When the data volume is large, rolling restart will take a long time.</li></ul>
|
|
</div>
|
|
</div>
|
|
<div class="section" id="css_01_0014__section144817324321"><a name="css_01_0014__section144817324321"></a><a name="section144817324321"></a><h4 class="sectiontitle">Quick Restart</h4><ol id="css_01_0014__ol59716110339"><li id="css_01_0014__li93271911152510">Log in to the <span id="css_01_0014__text16667181662611">CSS</span> management console.</li><li id="css_01_0014__li163277114258">In the navigation pane on the left, choose <strong id="css_01_0014__b030318381241">Clusters</strong> > <strong id="css_01_0014__b8303153817248">Elasticsearch</strong>. On the displayed <strong id="css_01_0014__b9303838122419">Clusters</strong> page, locate the target cluster and choose <strong id="css_01_0014__b10303838192410">More</strong> > <strong id="css_01_0014__b4303838102412">Restart</strong> in the <strong id="css_01_0014__b103031838142412">Operation</strong> column.</li><li id="css_01_0014__li2820155185915">On the <strong id="css_01_0014__b4392142141814">Restart Cluster</strong> page, select <strong id="css_01_0014__b725525561811">Quick Restart</strong>.<p id="css_01_0014__p893112380447">You can quick restart nodes by <strong id="css_01_0014__b6506175621814">Node type</strong> or <strong id="css_01_0014__b165071856111816">Node name</strong>. If you select <strong id="css_01_0014__b1836518091919">Node type</strong>, then you can select multiple node types and perform quick restart at the time. If you select <strong id="css_01_0014__b1225167141915">Node name</strong>, you can perform quick restart only on one node at a time.</p>
|
|
</li><li id="css_01_0014__li129710111332">Refresh the page and check the cluster status. During the restart, the cluster status is <span class="parmvalue" id="css_01_0014__parmvalue37917438911533"><b>Processing</b></span>, and the task status is <span class="parmvalue" id="css_01_0014__parmvalue624425664115314"><b>Restarting</b></span>. If the cluster status changes to <span class="parmvalue" id="css_01_0014__parmvalue1024814826142925"><b>Available</b></span>, the cluster has been restarted successfully.</li></ol>
|
|
</div>
|
|
<div class="section" id="css_01_0014__section1533564513219"><a name="css_01_0014__section1533564513219"></a><a name="section1533564513219"></a><h4 class="sectiontitle">Rolling Restart</h4><ol id="css_01_0014__ol14670132413362"><li id="css_01_0014__li176702024193612">Log in to the <span id="css_01_0014__text467002423615">CSS</span> management console.</li><li id="css_01_0014__li1067012453614">In the navigation pane on the left, choose <strong id="css_01_0014__b19567845162411">Clusters</strong> > <strong id="css_01_0014__b356704517248">Elasticsearch</strong>. On the displayed <strong id="css_01_0014__b556874517241">Clusters</strong> page, locate the target cluster and choose <strong id="css_01_0014__b13568164522417">More</strong> > <strong id="css_01_0014__b1056944552420">Restart</strong> in the <strong id="css_01_0014__b95691245112415">Operation</strong> column.</li><li id="css_01_0014__li39318693">On the <strong id="css_01_0014__b16868122120190">Restart Cluster</strong> page, select <strong id="css_01_0014__b61141824111919">Rolling Restart</strong>.<p id="css_01_0014__p15868102621017">You can perform rolling restart by <strong id="css_01_0014__b198126151912">Node type</strong>. Select specific node types for restart.</p>
|
|
</li><li id="css_01_0014__li9670024103619">Refresh the page and check the cluster status. During the restart, the cluster status is <span class="parmvalue" id="css_01_0014__parmvalue423772516"><b>Processing</b></span>, and the task status is <span class="parmvalue" id="css_01_0014__parmvalue2054022180"><b>Restarting</b></span>. If the cluster status changes to <span class="parmvalue" id="css_01_0014__parmvalue420594605"><b>Available</b></span>, the cluster has been restarted successfully.</li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0009.html">Managing Elasticsearch Clusters</a></div>
|
|
</div>
|
|
</div>
|
|
|