Hi

I probably just didn't explain myself too well yesterday - not enough coffee
yet. Maybe if I explain what I'm trying to do, then you can give an opinion
on the best way to go.
I have two physical machines, now with two virtual nodes (Xen) on both. All
the nodes are using Ubuntu server 8.04 as an OS.  One (LB1 and LB2), has
HAProxy and Heartbeat. The other (WEB1 and WEB2) has a LAMP setup along with
ISPConfig to aid in setting up web sites. I also have Gb NIC's in both with
a crossover cable, just for rsync, and DB replication.
We will be hosting several web sites, most which are very basic, but a
couple will be Drupal CMS sites, with moderate traffic. The CMS sites will
be the ones that will also need SSL. I want auto failover, but I've never
made up my mind on if we really need load balancing. If I get rid of the
load balancer, I can remove the LB nodes, and just use Heartbeat with the
web server. I know that sounds like the simplest way to go, but am I
shooting myself in the foot by removing the possible load balancer need in
the future. If I keep it as it is, then I need to get SSL working through
HAProxy, which is looking a bit complicated. So that's the saga so far. I
just need to decide which way will be the best, but I'm running out of time
because I need to get this operational.
Thanks for the help.

Tom

-----Original Message-----
From: Dejan Muhamedagic [mailto:[email protected]] 
Sent: Thursday, June 11, 2009 8:10 AM
To: [email protected]; General Linux-HA mailing list
Subject: Re: [Linux-HA] Trying to get rid of HAProxy for SSL webserver

Hi,

On Wed, Jun 10, 2009 at 09:42:42AM -0400, Tom Potwin wrote:
> Sorry about the previous post. I think I was too tired and aimed at 
> the wrong list.

No problem. I was just making sure that you should get attention from the
right crowd.

> I did have a question for the HA people though. I don't think I need 
> HAProxy for what I'm doing. I just don't believe  I'll get the traffic 
> to require load balancing just yet. I do want auto failover capabilities
though.
> 
> Right now I have heartbeat running on a virtual node (LB1) in front of 
> another virtual node with the web server (WEB1). This is all behind a 
> firewall/router that's routing one of my public IP's to the shared 
> local address. This is all duplicated on my second physical machine (LB2,
WEB2).

Not sure if I follow. Why would you run heartbeat in one VM and web server
in another?

Basically, you have two options: run cluster within the VMs, it would then
manage web server and such, or manage whole VMs on the hosts using the Xen
RA (or vmware).

> I
> will also need SSL capabilities too.

SSL where? For the web server? Just make sure that it doesn't ask for the
passphrase for the certificate.

> As long as I don't need load balancer, I'm already replicating the 
> Mysql DB, and rsync is doing the files, is that all I need to do auto
failover?

Probably, but test it thoroughly. Just make sure that your files are
consistent with the database, if that's possible.

Thanks,

Dejan

> I hope
> I'm not sounding too slow here. I think I've just been working on this 
> for too long now.
> 
> Thanks, Tom
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to