run mirror server

Discussion in 'Installation/Configuration' started by nokia80, Aug 3, 2010.

  1. nokia80

    nokia80 Member

    Hi all

    I have third ISPConfig server.

    Now I want a mirror of the other server.

    I've set everything up, but nothing happens on the mirror.

    anyone know why.


    with kind regards michael
     
  2. damir

    damir New Member

    You can only mirror settings of the services, data is not mirrored.
     
  3. nokia80

    nokia80 Member

    hi

    that's weird because there is now a site and what mail data.

    How can this be.


    with kind regards michael
     
  4. nokia80

    nokia80 Member

    hi

    Now there are still more data than service, how can this be?

    it is not possible to have the data to do with rsync?


    with kind regards michael
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    There are many option for data mirroring, e.g. rsync, a glusterfs share, a shared nfs server or a SAN. Personally I prefer to use glusterfs for that.
     
  6. Toucan

    Toucan Member

    Mail data can appear to be mirrored... when you set up the mirror I believe it will create the mail user ids on the mirror, and although mails can be sent to that server and put in the new mail box, none of the old messages sent to the original server will be there.

    I have used rsync to mirror the sites from the main to the slave:
    http://howtoforge.com/mirroring_with_rsync
    My concern if I used a shared device for the data, then that would be the single point of failure.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Not if you ue e.g. glusterfs. Clusterfilesystems like glusterfs allow it to use a setup similar to raid over the network, where all files are stored on 2 or more servers incl. automatic repair of damaged shares. Glusterfs is better suited then rsync as it is near realtime. I would only use rsync when your server ar not connected to the internet with a fast connection e.g. if one server is in a datacenter and the other one hosted on a low mbit dsl line.
     
  8. nokia80

    nokia80 Member

    hi til

    okay I want to also use (glusterfs) but how does it work you need to have the mirror also ISPConfig instaled ?


    and is there is a how to do setup?


    with kind regards michael
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    if you want to mirror a ispconfig server, then the slave has to run ispconfig of course, otherwise the configuration will not be mirrored. But this applies to all mirroring methods incl. rsync.

    If you enter "glusterfs" in the howtoforge.com search field, you will find a lot of glusterfs tutorials.
     
  10. nokia80

    nokia80 Member

    hi til

    okay so the server config to mirror than stand?

    ns3 is a mirror of ns2?


    or just normal


    it's easy to do the installation.

    for rsync is a howtoforrge.

    I see that not glusterfs.

    with kind regards michael
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    The configuration gets mirrored by ispconfig. See system > server services > is mirror of.

    Howtoforge.com, enter "glusterfs" into the search field in the upper navigation bar, click on the search button
    : Result: 53 tutorials about glusterfs ;)
     
    Last edited: Aug 4, 2010
  12. nokia80

    nokia80 Member

    hi til

    it also works on Debian?

    howtoforge install is for Mandriva 2010.0 , can i use the same install?


    best regards michael
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Last edited: Aug 4, 2010
  14. nokia80

    nokia80 Member

    hi till

    I found it stupid.

    I'm going to do now


    one question is the mirror server the client (glusterfs client) or the server


    thanks


    michael
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    You can run the client and server on the same machine. E.g. you use this tutorial:

    http://www.howtoforge.com/high-avai...c-file-replication-across-two-storage-servers

    install the server part on both servers and also the client part on the same servers. So that every file gets stored on the local copy of the glusterfs store and additionally on the other server. So if one server goes down, he can still access all files.
     
  16. nokia80

    nokia80 Member

    hi till



    thanks fore help:)


    i let you know how it works
     
  17. nokia80

    nokia80 Member

    hi till

    when ns2 is the master and ns3 the mirror

    what i have to instal first glusterfs server on ns2 and the client on ns3
    or on ns2 client and on ns3 the glusterfs server.

    i doint what that my data on ns2 gows away

    first i whant the data from ns2 to ns3.


    thanks


    michael
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to backup or move the data to a temporary directory and stop the services that access the data while you install the glusterfs share. After you mounted glusterfs to the /var/www or /var/vmail directory then copy the data back.
     

Share This Page