LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   From single server to cluster (http://www.linuxquestions.org/questions/linux-server-73/from-single-server-to-cluster-665013/)

littlebigman 08-24-2008 10:12 AM

From single server to cluster
 
Hello

Our single server running a LAMP application at our coloc is getting slower, and I was thinking of putting X Apache servers as front-end, all connecting to a data server for MySQL + JPG. I've never done this before, and have a couple of questions:

1. Should I use NFS to connect the Apache servers to the MySQL server, or should I look at something else for higher performance (FireWire, etc.)?

2. In case we need to have more than one data server, what would you recommend for load balancing + data synchronization?

Thank you.

cc_karthik 08-25-2008 04:22 AM

Hi

*Ur Sql is running on the same machine were apache is located.

*If u want to go for load balancing it depends upon ur budget .,according to that i can give solutions.

littlebigman 08-25-2008 05:55 AM

Currently, we have Apache running on one host, MySQL running on a second host, and a third host for JPG's through NFS. I didn't make this decision, and I doubt it's very good :/

AFAIK, the server is I/O bound, so I was wondering if it'd be possible to replace this odd setup with a load balancer facing a couple of LAMP servers, each connected to a shared RAID0 bay, to avoid using a NAS + NFS. Does this seem like a good idea?

Thank you.


All times are GMT -5. The time now is 05:59 AM.