In this tutorial i will tell you how to configure Lighttpd and Apache on same port 80 on same server. In our case, we have CentOS 6 on our server but you can follow this for any Linux flavor e.g Ubuntu/BackTrack Linux etc.
- Two Internet Public IPs ( Configured on eth0 and eth0:0)
Our last post can be found here, where we described why did we chose DRBD along with heartbeat, lighttpd and NFS. It is recommended to read that first to have idea why we are setting up this.
In this article i will explain how to configure it step by step. This is copy, paste HowTo you will need to replace the IPs and other information according to your requirements.
Example scenario :
node1.hackersgarage.com - 192.168.0.61
node2.hackersgarage.com - 192.168.0.62
LAN Virtual IP for NFS Service
Virtual IP for LAN - 192.168.0.63
Internet Virtual IP for Lighttpd Service
static.hackersgarage.com - 188.8.131.52
In this article we will discuss how can you build a high availability storage solution to store your static data.
Client is running a business portal that have approx. 300-500 MB data uploads per day. There was NFS Storage server which had 500 GB drive which was running out of space. This Server was also running lighttpd web server to provide access for users to view these files.
No Failover. (Except offline backup)
When ever server gets done, Users are unable to upload data.
Users are unable to access their data because lighttpd was also running on same server.