D
D
Demjanok2017-08-29 13:44:19
NFS
Demjanok, 2017-08-29 13:44:19

Glasterfs, replica folders between servers?

Hi all!
There is a need to synchronize a folder between two servers in real time. Installed 2 servers in a test environment and mounted
gluster volume create testvol replica 2 transport tcp test1:/test test2:/test force
gluster volume start testvol
[[email protected] test]# gluster volume status testvol
Status of volume: testvol
Gluster process TCP Port RDMA Port Online Pid
---------------------------------------------------- -------------------------------
Brick test1:/test 49152 0 Y
25872 Brick test2:/test 49152 0 Y 57636
Self-heal Daemon on localhost N/AN/AY 25942
Self-heal Daemon on test2 N/AN/AY 57656
Directory is not replicated... Will it be replicated when working through client-server? Or suggest another option...

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
W
Wexter, 2017-08-29
@Wexter

it works a little differently, you need to mount folders as a client and work through them, then the
test1 replica will work
test2

# mount -t glusterfs test2:testvol /testvol

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question