Files
doc-exports/docs/css/umn/css_01_0001.html
zhengxiu 93d856d5c5 css umn 25.6.0 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: zhengxiu <zhengxiu@huawei.com>
Co-committed-by: zhengxiu <zhengxiu@huawei.com>
2025-11-25 11:34:43 +00:00

167 lines
23 KiB
HTML

<a name="EN-US_TOPIC_0000002316900222"></a><a name="EN-US_TOPIC_0000002316900222"></a>
<h1 class="topictitle1">Planning Cluster AZs and HA</h1>
<div id="body0000002316900222"><p id="EN-US_TOPIC_0000002316900222__p1838195205810">This topic describes how to improve cluster availability by deploying a cluster across multiple AZs, including the rules for distributing cluster nodes among AZs, the recommended number of replicas, and policies for handling AZ failures.</p>
<p id="EN-US_TOPIC_0000002316900222__p47645014470">An availability zone (AZ) is a physical region where resources use independent power supplies and networks. AZs in the same region can communicate with each other through internal networks but are physically isolated.</p>
<p id="EN-US_TOPIC_0000002316900222__p5810175163217">Multi-AZ deployment is a high availability feature provided by CSS. Deploying a cluster across two or three AZs located in the same region can help prevent data loss and lower the possibility of service outages.</p>
<div class="section" id="EN-US_TOPIC_0000002316900222__section14999164703320"><a name="EN-US_TOPIC_0000002316900222__section14999164703320"></a><a name="section14999164703320"></a><h4 class="sectiontitle">Suggestions on Multi-AZ Deployment</h4><p id="EN-US_TOPIC_0000002316900222__p1714111433505">If you select multi-AZ deployment when creating a cluster, CSS automatically enables cross-AZ HA to ensure that cluster nodes will be evenly distributed across the selected AZs (the difference between the number of nodes in each AZ cannot exceed 1).</p>
<p id="EN-US_TOPIC_0000002316900222__p51893775114">You are advised to select three AZs, instead of two AZs, for multi-AZ deployment. If only two AZs are selected and one AZ becomes faulty, the cluster may not be able to elect a master node. As a result, the cluster may become unavailable.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000002316900222__section1074611275359"><h4 class="sectiontitle">Node Distribution Rules</h4><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p5879102475511">When a multi-AZ cluster is created, nodes of all types are evenly distributed across different AZs. A maximum of three AZs can be used. <a href="#EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_table539520458522">Table 1</a> shows the node distribution when the number of AZs varies.</p>
<div class="warning" id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_note1329341715411"><span class="warningtitle"><img src="public_sys-resources/warning_3.0-en-us.png"> </span><div class="warningbody"><ul id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_ul2346026115414"><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li1334618261546">When creating a multi-AZ cluster, ensure that the number of selected nodes of any type is greater than or equal to the number of AZs. Otherwise, multi-AZ cluster deployment will fail.</li><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li1034613262546">If the number of data nodes or cold data nodes in a cluster is not divisible by the number of AZs, data in the cluster may be unevenly distributed, affecting data query or write performance.</li></ul>
</div></div>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_table539520458522"></a><a name="en-us_topic_0000002287671248_table539520458522"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_table539520458522" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Node distribution when the numbers of nodes and AZs vary</caption><tbody><tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row33959453528"><th class="firstcol" rowspan="2" valign="top" id="mcps1.3.5.4.2.8.1.1"><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p6395104525210">Node Quantity</p>
</th>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p10395164555212">Single AZ</p>
</td>
<td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.5.4.2.8.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p15395144510524">Two AZs</p>
</td>
<td class="cellrowborder" colspan="3" valign="top" headers="mcps1.3.5.4.2.8.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p17395145105211">Three AZs</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row15395345135212"><td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p14395154519521">AZ1</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1239513453528">AZ1</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p339594515220">AZ2</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1339510457521">AZ1</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p33961345155219">AZ2</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p19396154514523">AZ3</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row93961345105217"><th class="firstcol" valign="top" id="mcps1.3.5.4.2.8.3.1"><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p539614511526">1</p>
</th>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.3.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1539664515526">1</p>
</td>
<td class="cellrowborder" colspan="2" valign="top" headers="mcps1.3.5.4.2.8.3.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1239644517524">Not supported</p>
</td>
<td class="cellrowborder" colspan="3" valign="top" headers="mcps1.3.5.4.2.8.3.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p12396134518526">Not supported</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row1139684565218"><th class="firstcol" valign="top" id="mcps1.3.5.4.2.8.4.1"><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p939619456525">2</p>
</th>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.4.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p13396184519523">2</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.4.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p13961145135216">1</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.4.2.8.4.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p939664575213">1</p>
</td>
<td class="cellrowborder" colspan="3" valign="top" headers="mcps1.3.5.4.2.8.4.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p12396114518527">Not supported</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row73961645165213"><th class="firstcol" valign="top" width="14.285714285714285%" id="mcps1.3.5.4.2.8.5.1"><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p439684525220">3</p>
</th>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.5.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p8396184516528">3</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.5.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p83969451528">2</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.5.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p15396145165210">1</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.5.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1039614575212">1</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.5.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p17396134514522">1</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.5.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p10396745175212">1</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row1139611455526"><th class="firstcol" valign="top" width="14.285714285714285%" id="mcps1.3.5.4.2.8.6.1"><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p13969450524">4</p>
</th>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.6.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p153963453526">4</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.6.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p123969450523">2</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.6.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p339616459524">2</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.6.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p3397445175212">2</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.6.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p17397184545216">1</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.6.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p8397184512522">1</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row43971645195214"><th class="firstcol" valign="top" width="14.285714285714285%" id="mcps1.3.5.4.2.8.7.1"><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p9397174517523">...</p>
</th>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.7.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p63971945145212">...</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.7.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p183971945105215">...</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.7.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p163971045115211">...</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.7.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p13397144513525">...</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.7.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p339714514523">...</p>
</td>
<td class="cellrowborder" valign="top" width="14.285714285714285%" headers="mcps1.3.5.4.2.8.7.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p17397144514528">...</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000002316900222__section5809152013345"><h4 class="sectiontitle">Replica Configuration Suggestions</h4><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p182901029721">For a multi-AZ cluster, configure the number of index replicas in a manner that can better capitalize on the high availability that comes with such as deployment.</p>
<ul id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_ul2026942119111"><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li6269021613">With a dual-AZ deployment, if one AZ becomes unavailable, the other AZ continues to provide services. In this case, configure at least one replica. If higher query performance is desired, you can increase the number of replicas.</li><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li107187249710">In the case of a three-AZ deployment, if one AZ becomes unavailable, the other AZs can continue to provide services. In this case, also configure at least one replica. To enhance the cluster's query performance, increase the number of replicas.</li></ul>
<p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p3902194412718">For Elasticsearch and OpenSearch clusters, the default number of index replicas is 1. To enable more replicas, modify settings. The following are two examples.</p>
<ul id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_ul1544982751114"><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li13449202712111">Adjust the number of replicas for an existing index:<p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1290218441375"><a name="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li13449202712111"></a><a name="en-us_topic_0000002287671248_li13449202712111"></a><b><span class="cmdname" id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_cmdname114988206715">curl -XPUT http://ip:9200/{index_name}/_settings -d '{"number_of_replicas":2}'</span></b></p>
</li><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li514310328110">Set the number of replicas for new indexes using a template:<p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1902544975"><a name="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li514310328110"></a><a name="en-us_topic_0000002287671248_li514310328110"></a><b><span class="cmdname" id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_cmdname12499320477">curl -XPUT http://ip:9200/_template/templatename -d '{ "template": "*", "settings": {"number_of_replicas": 2}}'</span></b></p>
</li></ul>
<p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p99021744772">where, <strong id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_b24911316172916">ip</strong> indicates the private IP address of the cluster; <strong id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_b7637183072919">index_name</strong> indicates the index name; <strong id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_b095367292">templatename</strong> indicates the template name; <strong id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_b12566355174311">template</strong> indicates the index name matching rule (meaning the template will automatically apply to indexes that match this rule. The asterisk (*) indicates that the template will apply to all new indexes); and <strong id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_b1149195742920">number_of_replicas</strong> indicates the number of index replicas to change to. In this example, the number of index replicas is changed to 2.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000002316900222__section1891413413349"><h4 class="sectiontitle">Service Outage Pattern Analysis</h4><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p113815432010">Master nodes manage cluster-wide operations, including metadata, indexes, and shard allocation. In a cluster with master nodes, the master nodes perform these tasks. In a cluster without them, data nodes and cold data nodes share the responsibilities of the master nodes.</p>
<p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p8355145119112">In the case of a single AZ failure, if fewer than half (including half) of the nodes assuming master node responsibilities are still available, service availability will be affected. In this case, you need to restore services by referring to <a href="#EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_table15496183015206">Table 2</a>.</p>
<p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p94961930112017">For example, a cluster has three master nodes distributed in two AZs. If the AZ that contains one master node becomes unavailable while the other AZ remains available, services will still be available. However, if it is the other AZ, which contains two of the three master nodes, that fails, services will be interrupted, because fewer than half of the master nodes (or nodes that assume master node responsibilities) are available. In this case, restore services by referring to <a href="#EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_table15496183015206">Table 2</a>.</p>
<div class="tablenoborder"><a name="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_table15496183015206"></a><a name="en-us_topic_0000002287671248_table15496183015206"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_table15496183015206" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Possible service outage patterns in the face of the failure of a single AZ</caption><thead align="left"><tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row19496193018201"><th align="left" class="cellrowborder" valign="top" width="14.62%" id="mcps1.3.7.5.2.4.1.1"><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p749613002016">Number of AZs</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.43%" id="mcps1.3.7.5.2.4.1.2"><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p3496103016209">Number of Master Nodes</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="69.95%" id="mcps1.3.7.5.2.4.1.3"><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p84961330142018">Service Outage Patterns and Handling Suggestions</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row549619305200"><td class="cellrowborder" valign="top" width="14.62%" headers="mcps1.3.7.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1949619303203">2</p>
</td>
<td class="cellrowborder" valign="top" width="15.43%" headers="mcps1.3.7.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p194971830122014">0 (In this case, data nodes and cold data nodes share the responsibilities of master nodes.)</p>
</td>
<td class="cellrowborder" valign="top" width="69.95%" headers="mcps1.3.7.5.2.4.1.3 "><ul id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_ul16497130132013"><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li5497143010204">If the number of data nodes plus cold data nodes is an even number:<p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p74971930162016"><a name="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li5497143010204"></a><a name="en-us_topic_0000002287671248_li5497143010204"></a>If half of the nodes become unavailable due to the failure of a single AZ, you must add one node to the still available AZ to ensure a master node can be elected for the cluster. To add nodes to your cluster, contact technical support.</p>
</li><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li154979308200">If the number of data nodes plus cold data nodes is an old number:<ul id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_ul164971430112015"><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li6497930142017">If the failed AZ is the one that has one more node, you must add two nodes to the surviving AZ to ensure a master node can be elected for the cluster. To add nodes to your cluster, contact technical support.</li><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li449733042017">If the failed AZ is the other one—the one that has one less node, services will not be interrupted and a master node can be elected.</li></ul>
</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row1549718304206"><td class="cellrowborder" valign="top" width="14.62%" headers="mcps1.3.7.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p7497123016206">2</p>
</td>
<td class="cellrowborder" valign="top" width="15.43%" headers="mcps1.3.7.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p149712309202">3</p>
</td>
<td class="cellrowborder" valign="top" width="69.95%" headers="mcps1.3.7.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p34971530112012">There is a 50% chance of service interruption when one AZ fails. In this situation, one AZ has two master nodes, and the other has one:</p>
<ul id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_ul104971530162011"><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li174974301202">If the AZ that has one master node fails while the other AZ remains available, two master nodes are still available, so a master node can be elected from among them. In this case, services remain available.</li><li id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_li249773017205">If the failed AZ is the other one, only one master node survives, in which case, no master node can be elected, and services will be interrupted. In this case, contact technical support.</li></ul>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row9497143015208"><td class="cellrowborder" valign="top" width="14.62%" headers="mcps1.3.7.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p44978301206">3</p>
</td>
<td class="cellrowborder" valign="top" width="15.43%" headers="mcps1.3.7.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1649716304206">0 (In this case, data nodes and cold data nodes share the responsibilities of master nodes.)</p>
</td>
<td class="cellrowborder" valign="top" width="69.95%" headers="mcps1.3.7.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p11470217185917">There is a small chance of service interruption when a single node fails. However, there is one high-risk scenario: If the cluster spans three AZs and the total number of data nodes plus cold data nodes is 4, so the node distribution across the three AZs is 2-1-1, the failure of the AZ containing two nodes will cause a service interruption. To avoid this, avoid selecting four nodes for a three-AZ cluster.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_row1349733002017"><td class="cellrowborder" valign="top" width="14.62%" headers="mcps1.3.7.5.2.4.1.1 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p0497183018209">3</p>
</td>
<td class="cellrowborder" valign="top" width="15.43%" headers="mcps1.3.7.5.2.4.1.2 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p1649703018208">3</p>
</td>
<td class="cellrowborder" valign="top" width="69.95%" headers="mcps1.3.7.5.2.4.1.3 "><p id="EN-US_TOPIC_0000002316900222__en-us_topic_0000002287671248_p0497930152020">A single AZ failure will not result in service interruptions.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_01_0188.html">Elasticsearch Cluster Planning Suggestions</a></div>
</div>
</div>