Solved

IIS Shared Configuration need IISReset

Posted on 2013-11-18
7
386 Views
Last Modified: 2014-08-29
Hi,
I upgraded our severs from Windows 2012 to Windows 2012 R2.
I have three servers in a Web Farm iis-02 , iis-03 and iis-04
When i convert a to an application every thing looks fine on all servers when i navigate to the application on all servers that is to say every IIS detects that this is an application.

The funny thing is that it only work on the server that i used to convert to the application.
I seem nothing in the logs and get error 404 on the other two servers.

If i run IISReset in the other two servers every thing start to work as is should.
I really do not want to run the IISReset command on all the servers since they are in production.
Does any one know of this issue and has a work around ?
0
Comment
Question by:dkSoftware
  • 3
  • 2
7 Comments
 
LVL 12

Expert Comment

by:Cyber-spy
ID: 39664507
It sounds like you have them all working - one server was already working, and two others started working when you did an IISReset. Is this the case, or have I missed something?

If this is not the case, then resetting the two servers can be done to minimise downtime.

First question - do all these servers run the same web sites behind a load balancer, or do they have different web sites? If they are all behind a load balancer, then can you block one server at a time from the load balancer, and then just reset it when all sessions have ended?

If they are not behind a load balancer, then you can still time any IIS Reset until a quiet time of the day. Resets are quite quick, so if you do them at a quiet time of the day, it won't have a big effect - certainly less than the time taken to reboot the entire server after applying Windows updates.

It may also be possible to fix the issue by recycling the application, not the entire IIS web server. If each of the sites on a server runs under its own application, then recycling the application won't affect the other sites, and won't cause the site in question any issues as it's apparently not working at all!

Hope this helps

Adam
0
 

Author Comment

by:dkSoftware
ID: 39665255
Hi,
unfortunately recycling the APP pool does not help.
the only thing that does the trick is iisreset or of course a total server restart.

This behaviour was not present in before upgrading from windows 2012 to windows 2012 R2
We have a load balancer and the setup is using DFS replication to replicate the configuration and content shares.
0
 
LVL 12

Expert Comment

by:Cyber-spy
ID: 39667071
On my windows 2008 r2 servers (like yours, load balanced and using Dfs file sharing ) restating  IIS takes seconds when the server is quiet. If  you are using SQL server for session management, your visitors won't even lose their session.  Of you are really worried about losing customers then use your load balancer to make sure your visitors always have  a live server to attach to.
0
 

Accepted Solution

by:
dkSoftware earned 0 total points
ID: 40281516
Re-install the servers and setup all from scratch solved the issue !
0
 

Author Closing Comment

by:dkSoftware
ID: 40292157
It was not acceptable to iisreset every time a change or a new application was defined.
So i was forced to re-install the farm that seems to have fixed the issue.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question