Re: Apache cluster?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



GFS is kind of overkill if there's no dynamic content, and I've not
heard good things about its stability, either.

By "dynamic content," I mean anything like a database backend.  The
setup I described below depends on the web servers never needing to
alter the content they serve.  If users can add content -- comments,
orders, anything -- then you'll need a writable mount, in which case
you'll need to look into MySQL Cluster, Oracle RAC, or something like
that.

To do a DNS round-robin, I think you'd just create an alias to both
boxes, something like this:

box1	 IN		  A		192.168.0.1
box2	 IN		  A		192.168.0.2
www	 IN		  CNAME	box1.example.com
www	 IN		  CNAME	box2.example.com

_I THINK_.  Check with your local DNS/Bind expert first. :)

Chris St. Pierre
Unix Systems Administrator
Nebraska Wesleyan University

On Fri, 18 Nov 2005, Dominik Schmid wrote:

> Have a look at gfs from redhat:
> http://www.redhat.com/en_us/USA/home/solutions/gfs/
>
>> Chris,
>>
>> What do you consider dynamic content? And how do I do a DNS round-robin?
>>
>> Thanks,
>> Magnus
>>
>> On 11/18/05, Chris St. Pierre <stpierre@xxxxxxxxxxxxxxxx> wrote:
>>  
>>
>> >Magnus--
>> >
>> >If you've only got apache running, with no dynamic content, you can
>> >try mounting the MSA500 read-only on both boxes and do a DNS
>> >round-robin between them. That'll get you load balancing. For
>> >failover, look into Linux-HA; this would be a really simple setup,
>> >because the heartbeat would just need to bring up a virtual interface
>> >on the box that remains alive.
>> >
>> >If you have dynamic content, then it becomes orders of magnitude more
>> >difficult because you can't (or can, but don't want to) mount the same
>> >block device by two different boxes _except_ as read-only.
>> >
>> >Chris St. Pierre
>> >Unix Systems Administrator
>> >Nebraska Wesleyan University
>> >
>> >On Fri, 18 Nov 2005, Magnus Andersen wrote:
>> >
>> >    
>> >
>> > >Hi All,
>> > >
>> > >I have 2 HP DL380s and a MSA500 array that I would like to set up in a
>> > >clustered configuration. I want the cluster to be acting both load
>> > >      
>> > >
>> >balancing
>> >    
>> >
>> > >and failover for Apache. I looked into RH Cluster Suite, but it looks to
>> > >      
>> > >
>> >me
>> >    
>> >
>> > >like I have to have an additional couple of servers to make it load
>> > >      
>> > >
>> >balance.
>> >    
>> >
>> > >Have anyone done this or know of some software that will do it?
>> > >
>> > >Thanks,
>> > >
>> > >--
>> > >Magnus Andersen
>> > >Systems Administrator / Oracle DBA
>> > >Walker & Associates, Inc.
>> > >--
>> > >redhat-list mailing list
>> > >unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>> > >https://www.redhat.com/mailman/listinfo/redhat-list
>> > >
>> > >      
>> > >
>> >--
>> >redhat-list mailing list
>> >unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
>> >https://www.redhat.com/mailman/listinfo/redhat-list
>> >
>> >    
>> >
>>
>>
>>
>> --
>> Magnus Andersen
>> Systems Administrator / Oracle DBA
>> Walker & Associates, Inc.
>>  
>>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux