doc-exports/docs/css/umn/css_02_0025.html
gtema 72909318a9 Add css docs
Reviewed-by: Goncharov, Artem <artem.goncharov@t-systems.com>
Co-authored-by: gtema <artem.goncharov@gmail.com>
Co-committed-by: gtema <artem.goncharov@gmail.com>
2022-10-19 13:04:46 +00:00

27 lines
4.1 KiB
HTML

<a name="css_02_0025"></a><a name="css_02_0025"></a>
<h1 class="topictitle1">Why Does My ECS Fail to Connect to a Cluster?</h1>
<div id="body1505365535091"><p id="css_02_0025__p202759561556">Perform the following steps:</p>
<ol id="css_02_0025__ol157021444182611"><li id="css_02_0025__li0702114414263">Check whether the ECS instance and cluster are in the same VPC.<ul id="css_02_0025__ul137021644182615"><li id="css_02_0025__li1570234472614">If they are, go to <a href="#css_02_0025__li47021920155415">2</a>.</li><li id="css_02_0025__li1670284422617">If they are not, create an ECS instance and ensure that the ECS instance is in the same VPC as the cluster.</li></ul>
</li><li id="css_02_0025__li47021920155415"><a name="css_02_0025__li47021920155415"></a><a name="li47021920155415"></a>View the security group rule setting of the cluster to check whether port <strong id="css_02_0025__b1185735191620">9200</strong> (TCP protocol) is allowed or port <strong id="css_02_0025__b1117213112175">9200</strong> is included in the port range allowed in both the outbound and inbound directions.<ul id="css_02_0025__ul159483195518"><li id="css_02_0025__li1159453115517">If it is allowed, go to <a href="#css_02_0025__li770210445265">3</a>.</li><li id="css_02_0025__li162562815512">If it is not allowed, switch to the VPC management console and configure the security group rule of the cluster to allow port <strong id="css_02_0025__b65601236163512">9200</strong> in both the outbound and inbound directions.</li></ul>
</li><li id="css_02_0025__li770210445265"><a name="css_02_0025__li770210445265"></a><a name="li770210445265"></a>Check whether the ECS instance has been added to a security group.<ul id="css_02_0025__ul1702164410262"><li id="css_02_0025__li1870254416262">If the instance has been added to a security group, check whether the security group configuration rules meet requirements. For details, see the description of <span class="parmname" id="css_02_0025__parmname117489140710633"><b>Security Group</b></span> in the cluster information table in <span class="parmname" id="css_02_0025__parmname63550416710616"><b>Clusters</b></span>. Then go to <a href="#css_02_0025__li12702114432619">4</a>.<div class="fignone" id="css_02_0025__fig753791214329"><span class="figcap"><b>Figure 1 </b>Viewing security group information</span><br><span><img id="css_02_0025__image199847314327" src="en-us_image_0000001286116622.png" width="460.845" height="239.933729" title="Click to enlarge" class="imgResize"></span></div>
</li><li id="css_02_0025__li870214422614">If the instance has not been added to the security group, go to the VPC page from the ECS instance details page, select a security group, and add the ECS to the group.</li></ul>
</li><li id="css_02_0025__li12702114432619"><a name="css_02_0025__li12702114432619"></a><a name="li12702114432619"></a>Check whether the ECS instance can connect to the cluster.<div class="p" id="css_02_0025__p1170224452618"><a name="css_02_0025__li12702114432619"></a><a name="li12702114432619"></a><i><b><span class="cmdname" style="font-family:Arial" id="css_02_0025__cmdname2937185034614">ssh</span></b></i> <i><span class="varname" id="css_02_0025__varname1581114391496">&lt;Private network address and port number of a node&gt;</span></i><div class="note" id="css_02_0025__note37026444266"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_02_0025__p15702104462613">If the cluster contains multiple nodes, check whether the ECS can be connected to each node in the cluster.</p>
</div></div>
</div>
<ul id="css_02_0025__ul10702104432615"><li id="css_02_0025__li37029446266">If the connection is normal, the network is running properly.</li><li id="css_02_0025__li570294412263">If the ECS still cannot connect to the DB instance port, contact technical support.</li></ul>
</li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0001.html">FAQs</a></div>
</div>
</div>
<script language="JavaScript">
<!--
image_size('.imgResize');
var msg_imageMax = "view original image";
var msg_imageClose = "close";
//--></script>