Solved

IIS Shared Configuration need IISReset

Posted on 2013-11-18
7
352 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now