我安装使用Vertica的社区版一个节点实例连接到Vertica的。我跑安装这样的:不能从远程计算机
/opt/vertica/sbin/install_vertica --hosts 127.0.0.1 --rpm /home/ec2-user/vertica-7.1.2-0.x86_64.RHEL5.rpm --dba-user dbadmin --data-dir /home/ec2-user/vertica1
安装都运行正确...我创建了一个数据库...加载数据...但没有这一切从盒子。
我的问题是,我无法从远程计算机连接到它。我可以在端口5433上的盒子的IP地址上telnet,但我无法连接到vertica。我这个错误:
vsql: could not connect to server: Connection timed out (0x0000274C/10060)
Is the server running on host "10.205.118.122" and accepting
TCP/IP connections on port 5433?
我的猜测是,我shoudl曾经做过一个 “--hosts boxipaddress” 而不是 “--hosts 127.0.0.1”?
netstat显示的是这样的:
tcp 0 3331573 127.0.0.1:5433 127.0.0.1:49915 FIN_WAIT1
tcp 0 1442177 127.0.0.1:5433 127.0.0.1:49760 FIN_WAIT1
,但我觉得它应该显示我的IP地址,而不是127.0.0.1
我在正确的道路上...,然后我怎么解决这个问题问题?
也是,iptables的是禁用...
我也改变了我的admintools.conf到看起来像这样:
[Cluster]
hosts = 10.205.118.122,127.0.0.1
[Nodes]
node0001 = 10.205.118.122,/home/ec2-user/vertica1,/home/ec2-user/vertica1
v_mdetest_node0001 = 10.205.118.122,/home/ec2-user/vertica1,/home/ec2-user/vertica1
v_mdetest2_node0001 = 10.205.118.122,/home/ec2-user/vertica1,/home/ec2-user/vertica1
[Database:mdetest]
restartpolicy = ksafe
port = 5433
path = /home/ec2-user/vertica1/mdetest
nodes = v_mdetest_node0001
[Database:mdetest2]
restartpolicy = ksafe
port = 5433
path = /home/ec2-user/vertica1/mdetest2/v_mdetest2_node0001_catalog
nodes = v_mdetest2_node0001
你也许试图连接到EC2?另外,你为什么手动改变你的'admintools.conf'? – Kermit
是的,我在一个EC2实例上安装了vertica(没有使用vertica AMI,因为我们没有访问它)。改变了admintools的conf,看看我能否得到它的工作... – user2061886
我不明白你没有访问AMI? – Kermit