2016-08-02 38 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