2016-08-02 33 views
0

我正在使用Vertica社区版本7.2.3,并在AWS VPC上设置3节点群集。 我的install_vertica脚本运行良好。在创建数据库时,我通过adminTools发出命令的节点出现,但两个节点的其余部分保持关闭状态。在3节点Vertica群集中创建/启动数据库时出错

Node Status: v_mpp_test_node0001: (DOWN) v_mpp_test_node0002: (UP) v_mpp_test_node0003: (DOWN) 

所有必要的港口按照 'my.vertica.com/docs/Ecosystem/Amazon/HP_Vertica_7.1.x_Vertica_AWS.pdf' 是开放的。 3台服务器之间存在一个密码较少的ssh。

以下是netstat的输出:

[[email protected] ec2-user]# netstat -an | egrep 'tcp|udp' 
tcp  0  0 10.0.2.185:4803    0.0.0.0:*     LISTEN 
tcp  0  0 0.0.0.0:5444    0.0.0.0:*     LISTEN 
tcp  0  0 0.0.0.0:36582    0.0.0.0:*     LISTEN 
tcp  0  0 0.0.0.0:111     0.0.0.0:*     LISTEN 
tcp  0  0 0.0.0.0:22     0.0.0.0:*     LISTEN 
tcp  0  0 127.0.0.1:631    0.0.0.0:*     LISTEN 
tcp  0  0 0.0.0.0:5433    0.0.0.0:*     LISTEN 
tcp  0  0 127.0.0.1:25    0.0.0.0:*     LISTEN 
tcp  0  0 0.0.0.0:5434    0.0.0.0:*     LISTEN 
tcp  0  0 10.0.2.185:22    10.0.200.5:53124   ESTABLISHED 
tcp  0  0 10.0.2.185:5434    10.0.2.185:36504   ESTABLISHED 
tcp  0  0 10.0.2.185:36504   10.0.2.185:5434    ESTABLISHED 
tcp  0  0 :::111      :::*      LISTEN 
tcp  0  0 :::22      :::*      LISTEN 
tcp  0  0 ::1:631      :::*      LISTEN 
tcp  0  0 :::5433      :::*      LISTEN 
tcp  0  0 ::1:25      :::*      LISTEN 
udp  0  0 0.0.0.0:111     0.0.0.0:* 
udp  0  0 0.0.0.0:631     0.0.0.0:* 
udp  0  0 10.0.2.185:123    0.0.0.0:* 
udp  0  0 127.0.0.1:123    0.0.0.0:* 
udp  0  0 0.0.0.0:123     0.0.0.0:* 
udp  0  0 0.0.0.0:33666    0.0.0.0:* 
udp  0  0 0.0.0.0:935     0.0.0.0:* 
udp  0  0 10.0.2.185:5433    0.0.0.0:* 
udp  0  0 10.0.2.185:4803    0.0.0.0:* 
udp  0  0 10.0.2.185:4804    0.0.0.0:* 
udp  0  0 0.0.0.0:68     0.0.0.0:* 
udp  0  0 0.0.0.0:42327    0.0.0.0:* 
udp  0  0 :::111      :::* 
udp  0  0 fe80::8bf:7fff:fe9f:bd1b:123 :::* 
udp  0  0 ::1:123      :::* 
udp  0  0 :::123      :::* 
udp  0  0 :::935      :::* 

[[email protected] ec2-user]# nc -vz -u 10.0.2.186 4803 
Connection to 10.0.2.186 4803 port [udp/notateit-disc] succeeded! 
[[email protected] ec2-user]# nc -vz -u 10.0.2.184 4803 
Connection to 10.0.2.184 4803 port [udp/notateit-disc] succeeded! 

但我得到以下错误vnetpref

[[email protected] ~]$/opt/vertica/bin/vnetperf 
2016-08-02_13:10:28,619 ERROR: [Connector Thread 10.0.2.186 0x7fe59578e700] Couldn't connect to 10.0.2.186 (family 2, attempt 0): Connection timed out; errno=110 (Connection timed out) 
2016-08-02_13:10:28,619 ERROR: [Connector Thread 10.0.2.185 0x7fe59618f700] Couldn't connect to 10.0.2.185 (family 2, attempt 0): Connection timed out; errno=110 (Connection timed out) 
2016-08-02_13:11:32,619 ERROR: [Connector Thread 10.0.2.186 0x7fe59578e700] Couldn't connect to 10.0.2.186 (family 2, attempt 1): Connection timed out; errno=110 (Connection timed out) 
2016-08-02_13:11:32,619 ERROR: [Connector Thread 10.0.2.185 0x7fe59618f700] Couldn't connect to 10.0.2.185 (family 2, attempt 1): Connection timed out; errno=110 (Connection timed out) 
2016-08-02_13:12:36,619 ERROR: [Connector Thread 10.0.2.186 0x7fe59578e700] Couldn't connect to 10.0.2.186 (family 2, attempt 2): Connection timed out; errno=110 (Connection timed out) 
2016-08-02_13:12:36,619 ERROR: [Connector Thread 10.0.2.185 0x7fe59618f700] Couldn't connect to 10.0.2.185 (family 2, attempt 2): Connection timed out; errno=110 (Connection timed out) 
2016-08-02_13:12:37,619 ERROR: [Connector Thread 10.0.2.186 0x7fe59578e700] Could not find anything to connect to for 10.0.2.186; errno=110 (Connection timed out) 
2016-08-02_13:12:37,619 ERROR: [Connector Thread 10.0.2.185 0x7fe59618f700] Could not find anything to connect to for 10.0.2.185; errno=110 (Connection timed out) 
2016-08-02_13:12:37,619 ERROR: [main 0x7fe596b92720] Caught error: Unable to connect to host 10.0.2.185:14159 
Unable to connect to host 10.0.2.186:14159; errno=0 (Success) 

运转时,我也有专门打开端口14159?可能是什么问题? 如果需要特定的日志,请告诉我。

回答

0

是服务需要让端口14159对调用实例开放。你尝试过吗?

+0

我打开端口,vnetperf工作正常,但节点关闭的问题仍然存在。我尝试了全新安装。 – NitheshKHP

+0

这是一个AWS VPC问题,在安全组中,未添加使VPC中的实例能够相互通信的规则。添加后它工作正常。 – NitheshKHP