无法在 EC2 客户端上挂载 GlusterFS 卷

无法在 EC2 客户端上挂载 GlusterFS 卷

经过几天的反复试验,我成功地在 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 和 fuse - 但是当我尝试安装驱动器时我只是不断收到此错误。

[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.

为了确保万无一失,安全组 111、24007、24008、24009 中的所有必需端口均已在 TCP 和 UDP 上打开。为了以防万一,我已在 gluster 服务器上禁用了 selinux。我甚至尝试从服务器到目标客户端执行“gluster 对等探测”,它检测到了它并将其添加到其列表中。

以下是日志错误

[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。

相关内容