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

Daniel Müller mueller at tropenklinik.de
Wed Sep 18 07:17:19 UTC 2013


What about 
gluster volume info on both nodes!?

Ex.:
Volume Name: sambacluster
Type: Replicate
Volume ID: 4fd0da03-8579-47cc-926b-d7577dac56cf
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: s4master:/raid5hs/glusterfs/samba
Brick2: s4slave:/raid5hs/glusterfs/samba
Options Reconfigured:
network.ping-timeout: 5
performance.quick-read: on

What are telling you your log files?

-----------------------------------------------
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
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: Bobby Jacob [mailto:bobby.jacob at alshaya.com] 
Gesendet: Mittwoch, 18. September 2013 07:48
An: mueller at tropenklinik.de; gluster-users at gluster.org
Betreff: RE: [Gluster-users] Mounting same replica-volume on multiple
clients. ????

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