PDA

View Full Version : Shared file storage


stilmark
02-05-2010, 11:06 PM
What is the recommended shared file storage solution for a remote server. The documentation refers to:


External NAS + NFS
GlusterFS
iSCSI+mdadm+reiserfs+NFS


Since External NAS + NFS is not an option I have been looking at GlusterFS, but installation tutorials are pretty scarce.

I will be installing ISPman Cluster on a Debian 5 64 bit LAMP OS.

Suggestions or pointers?

stilmark
02-06-2010, 11:11 AM
Upon further reading it seems that NFS is actually the easiest to setup on Debian, a tutorial can be found here:

http://www.howtoforge.com/nfs-server-and-client-debian-etch

However, which access restrictions should be imposed in exports?

# /etc/exports: the access control list for filesystems which may be exported

/storage 192.168.0.101(rw,sync)

or

/storage rw,sync

or should the restrictions include all the IPs in the cluster?

stilmark
02-09-2010, 03:44 PM
Does anyone have experience with a NFS setup? What's the best way to configure it?

tanya
02-10-2010, 10:55 AM
Please note, that GlusterFS has a long response time in small files. For example, our Wordpress tests have shown that the time for opening web-pages increase by 3-4 times.

> However, which access restrictions should be imposed in exports?

The easiest means is to allow access to storage only for the Cluster internal network and deny connection from port higher than 1024. You can do it here /storage 192.168.0.0/24(rw,sync,secure). Otherwise, you will have to customize authorization via Kerberos, which is much more difficult.