forked from laiweijian4/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>
21 lines
4.7 KiB
HTML
21 lines
4.7 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="body8662426"><p id="css_02_0025__en-us_topic_0076847546_p202759561556">Perform the following steps to troubleshoot this problem:</p>
|
|
<ol id="css_02_0025__en-us_topic_0076847546_ol157021444182611"><li id="css_02_0025__en-us_topic_0076847546_li0702114414263">Check whether the ECS instance and cluster are in the same VPC.<ul id="css_02_0025__en-us_topic_0076847546_ul137021644182615"><li id="css_02_0025__en-us_topic_0076847546_li1570234472614">If they are, go to <a href="#css_02_0025__en-us_topic_0076847546_li47021920155415">2</a>.</li><li id="css_02_0025__en-us_topic_0076847546_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__en-us_topic_0076847546_li47021920155415"><a name="css_02_0025__en-us_topic_0076847546_li47021920155415"></a><a name="en-us_topic_0076847546_li47021920155415"></a>View the security group rule setting of the cluster to check whether port <strong id="css_02_0025__en-us_topic_0076847546_b1185735191620">9200</strong> (TCP protocol) is allowed or port <strong id="css_02_0025__en-us_topic_0076847546_b1117213112175">9200</strong> is included in the port range allowed in both the outbound and inbound directions.<ul id="css_02_0025__en-us_topic_0076847546_ul159483195518"><li id="css_02_0025__en-us_topic_0076847546_li1159453115517">If it is allowed, go to <a href="#css_02_0025__en-us_topic_0076847546_li770210445265">3</a>.</li><li id="css_02_0025__en-us_topic_0076847546_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__en-us_topic_0076847546_b65601236163512">9200</strong> in both the outbound and inbound directions.</li></ul>
|
|
</li><li id="css_02_0025__en-us_topic_0076847546_li770210445265"><a name="css_02_0025__en-us_topic_0076847546_li770210445265"></a><a name="en-us_topic_0076847546_li770210445265"></a>Check whether the ECS instance has been added to a security group.<ul id="css_02_0025__en-us_topic_0076847546_ul1702164410262"><li id="css_02_0025__en-us_topic_0076847546_li1870254416262">If the instance has been added to a security group, check whether the security group configuration rules are appropriate. You can view the <strong id="css_02_0025__en-us_topic_0076847546_b16181325114210">Security Group</strong> information on the <strong id="css_02_0025__en-us_topic_0076847546_b8802162717418">Basic Information</strong> tab page of the cluster. Then, go to step <a href="#css_02_0025__en-us_topic_0076847546_li12702114432619">4</a>.<div class="fignone" id="css_02_0025__en-us_topic_0076847546_fig753791214329"><span class="figcap"><b>Figure 1 </b>Viewing security group information</span><br><span><img id="css_02_0025__en-us_topic_0076847546_image199847314327" src="en-us_image_0000001477297370.png"></span></div>
|
|
</li><li id="css_02_0025__en-us_topic_0076847546_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__en-us_topic_0076847546_li12702114432619"><a name="css_02_0025__en-us_topic_0076847546_li12702114432619"></a><a name="en-us_topic_0076847546_li12702114432619"></a>Check whether the ECS instance can connect to the cluster.<div class="p" id="css_02_0025__en-us_topic_0076847546_p1170224452618"><a name="css_02_0025__en-us_topic_0076847546_li12702114432619"></a><a name="en-us_topic_0076847546_li12702114432619"></a><i><b><span class="cmdname" style="font-family:Arial" id="css_02_0025__en-us_topic_0076847546_cmdname2937185034614">ssh</span></b></i> <i><span class="varname" id="css_02_0025__en-us_topic_0076847546_varname1581114391496"><Private network address and port number of a node></span></i><div class="note" id="css_02_0025__en-us_topic_0076847546_note37026444266"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="css_02_0025__en-us_topic_0076847546_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__en-us_topic_0076847546_ul10702104432615"><li id="css_02_0025__en-us_topic_0076847546_li37029446266">If the connection is normal, the network is running properly.</li><li id="css_02_0025__en-us_topic_0076847546_li570294412263">If the connection still fails, contact technical support.</li></ul>
|
|
</li></ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="css_02_0077.html">Clusters</a></div>
|
|
</div>
|
|
</div>
|
|
|