Replication - GlusterFS???

Discussion in 'Installation/Configuration' started by artinfo, Dec 30, 2017.

  1. artinfo

    artinfo Member

    Hi,

    I decided to run another server to replicate data and save from one-machnine-failure. I remember ISP recommended GlusterFS but I can't read anything about it since debian jessie. That's why I have few question:

    1. What is the best (recommended) solution for server replication supported by ISP3?
    2. What solution can replicate also MySQL, PostgreSQL (not by files)
    3. Since GLusterFS is master-slave structure, my question is if there's solution like Master-Master type?
    4. Maby DFS-like FS would be better?

    Thanks in advance
     
    Last edited: Dec 30, 2017
    ahrasis likes this.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ahrasis likes this.
  3. artinfo

    artinfo Member

    Thanks. I have a lots small files. Can You tell me the solution You use? I was thinking about ZFS + MoosFS or .. I don't know... looking for tested solution to implement on my servers with IspConfig.
     
    till likes this.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    As you can see in the tutorial, it uses unison to sync files. Basically, you can use any network file system or any other '2 way sync' solution for files.
     
    ahrasis likes this.
  5. artinfo

    artinfo Member

    I decided to test (4 days for now) DRBD + OCFS2... seems very stable and fast for now. Thanks
     
    ahrasis likes this.
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you do the test with many small files?
     
  7. artinfo

    artinfo Member

    I put www (Joomla) portals ... think its many small files... around 36000. I also test Gallera for MAriaDB/MySQL .. works fine but problem is when both machines are restarted at once... have to clear cache and strat mysql manually...
     
    Last edited: Jan 3, 2018
    ahrasis likes this.
  8. florian030

    florian030 Well-Known Member HowtoForge Supporter

    DRBD is not glusterfs and it's (most of the time) working very well. We had some problems with DRBD 8.3 in a splitbrain-situation that leads not non-usable volumes on both servers so we replaced this. Maybe it's working nowadays.
     
    ahrasis likes this.
  9. artinfo

    artinfo Member

    Hi. I'm using 8.9 with OCFS2 that (it theory) protects ic case of split-brain. What system You use instead of DRBD?
     
    ahrasis likes this.
  10. florian030

    florian030 Well-Known Member HowtoForge Supporter

    We are using simpe SAN-storages. Maybe 8.9 works better with a split-brain. You can easily test this.
     
  11. artinfo

    artinfo Member

    I see. Can You help me how to EASILY do that?
     
  12. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Isn't SAN expensive?
     

Share This Page