[Gluster-users] Mounting same replica-volume on multiple clients. ????

Bobby Jacob bobby.jacob at alshaya.com
Wed Sep 18 05:48:29 UTC 2013


Exactly. !! BUT I am writing through the volume mount-point from the clients. !! NOT directly into the bricks. !!

I'm using GlusterFS 3.3.2 with Centos6.4 . !

Thanks & Regards,
Bobby Jacob

-----Original Message-----
From: Daniel Müller [mailto:mueller at tropenklinik.de] 
Sent: Wednesday, September 18, 2013 8:46 AM
To: Bobby Jacob; gluster-users at gluster.org
Subject: AW: [Gluster-users] Mounting same replica-volume on multiple clients. ????

Hello,
this ist he behavior as if you write directly into the glusterd directory/partition and not to the remounted replicating bricks!?


EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de 

Von: gluster-users-bounces at gluster.org
[mailto:gluster-users-bounces at gluster.org] Im Auftrag von Bobby Jacob
Gesendet: Mittwoch, 18. September 2013 07:36
An: gluster-users at gluster.org
Betreff: [Gluster-users] Mounting same replica-volume on multiple clients.
????

HI,

I have 2 gluster nodes (GFS01/GFS02) each with a single brick (B01/B01). I have created a simple replica volume with these bricks. 
Bricks    : GFS01/B01 and GFS02/B01.
Volume: TestVol

I have 2 clients (C01/C02) which will mount this "testvol" for simultaneous read/write. The 2 clients run the same application which is load-balanced, so user request are end to both the client servers which reads/writes data to both the same volume.

Mounting the volume on C1       :               mount -t glusterfs -o
backupvolfile-server=GFS02 GFS01:/testvol /data Mounting the volume on C2       :               mount -t glusterfs -o
backupvolfile-server=GFS01 GFS02:/testvol /data

Is this the appropriate way to be followed.? 

At times, I notice that when I write data through C1-mount point the data is written only to GFS01/B01 and if data is written through C2-mount point the data is written only to GFS02/B01.

Please advise. !!


Thanks & Regards,
Bobby Jacob




More information about the Gluster-users mailing list