thanks ieannon for your reply.
is there someone that have tried a similar installation?
Main Topics
Browse All TopicsHi,
we are developing an intranet web portal for a customer that own two servers with windows 2003 cluster edition.
If possible, we want to use iis with php and mysql.
Is mysql cluster aware?
Pay attention, i don't want to do a MySQL cluster installation, i want to install mysql on a windows 2003 cluster environment.
regards.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Although it's not supported out of the box you still can do it if you really really need it. I've done this in several projects. For simplicity sake I'll assume you have 2 boxes.
There are several things to consider in such scenario
1- All the servers need to have the same data all the time
2- There must be a way to failover in case of a failure
3- Auto increment primary keys should be transparent. That means regardless in which box you insert, you should be able to get a consistent auto incremented PK value.
Let me start by saying this is perfectly possible, however requires careful configuration and testing.
Solving problem #1 is simple. MySQL supports two way replication, a.k.a circular replication. Two or more boxes are configured to be masters and slaves of each other.
Solving problem #3 is also simple. MySQL lets you set auto increment values for servers. This is achieved simply, Box_1 inserts 1,3,5,7,9 for consequtive inserts and Box_2 inserts 2,4,6,8,10. There's a server variable where you set the offset and increment for auto increment values.
Solving #2 is a bit complex. If your web app connects to localhost on both boxes, that in case of a failure you should be connecting to the other box. MySQL does not support this out of the box. You must either put a load balancer in front, which is the safest evasion for every consultant :) but not very practical and costly. However if you're using java, the jdbc driver at the client side can help much. There's however a new piece of software called MySQL proxy, which sits in between your client (web app) and mysql server. It's lightweight and you can easily handle connection to other MySQL servers in this lightweight software. The bad news is it's very very new and not tested much.
I suggest you read
http://www.onlamp.com/pub/
and
http://www.mysql.com/news-
Hope this helps.
Business Accounts
Answer for Membership
by: leannonnPosted on 2007-08-29 at 02:03:15ID: 19789648
I doubt it can be done :( Try installing all the applications (MySQL, PHP...) using exactly the same folder structure on both servers. it's your best shot, but as I said, I don't think it will work :(