#1  
Old 24th July 2008, 02:28
Chad Chad is offline
Member
 
Join Date: Apr 2007
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation server redundancy

I need to setup some servers for redundancy (same data center).

I saw this now:
http://www.howtoforge.com/high_avail...drbd_heartbeat

I will use Debian and Cpanel for this project.

My questions regarding that article:

- what exactly is the "virtual IP"?

For example:

Let's say the resolvers (yes, resolvers in resolvers.conf)

192.104.107.1
147.202.2.54

The *server* IP for server #1 is
xxxxx.66.2

The *server* IP for server #2 is:

xxxxx.66.3

What/where is this "virtual IP" the article refers to? I'll admit I scanned the article quickly, so bear with me

Also, any issues using cpanel / debian for this method?

Partner's outlined architecture / setup goal:

box 1 – site #1
- some sort of redundancy
- local backup of mysqldbs, and web site files

box 2 - media server
- Debian OS
- local backup to NAS with rsync (about 80GB but growing)

media server (ftp) - not sure where that is now - but seems like a good place to put it ability to easily add ftp access to specific directories for some customers to upload audio content staff ftp sharing area public ftp area that staff can upload to

box 3 -
- centos
- redundant server setup
__________________
Talk Jesus Forums & Live Chat www.talkjesus.com
[ Awesome Facts of Jesus Christ: click here ]
Reply With Quote
Sponsored Links
  #2  
Old 24th July 2008, 17:34
Chad Chad is offline
Member
 
Join Date: Apr 2007
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Would appreciate help on this please. Thanks.
__________________
Talk Jesus Forums & Live Chat www.talkjesus.com
[ Awesome Facts of Jesus Christ: click here ]
Reply With Quote
  #3  
Old 24th July 2008, 18:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by Chad View Post
- what exactly is the "virtual IP"?

The *server* IP for server #1 is
xxxxx.66.2

The *server* IP for server #2 is:

xxxxx.66.3

What/where is this "virtual IP" the article refers to? I'll admit I scanned the article quickly, so bear with me
I guess you have a subnet at your hoster where the IP addresses xxxxx.66.2 and xxxxx.66.3 are from. Pick an unused IP address from your subnet (e.g. xxxxx.66.4) and use it as the virtual IP address (this works only if your hoster doesn't bind IP addresses to MAC addresses so you should ask them).
The virtual IP address floats between the load balancer, i.e., normally it'S assigned to the active load balancer, but if that load balancer goes down, the passive one takes over the virtual IP.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 24th July 2008, 19:34
Chad Chad is offline
Member
 
Join Date: Apr 2007
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
The virtual IP address floats between the load balancer, i.e., normally it'S assigned to the active load balancer, but if that load balancer goes down, the passive one takes over the virtual IP.
Ok, which load balancer are you referring to?

My idea was using Heartbeat and DRBD on two servers, one master and one slave. Which load balancer are you referring to here?

Thanks
__________________
Talk Jesus Forums & Live Chat www.talkjesus.com
[ Awesome Facts of Jesus Christ: click here ]
Reply With Quote
  #5  
Old 24th July 2008, 19:54
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

I guess the loadbalancer is here meant as the "active node". That means just that your clients access always one IP-Adress (the virtual one).
Depending on the hearbeat status, the active machine will take ownership of this IP.

That's the normal way an active/passive cluster works.
Reply With Quote
  #6  
Old 24th July 2008, 19:57
Chad Chad is offline
Member
 
Join Date: Apr 2007
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, the setup with HB and DRBD I want is this:

Main Server (Master), Box 1
Mirrored Server (Slave), Box 2

So this is correct? DRBD/HB is to be installed on both servers according to the tutorial.
__________________
Talk Jesus Forums & Live Chat www.talkjesus.com
[ Awesome Facts of Jesus Christ: click here ]
Reply With Quote
  #7  
Old 24th July 2008, 19:59
Chad Chad is offline
Member
 
Join Date: Apr 2007
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Another question:

If box 1 goes down, why would box 2 *not* go down if both are mirrored?

So if box 1 gets slashdotted (whatever the term is) and can't handle the load, we'd expect the identical mirrored server to likely crash too, correct?

Same idea with misconfiguration on box 1, it would pass on two server 2.

So where is the advantage?
__________________
Talk Jesus Forums & Live Chat www.talkjesus.com
[ Awesome Facts of Jesus Christ: click here ]
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Terrible server speeds gAnDo HOWTO-Related Questions 3 14th February 2008 18:31
Moving to new server - lessons learned wpwood3 Tips/Tricks/Mods 0 5th November 2007 05:12
Rejecting outbound mail tristanlee85 General 11 20th May 2007 17:04
Dns question Mahir Installation/Configuration 48 14th November 2006 10:19


All times are GMT +2. The time now is 13:16.


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