SkipDirectives in Web Farm Framework
Hi, Kindly post you IIS server related queries in IIS specific forum. Thanks for your understanding. Forums : The Official Microsoft IIS Site http://forums.iis.net/ Regards, Rafic If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer". This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!
September 4th, 2012 10:27am

I want to skip a directory from being synced in the web farm. I have a server farm "TestFarm" with server "Pri"(Primary) and server "Sec"(secondary) and syncing 90% of the content over the two servers, my problem however is that that I want to skip one or two directories(In this case, the "Test" dir is the one I would like to skip). I have a hard time doing so, and have been doing endless amount of research, without having any luck fixing this. Here is a bit of info on my envoroment: Both servers running Windows Server 2008R2 Standard 64-bit, with IIS7, Web Platform Installer 3, Web Deploy 2 and WFF 2.2 Here is my website setup: With the websites pointing to: F:\Websites\Site1 F:\Websites\Site2 and then also having some Server spesific files in a folder called "Test" that I dont want synced Now I have setup an applicationProvisioning as follow: All the info that I gathered said that, for me to skip directories I must just update the "applicationHost.config" file located here "C:\Windows\System32\inetsrv\config" like this: (Obviously these are not real server names ", ) So I have done this, but still, the directory and its content keeps syncing every 30seconds from the primary server to the secondary server. Then I came across a guy that mentioned that, that is the wrong applicationHost.config file and I should rather change it in "C:\Windows\SysWOW64\inetsrv\Config" only to realsize that this file has the same data in as my other appconfig file, and sync themself as I update it. I have tried restarting the web farm, restarting IIS, but all failed. Any help would be greatly apreciated:)
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2012 10:29am

damn, i added screenshots. Thought it would show :(
September 4th, 2012 10:33am

Hi, Kindly post you IIS server related queries in IIS specific forum. Thanks for your understanding. Forums : The Official Microsoft IIS Site http://forums.iis.net/ Regards, Rafic If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer". This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion in a test environment before implementing!
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2012 10:34am

application provisioning is "Provider=contentPath" and "Path=F:\Websites"
September 4th, 2012 10:35am

Applicationhost.config: <webFarms> <webFarm name="TestFarm" enabled="true" adminUserName="*****" adminPassword="*****" primaryServer="Pri"> <server address="Pri" enabled="false" /> <server address="Sec" enabled="false" /> <platformProvision stopOnInstall="false" periodicSync="00:05:00" syncPlatformFromPrimary="true" /> <applicationProvision offlineWhileSync="false" syncWebServerFromPrimary="true" periodicSync="00:00:30"> <skipDirectives> <skip name="Test" skipDirective="objectName=dirPath,absolutePath=F:\Websites\Test" /> </skipDirectives> <clear /> </applicationProvision> </webFarm> </webFarms>
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2012 10:35am

Hi, For this question we recommend you post in IIS forum! This is the best place for IIS related questions. The Official IIS Forum! http://forums.iis.net/ The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.Lawrence TechNet Community Support
September 5th, 2012 1:36am

Hi Lawrence, Sorry for posting in the wrong forum. Thanks for helping me get on the right track. Cheers
Free Windows Admin Tool Kit Click here and download it now
September 5th, 2012 4:23am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics