我正在尝试迁移一个Vertica集群。
connect语句成功:
CONNECT TO VERTICA mydb USER myuser PASSWORD '' on 'private-ip',5433;副本没有:
COPY otherdb.whatever FROM VERTICA mydb.table.whatever;
ERROR 4534: Receive on v_otherdb_node0002: Message receipt from v_otherdb_node0005 failed [canceled]
ROLLBACK 4236: One or more nodes did not open a data connection to this node. This may indicate a network configuration problem. Check that the private interfaces used for communication among the cluster hosts reside in the same subnet and are returned first by host address lookup/etc/host在两个集群上的配置都是正确的,这样hostname就可以跨所有机器映射到private-ip。Telnet,ping,netcat连接都很好。
我尝试过各种选择:
这两个集群各有6台机器,每个集群都是健康的,所有节点都已启动和响应。
还有什么我可以尝试的建议吗?
发布于 2016-11-04 16:28:47
问题是,其中一个集群已被设置为在不同于私有子网的子网上进行出口。
在做网猫的时候,我发现:
从这里我跑了:
select * from vs_subnets;
select database_name, export_subnet from databases;原来(很久以前)有人已经将旧集群配置为使用公共子网。
您可以通过运行以下命令来恢复这个值:
ALTER DATABASE <my-db-name> EXPORT ON DEFAULT;这使得DB返回到它的常规子网。
https://stackoverflow.com/questions/40309059
复制相似问题