Re: sort of a load balancing question
- To: Shao Zhang <email@example.com>
- Cc: firstname.lastname@example.org
- Subject: Re: sort of a load balancing question
- From: "Jeremy C. Reed" <email@example.com>
- Date: Thu, 24 Aug 2000 15:09:14 -0700 (PDT)
- Message-id: <Pine.LNX.3.96.1000824150244.8014F-100000@sloth>
- In-reply-to: <20000824123012.B10193@localhost>
On Thu, 24 Aug 2000, Shao Zhang wrote:
> We are an isp here and we would like to set up two webservers
> that are completely tranparent(rsync daily).
> We will only be using one webserver to server all the pages, but
> if it goes down, we would like the second webserver to take over
> without any downtime.
I use a smiliar solution, but the two machines are not completely the
same. We rsync the websites (users and domains) and password files.
We run gated on the web server and on the back up webserver using OSPF
(Open Shortest Path Routing).
When ever the main web server comes up again, it becomes the real server.
FTP is not available on the back up web server.
This isn't the best solution, because CGIs that create files or use data
on the backup server may be different from the real server (because it
doesn't sync the other way).
(We are getting ready to move to using a external RAID box for the
website directories. This may be an additional idea.)
Jeremy C. Reed
BSD software, documentation, resources, news...