#1  
Old 10th August 2010, 19:30
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default Best way to mirror servers

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
Reply With Quote
Sponsored Links
  #2  
Old 10th August 2010, 19:33
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

P.S. They're ubuntu boxes.
Reply With Quote
  #3  
Old 10th August 2010, 20:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,169 Times in 4,053 Posts
Default

Please see here:

http://www.howtoforge.com/installing...th-ispconfig-3

Quote:
Would I have to have unencrypted mysql traffic over the internet?
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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 10th August 2010, 22:27
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
Default

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?
Reply With Quote
  #5  
Old 10th August 2010, 22:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,169 Times in 4,053 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 11th August 2010, 00:02
bswinnerton bswinnerton is offline
Senior Member
 
Join Date: Jul 2007
Location: Connecticut, US
Posts: 502
Thanks: 51
Thanked 16 Times in 13 Posts
 
Default

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.