Glusterfs不复制数据 [英] Glusterfs Not Replicating data
问题描述
我有一个 glusterfs 设置,其中有两个节点(Node1和Node2).我看到两个连接之间已建立连接.问题是,当我在Node1上创建一些文件夹时,它不会在Node2上复制它.请建议我克服任何一个已解决的问题?
I have a glusterfs setup with two nodes (Node1 and Node2). I see connection has made between two connection. Problem is when I create some folders on Node1 it does not replicate it on Node2. Please suggest me to overcome if any one had fixed it?
如果我将其作为 glusterfs客户端安装在其他服务器上,并创建文件和文件夹,然后将其复制到glusterfs节点.这是正常现象吗?
If I mount it on some other server as glusterfs client and create files and folders then its replicating to glusterfs nodes. Is this behavior normal?
Volume Name: testvol
Type: Replicate
Status: Started
Number of Bricks: 2
Transport-type: tcp
Bricks:
Brick1: gluster1.example.com:/var/www/drupal7/sites/default/files
Brick2: gluster2.example.com:/var/www/drupal7/sites/default/files
推荐答案
Gluster卷只能通过客户端访问和更新.我在相同的地方看到过您的类似帖子.如果您不想将客户端安装在另一个节点上并安装在同一台服务器本身中,则建议使用以下链接.
Gluster volumes are supposed to access and update only via the clients. I saw a similar post by you on the same. Below links are suggested if you don't want to install the client in another node and install in the same server itself.
http://gopukrish.wordpress.com/glusterfs/
http://gopukrish.wordpress.com/high-availability-load-balanced-wordpress-site/
这篇关于Glusterfs不复制数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!