无法在EC2客户端上安装GlusterFS卷

经过几天的试验和错误,我已经成功地创build了一个EC2实例(此刻一个单一的)我的gluster卷,它已成功启动…

[root@domU-12-31-39-10-26-7E ec2-user]# gluster volume info Volume Name: gv0 Type: Distribute Status: Started Number of Bricks: 1 Transport-type: tcp Bricks: Brick1: ec2-107-20-245-144.compute-1.amazonaws.com:/export 

从我的客户端EC2实例,我已经安装了gluster和保险丝 – 但是,当我尝试挂载驱动器,我只是不断得到这个错误。

 [root@ip-10-202-210-190 glusterfs]# mount -t glusterfs upload.themixtapesite.com:/gv0 /var/www/vhosts/i-16852366/wp-content/uploads/gravity_forms/1-9e5dc27086c8b2fd2e48678e1f54f98c/2013/02/gluster Mount failed. Please check the log file for more details. 

所有必需的端口都在TCP和UDP的安全组111,24007,24008,24009中打开,以确保安全。 如果是这样的话,我已经禁用了gluster服务器上的selinux。 我甚至试图从服务器到目标客户端做一个“gluster peer probe”,它会看到它并将其添加到列表中。

这里是日志错误

 [2013-06-13 06:24:41.022793] I [glusterfsd.c:1666:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.3.1 [2013-06-13 06:24:41.041254] E [socket.c:1715:socket_connect_finish] 0-glusterfs: connection to failed (No route to host) [2013-06-13 06:24:41.041346] E [glusterfsd-mgmt.c:1787:mgmt_rpc_notify] 0-glusterfsd-mgmt: failed to connect with remote-host: Transport endpoint is not connected [2013-06-13 06:24:41.041372] I [glusterfsd-mgmt.c:1790:mgmt_rpc_notify] 0-glusterfsd-mgmt: -1 connect attempts left [2013-06-13 06:24:41.041641] W [glusterfsd.c:831:cleanup_and_exit] (-->/usr/lib64/libgfrpc.so.0(rpc_transport_notify+0x28) [0x3ae580b018] (-->/usr/lib64/libgfrpc.so.0(rpc_clnt_notify+0xc0) [0x3ae580f$ [2013-06-13 06:24:41.041684] I [fuse-bridge.c:4648:fini] 0-fuse: Unmounting '/var/www/vhosts/i-16852366/wp-content/uploads/gravity_forms/1-9e5dc27086c8b2fd2e48678e1f54f98c/2013/02/gluster'. 

所以显然不能连接,但我不知道为什么 – 我试过重新启动。 还有什么明显的我失踪? 一些额外的Linux软件阻塞的东西? 我经历了大约6次如何引导和尝试的每一步,但没有。

更新:我可以从客户端实例成功SSH到gluster服务器实例 – 所以他们通过SSH交谈就好,但仍然没有运气安装。

服务器和客户端都运行GlusterFS v 3.3.1-15。