Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jun 30, 2012 7:48 pm 
Offline

Joined: Sat Jun 30, 2012 7:31 pm
Posts: 1
Apologies if this isn't the proper forum. My business has two primary domains, and I have two SSL certificates to support them. I've set up an HAProxy+stunnel solution and requested a second IP to have stunnel be able to decode both SSL certs so that I can do load-balancer virtual host logic.

I'm interested in setting up another HAProxy "clone" to setup for IP failover (As per http://library.linode.com/linux-ha/ip-failover-heartbeat-pacemaker-ubuntu-10.04). My question is, how many IP addresses do I need?

It seems like I need the base IP address for each machine + 2 IPs used as floating IPs. That would give me 2 HA IPs that I could fail over if either of the HAProxy instances went down -- one floating IP per SSL cert.

Is my logic correct? I know Linode has strict IP address policies (and rightly so!) -- does this usage fit with the requirements of extra IPs?

Thanks in advance for any advice/tips regarding this!


Top
   
PostPosted: Sat Jun 30, 2012 10:23 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
Are your two servers in the same datacenter? If so then you have the option of a slightly odd solution...

Setup a private network between the two machines and use that address as the primary address, and then the "real" IP address can be the VIP service address for each web site. This will mean that if one node isn't running either site then it won't be accessible except via the private network or via LISH, but it is a solution that would save you needing 2 IP addresses.

Alternatively, and similarly, use IPv6 for the server address and just use IPv4 for the HA service address. Then each machine can always be reached by its IPv6 address for admin/maintenance. (If you don't have IPv6 at your work location/home/where-ever then consider a HE tunnel; works pretty well for me!)

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group