Results 1 to 6 of 6

Thread: Apache shared storage

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default Apache shared storage

    Hi everyone, first welcome me here since im new to the forums.

    Im looking into creating a load balanced cluster for Apache and I was wondering which shared storage would you recommend for storing the web site files.

    NFS or iSCSI

    I tried NFS, but I think it may have problems with locking and permissions.

    iSCSI would probably cause corruption when shared between multiple Apache servers.

    How about GFS2?

    Any particular recommendation on which way to go for storing files?

    Thank you guys

  2. #2
    Senior Member Rahul.Patil's Avatar
    Join Date
    Feb 2012
    Location
    Mumbai india
    Posts
    447
    Thanks
    10
    Thanked 46 Times in 43 Posts
    Rep Power
    6

    Default

    Hi,

    GFS2 will work for this, but what cluster are you using , Redhat Cluster Suit or what ?
    Rahul Patil <http://www.linuxian.com>

  3. #3
    Junior Member
    Join Date
    Nov 2012
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by Rahul.Patil View Post
    Hi,

    GFS2 will work for this, but what cluster are you using , Redhat Cluster Suit or what ?
    Im not using anything right now. I was wondering what advantages do you get from using GFS2 vs NFS, website data should be shared among Apache servers.

  4. #4
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,384
    Thanks
    17
    Thanked 755 Times in 496 Posts
    Rep Power
    10

    Default

    What kind of problems with NFS? I manage quite a few high trafficked ecom sites (50 millions+ of page view per monnth) based on NFSv4+RHEL+DRBD.
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


  5. #5
    Junior Member
    Join Date
    Nov 2012
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    Quote Originally Posted by nixcraft View Post
    What kind of problems with NFS? I manage quite a few high trafficked ecom sites (50 millions+ of page view per monnth) based on NFSv4+RHEL+DRBD.
    But how many servers access the data/files as the same time?

    I assume you have a high availability setup and you sync data from one NFS to the other so they are also in HA, with DRBD correct?

    Otherwise why would you sync data data between servers if you are already using shared storage, in this case NFS?

    DRBD was also an idea, but for a load balanced services where you keep adding servers I saw no point in mirroring data to each servers and have so many duplicates, better to centralize storage in a SAN.

  6. #6
    Never say die nixcraft's Avatar
    Join Date
    Jan 2005
    Location
    BIOS
    Posts
    4,384
    Thanks
    17
    Thanked 755 Times in 496 Posts
    Rep Power
    10

    Default

    No need to sync files. Data is stored on the NFS server. DRBD act as a fail over storage for master NFS server with the help of failover software. If a master NFS goes down, the traffic will be redirected to the slave NFS server and admin will be notified with problem. You can automate the entier process with software such as Puppet.

    Edit: Read this article - HowTo: Run Network Service Per System / VM Instance To Improve Overall Security Of A Web Stacks (LAMP)
    All [Solved] threads are closed by mods / admin to avoid spam issues. See Howto mark a thread as [Solved]


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with shared storage permission in NFS
    By sesemi in forum File Servers
    Replies: 10
    Last Post: 12th March 2013, 12:59 AM
  2. New Storage Device
    By jaysunn in forum The Hangout
    Replies: 4
    Last Post: 16th November 2012, 02:13 AM
  3. XEN Guest shared storage
    By bin_asc in forum XEN
    Replies: 3
    Last Post: 24th May 2010, 07:04 AM
  4. How to create a shared folder on centos 5.3
    By erandarg in forum CentOS / RHEL / Fedora
    Replies: 1
    Last Post: 7th November 2009, 11:36 AM
  5. mysql shared libraries
    By shankar100 in forum Web servers
    Replies: 1
    Last Post: 20th February 2007, 08:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41