Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd December 2011, 17:43
Julian Julian is offline
Junior Member
 
Join Date: Dec 2011
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default ISPconfig on Debian Squeeze (Debian 6.0) with mirror server in different location

Hi
I want to install two servers like in this howto:
http://www.howtoforge.com/installing...th-ispconfig-3

only using ISPconfig on Debian Squeeze (Debian 6.0) with mirror server in different location.

My question is how can I do it so if the power goes down in one location to have the second server up in the second location.

Thank you very much.

PS: From I read on the forums that the GlusterFS its not so good. Do you think that its the best for what I need?
__________________
Iulian HALAC

Last edited by Julian; 4th December 2011 at 09:23.
Reply With Quote
Sponsored Links
  #2  
Old 2nd December 2011, 21:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,034
Thanks: 826
Thanked 5,383 Times in 4,230 Posts
Default

If the servers are in different locations, then you should consider to use unison instead of glusterfs to sync the directories.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd December 2011, 22:23
Julian Julian is offline
Junior Member
 
Join Date: Dec 2011
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thank you Till for your answer, what about high availability when a server goes down?
Because I don't want to become another "Single Point Of Failure", I want to provide high-availability for the servers,
with the servers in different location with different ISP
__________________
Iulian HALAC

Last edited by Julian; 4th December 2011 at 09:24.
Reply With Quote
  #4  
Old 3rd December 2011, 13:42
SwOsHiE SwOsHiE is offline
HowtoForge Supporter
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 82
Thanks: 8
Thanked 8 Times in 7 Posts
Send a message via Skype™ to SwOsHiE
Default

You can write multiple dns records with different costs like:

mail.example.com 10
mail2.example.com 20

so if mail.example.com is not responding it takes the secound best choice.
Reply With Quote
  #5  
Old 3rd December 2011, 17:12
Julian Julian is offline
Junior Member
 
Join Date: Dec 2011
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default

On that server I have web, mail, dns, mysql! Not only the mail!
Something like heartbeat its not posibile?
__________________
Iulian HALAC

Last edited by Julian; 4th December 2011 at 09:25.
Reply With Quote
  #6  
Old 3rd December 2011, 23:34
SwOsHiE SwOsHiE is offline
HowtoForge Supporter
 
Join Date: Jun 2011
Location: Stockholm, Sweden
Posts: 82
Thanks: 8
Thanked 8 Times in 7 Posts
Send a message via Skype™ to SwOsHiE
Default

You could look into pfSense and try to do the guide but for multisite configuration in some way:

http://www.howtoforge.com/how-to-con...ter-using-carp

Hope this helps!
Reply With Quote
  #7  
Old 4th December 2011, 01:19
Julian Julian is offline
Junior Member
 
Join Date: Dec 2011
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Thank you Swoshie for your answer, but I think that will work when the servers are in the same network!
I have the servers in diferit location with diferit ip classes.
__________________
Iulian HALAC

Last edited by Julian; 4th December 2011 at 09:20.
Reply With Quote
  #8  
Old 4th December 2011, 18:53
Julian Julian is offline
Junior Member
 
Join Date: Dec 2011
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I was searching solutions on the internet and I found this
http://www.docplanet.org/dns/impleme...-for-powerdns/ on this post http://www.howtoforge.com/forums/showthread.php?t=24532

but Im not sure if its a good solution for what I need.

Can someone tell me if I'm on getting close of the solution or what's the best way to do it?

Any help will be very appreciated.

Thanks
__________________
Iulian HALAC
Reply With Quote
  #9  
Old 7th December 2011, 14:51
Julian Julian is offline
Junior Member
 
Join Date: Dec 2011
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hi,

Because I didn't find a solution to my problem and from what I see not too many users are trying to help me I decide to do this scenario:

Web Server 1: http1.example.com, IP address: 192.168.0.100
Web Server 2: http2.example.com, IP address: 192.168.0.101
Virtual IP address that floats between http1 and http2: 192.168.0.99

1. Configuring A High Availability Cluster (Mirror) with Heartbeat like here: http://www.howtoforge.com/high_avail...artbeat_centos

2. Installing A Web, Email And MySQL Database Cluster (Mirror) On Debian Squeeze With ISPConfig 3
using this howto: http://www.howtoforge.com/installing...th-ispconfig-3

3. Setting Up Unison File Synchronization Between The Servers using this howto: http://www.howtoforge.com/setting-up...debian-squeeze

4. Secure the server like here:
Extending Perfect Server - Debian Squeeze [ISPConfig 3]
http://www.howtoforge.com/extending-...ze-ispconfig-3

What I'm trying to build:
- A High Availability Cluster With Failover
- if one server go down the mirror take his place
- sync the files (webfiles, mail) between two servers (main server and the mirror)

but I have couple questions:

1. Do you think this is the best solution? I'm missing something?
2. Do I need to install only Heartbeat or do I need to install other (like HAProxy, ldirectord)
3. In the howto I saw that every time for High-Availability Load Balancer I need 4 servers. Can I do it with two servers, so it balance between them?
Setting Up A High-Availability Load Balancer (With Failover and Session Support) With HAProxy/Heartbeat On Debian Lenny
http://www.howtoforge.com/setting-up...n-debian-lenny
4. Can the Virtual IP address be a public IP and the IP's from server be local IP's ??

Here's a little diagram that shows what I want:

shared IP=192.168.0.99
192.168.0.100 192.168.0.101
-------+----------------+-----
| |
+---+---+ +---+---+
| http1 | | http2 |
+-------+ +-------+
haproxy haproxy
heartbeat heartbeat

I will really appreciate your help.

Thank you
__________________
Iulian HALAC

Last edited by Julian; 7th December 2011 at 14:59.
Reply With Quote
  #10  
Old 9th December 2011, 16:15
Julian Julian is offline
Junior Member
 
Join Date: Dec 2011
Posts: 24
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Come on man! no one can help me??!!
There are no techs here anymore!?

There are a lot of nice howtos about this subject! its no one here?

(
__________________
Iulian HALAC
Reply With Quote
Reply

Bookmarks

Tags
different location, glusterfs, ispconfig 3, mirror server

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3.0.3.3 fresh instalation - email tab is empty artur_gib Installation/Configuration 14 28th January 2014 19:02
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 14:31
ISPConfig installation into multiple OpenVZ containers letezo Installation/Configuration 11 3rd March 2009 22:47
Error installing ISPConfig on debian omniware Installation/Configuration 3 10th September 2008 15:36
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 06:29.


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