Interesting situation recently… We were creating a new web app in central admin and it was being provisioned on the application server (Which ran the WFE service for content indexing) but not the client facing WFEs. Reboot of servers, IISRESET, it was starting to get a bit annoying. Eventually came up with this process:
- Delete the newly created web application
- Stop SharePoint administration service from services.msc on all SharePoint servers
- run stsadm -o execadmsvcjobs
- Start SharePoint administration service from services.msc
- Create new web application
Web app should now show up on all servers running the web application server. If this does not work, then you can also trying clearing the SharePoint Configuration Cache, but it’s a bit more involved:
Stop the Timer service. To do this, follow these steps:
- Click Start, point to Administrative Tools, and then click Services.
- Right-click SharePoint 2010 Timer, and then click Stop.
- Close the Services console.
- On the computer that is running Microsoft SharePoint Server 2010 and on which the Central Administration site is hosted, click Start, click Run, type explorer, and then press ENTER.
- In Windows Explorer, locate and then double-click the following folder:
- %SystemDrive%\ProgramData\Microsoft\SharePoint\Config\GUID
- Notes
- The %SystemDrive% system variable specifies the letter of the drive on which Windows is installed. By default, Windows is installed on drive C.
- The GUID placeholder specifies the GUID folder. There may be more than one of these.
- The ProgramData folder may be hidden. To view the hidden folder, follow these steps:
- On the Tools menu, click Folder Options.
- Click the View tab.
- In the Advanced settings list, click Show hidden files and folders under Hidden files and folders, and then click OK.
- You can also simply type this directly in the path if you do not want to show hidden files and folders.
- Back up the Cache.ini file. (Make a copy of it. DO NOT DELETE THIS FILE, Only the XML files in the next step)
- Delete all the XML configuration files in the GUID folder (DO NOTE DELETE THE FOLDER). Do this so that you can verify that the GUID folders content is replaced by new XML configuration files when the cache is rebuilt.
Note When you empty the configuration cache in the GUID folder, make sure that you do NOT delete the GUID folder and the Cache.ini file that is located in the GUID folder. - Double-click the Cache.ini file.
- On the Edit menu, click Select All.
- On the Edit menu, click Delete.
- Type 1, and then click Save on the File menu. (Basically when you are done, the only text in the config.ini file should be the number 1)
- On the File menu, click Exit.
- Start the Timer service. To do this, follow these steps:
- Click Start, point to Administrative Tools, and then click Services.
- Right-click SharePoint 2010 Timer, and then click Start.
- Close the Services console.
- Note The file system cache is re-created after you perform this procedure. Make sure that you perform this procedure on all servers in the server farm.
- Make sure that the Cache.ini file in the GUID folder now contains its previous value. For example, make sure that the value of the Cache.ini file is not 1.
- Check in the GUID folder to make sure that the xml files are repopulating. This may take a bit of time.