[Gluster-users] Switching clients to NFS

2012-06-22 Thread Marcus Bointon
I'm looking at switching some clients from native gluster to NFS. Any advice on 
how to do this as transparently as possible? Can both mounts be used at the 
same time (so I can test NFS before switching)? I'm on a vanilla 2-way AFR 
config where both clients are also servers.

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK info@hand CRM solutions
mar...@synchromedia.co.uk | http://www.synchromedia.co.uk/



___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Switching clients to NFS

2012-06-22 Thread Rajesh Amaravathi
if you are using version 3.3, then you will need a separate client. you cannot 
mount any other nfs exports/volumes on glusterfs servers.
if you are using 3.2.x, then you can mount it on the same servers

Regards, 
Rajesh Amaravathi, 
Software Engineer, GlusterFS 
RedHat Inc. 

- Original Message -
From: Marcus Bointon mar...@synchromedia.co.uk
To: gluster-users Discussion List gluster-users@gluster.org
Sent: Friday, June 22, 2012 3:23:43 PM
Subject: [Gluster-users] Switching clients to NFS

I'm looking at switching some clients from native gluster to NFS. Any advice on 
how to do this as transparently as possible? Can both mounts be used at the 
same time (so I can test NFS before switching)? I'm on a vanilla 2-way AFR 
config where both clients are also servers.

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK info@hand CRM solutions
mar...@synchromedia.co.uk | http://www.synchromedia.co.uk/



___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Switching clients to NFS

2012-06-22 Thread Sean Fulton
I think he is talking about 1 set of servers, having some clients mount 
via NFS and some mount via native gluster.


I did this in a test environment with 3.2.5 and it seemed to work OK. We 
had four nodes initially set up as gluster native and we changed over 
one by one to nfs. The world did not end. But it was in a test environment.


sean

On 06/22/2012 05:59 AM, Rajesh Amaravathi wrote:

if you are using version 3.3, then you will need a separate client. you cannot 
mount any other nfs exports/volumes on glusterfs servers.
if you are using 3.2.x, then you can mount it on the same servers

Regards,
Rajesh Amaravathi,
Software Engineer, GlusterFS
RedHat Inc.

- Original Message -
From: Marcus Bointon mar...@synchromedia.co.uk
To: gluster-users Discussion List gluster-users@gluster.org
Sent: Friday, June 22, 2012 3:23:43 PM
Subject: [Gluster-users] Switching clients to NFS

I'm looking at switching some clients from native gluster to NFS. Any advice on 
how to do this as transparently as possible? Can both mounts be used at the 
same time (so I can test NFS before switching)? I'm on a vanilla 2-way AFR 
config where both clients are also servers.

Marcus


--
Sean Fulton
GCN Publishing, Inc.
Internet Design, Development and Consulting For Today's Media Companies
http://www.gcnpublishing.com
(203) 665-6211, x203



___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Switching clients to NFS

2012-06-22 Thread Fernando Frediani (Qube)
I have seen a few people recently saying they are using NFS instead of the 
Native Gluster client. I would imagine that the Gluster client would always be 
better and faster besides the automatic failover, but it makes me wonder what 
sort of problems their as experiencing with the Gluster client.

Fernando

-Original Message-
From: gluster-users-boun...@gluster.org 
[mailto:gluster-users-boun...@gluster.org] On Behalf Of Sean Fulton
Sent: 22 June 2012 11:04
To: gluster-users@gluster.org
Subject: Re: [Gluster-users] Switching clients to NFS

I think he is talking about 1 set of servers, having some clients mount via NFS 
and some mount via native gluster.

I did this in a test environment with 3.2.5 and it seemed to work OK. We had 
four nodes initially set up as gluster native and we changed over one by one to 
nfs. The world did not end. But it was in a test environment.

sean

On 06/22/2012 05:59 AM, Rajesh Amaravathi wrote:
 if you are using version 3.3, then you will need a separate client. you 
 cannot mount any other nfs exports/volumes on glusterfs servers.
 if you are using 3.2.x, then you can mount it on the same servers

 Regards,
 Rajesh Amaravathi,
 Software Engineer, GlusterFS
 RedHat Inc.

 - Original Message -
 From: Marcus Bointon mar...@synchromedia.co.uk
 To: gluster-users Discussion List gluster-users@gluster.org
 Sent: Friday, June 22, 2012 3:23:43 PM
 Subject: [Gluster-users] Switching clients to NFS

 I'm looking at switching some clients from native gluster to NFS. Any advice 
 on how to do this as transparently as possible? Can both mounts be used at 
 the same time (so I can test NFS before switching)? I'm on a vanilla 2-way 
 AFR config where both clients are also servers.

 Marcus

--
Sean Fulton
GCN Publishing, Inc.
Internet Design, Development and Consulting For Today's Media Companies 
http://www.gcnpublishing.com
(203) 665-6211, x203



___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Switching clients to NFS

2012-06-22 Thread Marcus Bointon
On 22 Jun 2012, at 11:59, Rajesh Amaravathi wrote:

 if you are using version 3.3, then you will need a separate client. you 
 cannot mount any other nfs exports/volumes on glusterfs servers.
 if you are using 3.2.x, then you can mount it on the same servers

Sorry, I should have said, I'm using 3.2.5 on 64-bit ubuntu lucid. I assume 
it's ok to have one client mounted with nfs while the other uses native?

Marcus
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Switching clients to NFS

2012-06-22 Thread David Coulson


On 6/22/12 7:08 AM, Marcus Bointon wrote:

Sorry, I should have said, I'm using 3.2.5 on 64-bit ubuntu lucid. I assume 
it's ok to have one client mounted with nfs while the other uses native?

We do this all the time - Works fine.

David
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users


Re: [Gluster-users] Switching clients to NFS

2012-06-22 Thread Justice London
I have both read specifically that people with small files basically
switched to NFS to solve small-file read issues and speed issues more
generally. It seems to me (from my own testing as well), that 3.3 is still
not working all that well with 'small files'. An image folder with about 20k
images in it takes about 20+ seconds to do an 'ls' on, and about three
seconds with NFS. It was enough of a speed difference on the front-end site
to make me change my thinking and start working on getting keepalived
working with gluster so that I can have a consistent NFS view.

Justice London

-Original Message-
From: gluster-users-boun...@gluster.org
[mailto:gluster-users-boun...@gluster.org] On Behalf Of David Coulson
Sent: Friday, June 22, 2012 3:58 AM
To: Fernando Frediani (Qube)
Cc: 'gluster-users@gluster.org'
Subject: Re: [Gluster-users] Switching clients to NFS


On 6/22/12 6:18 AM, Fernando Frediani (Qube) wrote:
 I have seen a few people recently saying they are using NFS instead of the
Native Gluster client. I would imagine that the Gluster client would always
be better and faster besides the automatic failover, but it makes me wonder
what sort of problems their as experiencing with the Gluster client.

I ran FUSE mounts for a couple of months then switched to NFS. In general I
saw an approx 2x improvement in read performance, and writes appeared to be
a little quicker. Since my environment is 'mostly reads', as NFS utilizes
the OS filesystem cache I saw a substantial drop in network traffic between
Gluster nodes.

I was also never able to get FUSE to mount volumes with an explicit SELinux
context set. Not sure if it's a bug in FUSE on RHEL6, or just something
broken with FUSE, but it just ignored the secontext= mount parameter. NFS
works with this, so I was able to run SELinux in enforcing mode while using
Gluster.

David
___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

___
Gluster-users mailing list
Gluster-users@gluster.org
http://gluster.org/cgi-bin/mailman/listinfo/gluster-users