Best way to mirror servers

Discussion in 'Installation/Configuration' started by bswinnerton, Aug 10, 2010.

  1. bswinnerton

    bswinnerton New Member

    I just purchased a VPS which is in a completely different geographic location from where my main server is. I would like to mirror these two servers and use ISPConfig. I've heard that you can do this now with ISPConfig 3, but have no idea about how to do it.

    What would be the best way? Would I have to have unencrypted mysql traffic over the internet? Should I somehow set up a VPN?

    Thanks
     
  2. bswinnerton

    bswinnerton New Member

    P.S. They're ubuntu boxes.
     
  3. till

    till Super Moderator

    Please see here:

    http://www.howtoforge.com/installin...tabase-cluster-on-debian-5.0-with-ispconfig-3

    Mysql connections can be encrypted with ssl. If you use glusterfs to mirror data, then this is unencrypted too. A solution to encrypt this might be a vpn tunnel.

    A possible problem that I see if the servers are in different geographic regions is that the lateny and transfer rates might be too slow for glusterfs. In such a case you might be able to use e.g. rsync if you dont need a (near) realtime syncing.
     
  4. bswinnerton

    bswinnerton New Member

    Hmm, I did read that how-to. But it's encryption that worries me. Ideally, I would like a real time update, and I understand rsync may be my only option. Is there any sort of plugin, or other ideas for encrypted glusterfs?
     
  5. till

    till Super Moderator

    If you want to encrypt glusterfs, you might have to tunnel it trough a vpn or ssh tunnel as glusterfs itself does not has a encryption layer yet.
     
  6. bswinnerton

    bswinnerton New Member

    Alright, I'll look into that. My last question is: can I use this tutorial if I've already installed ISPConfig on both servers? I can afford to redo one of them, but one is already a master and I would hate to redo everything on it.
     

Share This Page