I have two web servers in a cluster serving a web application.
Using MS Web Deploy to transfer the new version of the application to one server, and then again to synchronize files with another server in the cluster. This seems to be the most common thing.
But will there be problems when one server is deployed with the new version and the other is not finished yet. Could this cause a problem when the page loaded with the new version issues a web service request and the balancer sends a request to the server with the old version?
What is the best way to avoid this?
I thought about how to create a script to start the server that we are deploying, and make sure that only one server is running at a time. But I can not find anyone else who seems to have written about such a solution. And suppose it also does not scale very well.
Another solution might be to shut down all servers during the upgrade. But that does not seem very smart.
Any suggestions?
source
share