Hey guys,
There are a lot of topics about load balancing, but my idea is a bit different, I think.
I want to make the following:
- 1 SQL-server (Dual opteron)
- 1 Fileserver (SATA raid5)
- 1 Load balancer (LVS)
So far, so good. I can define the SQL server in mysql.conf (I've done that before).
The fileserver is also easy to do. I've done this before aswell. I use NFS and all the data (home, directadmin, var) is on the remote fileserver (Except of some ip-config scripts).
The load balancer can check health, load, etcetera.
DNS is something we don't do on Directadmin. We have 3 external nameservers.
Now this is my problem:
HTTP traffic is easy to handle with this setup. The load balancer 'balances' (duh) between the 2 webservers. The only thing is that the servers (2) should both handle email (and balance the traffic aswell). Both servers will use the same email-directory's on the central fileserver, but is that possible at all?
I'm affraid that balancing my email is harder then http.
Does anybody have experience with this? Does it have locking problems?
Thanks for your feedback.
There are a lot of topics about load balancing, but my idea is a bit different, I think.
I want to make the following:
- 1 SQL-server (Dual opteron)
- 1 Fileserver (SATA raid5)
- 1 Load balancer (LVS)
So far, so good. I can define the SQL server in mysql.conf (I've done that before).
The fileserver is also easy to do. I've done this before aswell. I use NFS and all the data (home, directadmin, var) is on the remote fileserver (Except of some ip-config scripts).
The load balancer can check health, load, etcetera.
DNS is something we don't do on Directadmin. We have 3 external nameservers.
Now this is my problem:
HTTP traffic is easy to handle with this setup. The load balancer 'balances' (duh) between the 2 webservers. The only thing is that the servers (2) should both handle email (and balance the traffic aswell). Both servers will use the same email-directory's on the central fileserver, but is that possible at all?
I'm affraid that balancing my email is harder then http.
Does anybody have experience with this? Does it have locking problems?
Thanks for your feedback.