我一直试图在Ubuntu 12.04上安装gluster(3.2.5)两台服务器的镜像一天左右,现在无法弄清楚我做错了什么。
我有两个vps之间的openvpn隧道
目前,openvpn接口没有iptables规则
我使用以下命令设置初始卷:
gluster volume create vmail replica 2 transport tcp gserver1:/var/export/vmail gserver2:/var/export/vmail
我用这个命令挂载了:
mount.glusterfs gserver1:/vmail /var/vmail
我得到这个错误:
~# df -h df: `/var/vmail': Transport endpoint is not connected
我在砖logging文件中看到了下面的错误,但是说实话,找不到任何看起来非常有用的东西:
I [glusterfsd.c:1493:main] 0-/usr/sbin/glusterfsd: Started running /usr/sbin/glusterfsd version 3.2.5 W [socket.c:419:__socket_keepalive] 0-socket: failed to set keep idle on socket 8 W [socket.c:1846:socket_server_event_handler] 0-socket.glusterfsd: Failed to set keep-alive: Operation not supported W [graph.c:291:gf_add_cmdline_options] 0-vmail-server: adding option 'listen-port' for volume 'vmail-server' with value '24009' W [rpc-transport.c:447:validate_volume_options] 0-tcp.vmail-server: option 'listen-port' is deprecated, preferred is 'transport.socket.listen-port', continuing with correction C [posix.c:4723:init] 0-vmail-posix: Extended attribute not supported, exiting. E [xlator.c:1447:xlator_init] 0-vmail-posix: Initialization of volume 'vmail-posix' failed, review your volfile again E [graph.c:348:glusterfs_graph_init] 0-vmail-posix: initializing translator failed E [graph.c:526:glusterfs_graph_activate] 0-graph: init failed W [glusterfsd.c:727:cleanup_and_exit] (-->/usr/lib/libgfrpc.so.0(rpc_clnt_handle_reply+0xa5) [0x7f5c1ebaeec5] (-->/usr/sbin/glusterfsd(mgmt_getspec_cbk+0xc7) [0x7f5c1f246c07] (-->/usr/sbin/glusterfsd(glusterfs_process_volfp+0x192) [0x7f5c1f244b52]))) 0-: received signum (0), shutting down
有人可以帮我解决这个问题吗? 我只想要2台服务器上的2路复制(HA)。
对于任何对更新感兴趣的人:
我已经做了几个testing虚拟框实例的testing。
我在两者之间设置了OpenVPN,与在实际设置中一样。
我以同样的方式安装了gluster卷,这一切工作。
我试图复制真实环境中的确切步骤,但事实并非如此。
这似乎是在OpenVZ容器上的调整问题,我已经打开了几个支持服务请求,他们要求我在另一篇文章中find的某些调整参数。
一旦我确认了这个调整是否有效,我将更新这个线程。
Ĵ