Glusterfs Do Not Copy Data

I have a glusterfs installation with two nodes (Node1 and Node2). I see a connection between two connections. The problem is that when I create several folders on Node1, it does not replicate it on Node2. Please suggest me overcome if someone corrected it?

If I mount it on some other server as glusterfs client and create files and folders, then its replication to glusterfs nodes. Is this normal behavior?

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
+4
source share
2 answers

Gluster . . , node .

http://gopukrish.wordpress.com/glusterfs/
http://gopukrish.wordpress.com/high-availability-load-balanced-wordpress-site/
+3

, , "node". Gluster , .

, . testvol, . gluster1.example.com, - gluster2.example.com.

- , . , .

/ . , .

, "" , , , , , , , .

  • /brick gluster1.example.com
  • /brick gluster2.example.com
  • testvol, gluster1.example.com:/brick gluster2.example.com/brick
  • .
  • testvol gluster1.example.com gluster2.example.com. - :

mkdir /mytestvol mount -t glusterfs gluster1.example.org:testvol /mytestvol

. /mytestvol, gluster. . /mytestvol - .

, testvol on/mytestvol , /mytestvol , .

, , , , /mytestvol, - -. - :

mv /var/www/drupal7/sites/default/files /mytestvol ln -s /mytestvol/files /var/www/drupal7/sites/default/

+1

Source: https://habr.com/ru/post/1545218/


All Articles