Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IIS Shared Configuration need IISReset

Posted on 2013-11-18
7
Medium Priority
?
455 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 12

Expert Comment

by:Adam
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:Adam
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
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 process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

688 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