RE: Load balancing - Using only 2 servers-RH9.0
Edward Croft <[email protected]> 19 Aug 2003 09:18:47 -0400
| Newsgroups | gmane.linux.redhat.piranha |
|---|---|
| Message-ID | <1061299126.19599.6.camel@crofts1> |
On Tue, 2003-08-19 at 05:10, Sumesh wrote: > Dear Sebastien, Edward, > > I have got the patch (piranha-0.7.0.diff) for making 2 Servers to work as LVS router and Real servers. > To start with, I wanted to make one of the server as LVS Router (without any back up router) > And webserver (httpd) will be running on both the servers.In fact I am not clear when to apply this > patch, most probably it will be before Piranha installation and it will require piranha sources also. > Please correct me if I am wrong.I have tried patch -p1 < piranha-0.7.0.diff on piranha installed machine > but it asks us to enter File to pach. > > Kindly help me for applying this patch.. > > Thanks®ards, > Sumesh > Sumesh, if you got the tar file that I sent you, then that is the patched version of piranha. Untar it in the /usr/src/redhat/SOURCES directory. cd /usr/src/redhat/SOURCES ; tar xzvf redhat.tar.gz Then cd into the redhat/piranha directory and do the following: make clean make make install However, I noted that you said that you wanted to do LVS not FOS. You do not need to recompile piranha if you do not need scripting in FOS. You can use the version that comes with RHAS 2.1 if you only need scripting with LVS. When you first asked, you said that you needed scripting in failover, that is why I sent you the tar file. Ed