glusterfs 3.2.5 傳輸端點未連接

glusterfs 3.2.5 傳輸端點未連接

我一直在嘗試在 ubuntu 12.04 上使用 gluster (3.2.5) 跨 2 個伺服器設定鏡像一天左右,現在無法弄清楚我做錯了什麼。

我在兩個 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

我在用谷歌搜尋的磚塊日誌檔案中看到以下錯誤,但說實話找不到任何看起來非常有用的內容:

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 路複製 (HA)。

答案1

對於任何對更新感興趣的人:

  • 此後我對幾個測試虛擬盒實例進行了一些測試。

  • 我在兩者之間設定了 OpenVPN,與實際設定相同。

  • 我以相同的方式設定 gluster 卷,一切正常。

我試圖在真實環境中複製確切的步驟,但事實並非如此。

這似乎是 OpenVZ 容器上的調整問題,我已經向他們開了幾張支援票,要求我在另一篇文章中找到的某些調整參數。

一旦我確認調整是否有效,我將更新此線程。

J

相關內容