Quantcast
Channel: Web Farm Framework
Viewing all 92 articles
Browse latest View live

Assembly files locked by IIS and/or application provisioning

$
0
0

The Scenario

I'm using msdeploy to deploy files to Web Server A (let's call it WebA) and Web Farm Framework'sApplication Provisioning feature to synchronise to Web Server B (let's be imaginative and call it WebB).

The Problem

For just one specific WCF .NET web service, the msdeploy to WebA works okay, but the sync fails, reporting that a .NET assembly file is locked by the w3wp.exe process.

What have I tried?

Of course restarting IIS etc will unlock it and allow the sync, but I'm struggling to work out why it's locked in the first place. I believe IIS doesn't use the deployed files directly, instead copying them to the Temp ASP.NET Files directory and JIT-ing the svc file etc all in there as it does with regular ASP.NET.

The Question

Where can I begin to work out why the file would be locked by w3wp.exe? I don't think it'll be the service itself because the msdeploy.exe to WebA works okay and it's only the sync to WebB that fails. Could it be the Application Provisioning "service" on WebB that's locking the file? Why might it do that?


Microsoft Abandoning WFF

$
0
0
I heard a rumor that is going TechEd that Microsoft is Abandoning Web Farm Framework. I did not hear what the replacement if any might be. Anyone hear this or can confirm this?

WFF failed to install

$
0
0

I am following the instructions @ http://www.iis.net/learn/web-hosting/microsoft-web-farm-framework-20-for-iis-7/setting-up-a-server-farm-with-the-web-farm-framework-20-for-iis.  I clicked the link to download the platform installer to the control server and it installed version 4.6.  When I clicked install it did not install the WFF, it gave an error that web platform installer needed to be installed 1st.  And when I tried to select it as indicated Products > Servers it is not in the list, what am I missing?

Skip files from syncing in Web Farm framework using skipDirectives

$
0
0

Hello, 

I am trying to set up WFF and skip certain files from syncing. Below is the file structure for my IIS installation:

D:\Web\default_site - Default Web Site

D:\Web\Site1 - Site1

D:\Web\Site2 - Site2

I am using skipDirectives in applicationHost.config on the controller server to skip lbtest.asp and lbtest.bak files located on root of each site (Default, Site1, Site2).

 <skipDirectives>

    <skip name="skipfile1" skipDirectives="objectName=^filePath$,absolutePath=\\lbtest\.asp$'"

   <skip name="skipfile2" skipDirectives="objectName=^filePath$,absolutePath=\\lbtest\.bak$'"

 </skipDirectives>

Unfortunately, the files are still syncing. 

 

Web Deploy v3 Setup problems

$
0
0
I have a test farm that I wanted to upgrade to Web Deploy v3, and it's not going well. I'm running Win 2k8 R2, IIS 7, WFF 2.2. When I install the Web Deploy v3 on the primary of the farm, it stops syncing with the secondary. It was working great prior to the upgrade to V3. Any help would be greatly appreciated. "Failed to run operation 'RunRemote'. Failed to run method 'Microsoft.Web.Farm.SyncApplicationsRemoteMethod' on server ‘Test2.domain.COM’. Exception in response stream. The ApplicationHost.config file is invalid. Cannot proceed with synchronization. Exception in response stream. The ApplicationHost.config file is invalid. Cannot proceed with synchronization." "Failed to run operation 'ProvisionApplications'. Failed to run method 'Microsoft.Web.Farm.SyncApplicationsRemoteMethod' on server ‘Test2.domain.COM’. Exception in response stream. The ApplicationHost.config file is invalid. Cannot proceed with synchronization. Exception in response stream. The ApplicationHost.config file is invalid. Cannot proceed with synchronization." "Failed to run operation 'Repair'. Failed to run method 'Microsoft.Web.Farm.SyncApplicationsRemoteMethod' on server ‘Test2.domain.COM’. Exception in response stream. The ApplicationHost.config file is invalid. Cannot proceed with synchronization. Exception in response stream. The ApplicationHost.config file is invalid. Cannot proceed with synchronization." “Failed to run operation 'AutoRepair'. Failed to run method 'Microsoft.Web.Farm.SyncApplicationsRemoteMethod' on server ‘Test2.domain.COM’. Exception in response stream. The ApplicationHost.config file is invalid. Cannot proceed with synchronization. Exception in response stream. The ApplicationHost.config file is invalid. Cannot proceed with synchronization.” “Server marked 'Unhealthy' due to failure to run operation 'AutoRepair'” So I thought, maybe I have to manually install it on the secondary. That installation fails with an error: "Setup failed to detect shared configuration." Nate

Web Farm Framework Still Supported?

$
0
0

I know there is another thread on this subject, but it has been dormant for quite some time.  Has there been any word from MS as the status of WFF?  It hasn't been updated in quite some time, it's dependancies are very old, and it will not run (with out some hacking) the two most recent version Windows Server.

I have been using WFF and love it except for the fact that it does not sync file/folder permissions.  But I need to start thinking about the future and how to design my web farms going forward.

Web Farm Agent Service starting problems

$
0
0

I am increasingly getting issues with the Web Farm Agent Service not starting on servers. "Error 1053, the service did not respond to the start or control request in a timely fashion"

I have ran the  windbg.exe monitor on it... but the output might as well be in a foreign language as it makes no sense... (out of around 100 servers I am seeing this on 6 so far.. but I fear this is going to increase)

Any ideas? I really do not want to have to go down the route and reinstalling this every time.


 

WFF - WEB FARM FRAME WORK - deploying code across all servers in farm

$
0
0

Hi all, 

I am currently in a situation, i haven't much expereince regarding this, but i will ask away and all help is greatly appriciated. 

Currently we use TFS 2012 and Visual Studio 2008, an old solution for classic asp application. This deploys a build to a test server, where i would compare the new code with the current code and then make a package of the differences. (Any better way of doing this much appreciated - i am learning powershell) 

We are getting a new web farm and adding multiple servers to this web farm, but i was told i cannot use Web Deploy to Release code to Production, as it does not work with the Classic ASP solution. 

What would be the best way of deploying new production code to all the servers in a farm from a set of folders? I'm not so keen on DFS-R. 

Also I use Win 2008 R2 Servers/ Powershell / IIS 7 


Web Farm Framework - Setting Up - Application Requires Local File Upload D:\Temp

$
0
0

Hi all, 

First time configuring a Web Farm and I am using Windows 2008R2, WFF 2.2, Web Deploy 2.0.

The Web Farm will have around 10 Windows 2008R2 Servers hosting the sites.

I am creating a Web Farm, this Web Farm will have around 500 sites with the same codebase pointing to a Root Directory D:\WebSourceCode.

The Web Application the sites will use  is made from Classic ASP/ ASP.NET and many other types of source code files but this is the main part for IIS 7.5. 

The problem I have is; the Users will upload files to a Temp Location via the site; which will be D:\Temp and this then will go to a NAS Drive after the database has completed what it needs to. 

I am concerned and cannot find away around this, is there a way to make a "TEMP" directory in another location so that the farm does not Sync this across all the servers and keep this Temp Directory Static to each server. 

Example of Problem: User logs into Site on FARM SERVER 1 and uploads a document locally to FarmServer1\D:\Temp then User 2 logs into Site on FARM SERVER 9 and uploads a document locally to FarmServer9\D:\Temp - Then IIS Web Farm will Sync and overwrite this file. 

Initially I need a location where web farm will not delete these uploaded files, and i need to keep them for at least 30 days. 

Thank you all in advance

Memory leak??

$
0
0

Anyone else noticed their web farm controller server memory creeping up if left alone?

I have two web farms, both the same set up i.e. one control server, 32 servers in farms of 4. inetmgr.exe sits about about 11mb when started. If I leave the farms alone after about 2 weeks the memory used by the process has crept up to around 2.5gb. The server has 4gb. The only way i can find to reduced the size is to stop the process and restart.

Any one seen this or know of a solution?

IIS 7.5 running in Windows 2008 r2. wff 2.2.

Web Farm Framework, Shared Configuration and Powershell questions

$
0
0

Hi,

I'm using Web Farm Framework to build an ARR Layer on my IIS 8.5 Webfarms. So i created one "Server Farm" for each website/virtual application that i have. Now it's on Development, so it's 1 ARR/WFF with 2 IIS 8.5 with all websites (actually 80).. i'm planning on Homologation 3 ARR/WFF with 3 IIS 8.5. So i'm just using on IIS size, DFSR + Shared Configuration to sync settings and files.

1) This is the best option? Or it's better to create an "Master WebFarm", and set it to sync the IIS and servers? And about using Web Deploy? I would Deploy to ARR, and then it Deploy to both IIS? Now i'm deploying directly to IIS 1, and then, DFSR / Shared Configuration "do the magic".

So i created 80 Server Farms on WFF, each one with both servers, and HealthCheck pointing to each website. And on ARR, i put the rules to send each request to it own farm.s Always using "least response time", so each website will do it's own checks.

So i'm trying to make an Powershell script to create the Web Farms, setting the configs to the new Farm, create the ARR rules and the binding on Default Web SIte... But i can't make it work. WFF has it own cmdlets, including "New-WebFarm". But my question is about the "credentials". When i create the WebFarms by IIS Console, they not ask me user and password, and when i look at applicationhost.config, it creates an unique "RSA Key", with "adminuser" with "". Creating it with Powershell "New-WebFarm", ask me for user and password, and then, when i use "Get-WebFarm", shows my user and password in plain text.

2) How can i create a webfarm using Powershell, to make it look the same as when i created by GUI? Now i'm working directly with Powershell editing the "applicationhost.config", adding all the fields i want to create, but i really don't like this approach.

3) All my WebFarms now it's working well, i can view the requests, the time each one takes, the algorytm doind it's work. But when i check the "Servers" menu, it shows both servers "Ready for Load Balance? NO". But it's balancing.

4) My feel is that Web Farm Framework will die soon... I have to make a world to get it installed... uninstall Wep PI, install the old version,and other componentes... If i have a "physical" only one WebFarm, with 2 IIS, and want to balance all websites, why WFF can't manage it at "website level" instead of "WebFarm" level?

Thanks for help

WFF future

$
0
0

Hello,

I have been asked by my Employer to consider using WFF, I have read the material on installing and

configuring WFF but I have also found some information which states that Microsoft has abandoned

WFF for IIS8 and windows server 2012. On the other hand I have found manual on IIS website about installing

WFF 2.2 ON WINDOWS SERVER 2012 and windows server 2012 R2.

I am confused: and my question is

1) Is this True that Microsoft has abandoned  WFF for future use with IIS8 and Windows server 2012?

2) If this is True? what about people who have been using WFF on IIS7 on Windows Server 2008 or IIS 7.5 ON WINDOWS SERVER 2008 R2? Will they ever be able to upgrade to 2012 servers or they stuck with IIS7 AND 2008 SERVERS.

3) What is an alternate to WFF?

Regards,

Fahad

Web Farm Controller Service does not start

$
0
0

Specs- Server 2008- SP2 - Platform Installer  3

Installed Web Farm Framework - When I attempt to provision Controller and Pri on same server using a local account that is in Local Admin group the service errors with "The Web Farm Controller Service service failed to start due to the following error:  The service did not respond to the start or control request in a timely fashion."

Followed directions per to allow Firewall changes-

Can someone assist me.

Thanks

 

 

 

WEB FARM in Server 2012 R2 - does not work properly!

$
0
0

Hi

I want supporting my project in two different systems on Web Farm -  (server 2008 R2, and server 2012 R2)

The Web Farm has 3 virtual machine.
1.Controller
2.Primary server
3.Secondary Server


Server 2008 R2 with WFF  - work fine !
- Use SignalR and Session (SQL Server - ASP.NET state service)

Server 2012 R2  - does not workproperly!
Use the same setting that was in Server 2008, but in 2012 still does not work properly when debugging I found one difference between 2008 server and Server 2012 - sizes of files .xap and other, downloaded on the client computer does not match reality.


for example:

in server 2008 r2 - download one file (SampleName.xap) with size - 2,4 Mb  
in server 2012 r2 -the same file (SampleName.xap) was downloaded with size ~ 0.7 Mb, same times 1Mb

Note.
Access to Controller on Server 2008 r2 – I use http://Controller (controller was added locally in hosts).

Access to Controller on Server 2012 r2   - used http://SameDomain.com:2992, in the router configuration, I redirected to IP: 80 on controller machine.



Change Web Farm Framework Logs location

$
0
0

Hi

currently , the location of log is C:\Program Files\IIS\Microsoft Web Farm Framework\WebFarmService.log, I want to move the log to a diffrent drive  D:\LOGS\WFF\WebFarmService.log? How i can confgure it?


WFF fail to start WebFarmAgentService

$
0
0

After adding a server farm and adding the servers, the entries in the log are:

Info: Starting service WebFarmAgentService

Error: the storage control blocks were destroyed

Warn: Failed to enable agent (attempt # 1) copy the agent from c:/program files/IIS/Microsoft web farm framework/webfarmagent.msi and install it manually. The storage control blocks were destroyed

After this the cycle keeps going on and one until I get an error under the most recent error stating

Failed to run method ‘microsoft.Web.Farm.GetInstalledProductRemoteMethod on the server and a

Failed to run method ‘microsoft.Web.Farm.ControlServiceOperationProvider’

Remote Administrator allow domain on both server

Anybody else having this problem??

 

Multiple web-farms question

$
0
0

Hello,

I would need to setup multiple webfarms preferably using the same set of ARRs and worker machines,

each of them for a different application (since applications require different settings).

I would like to know how can I select which applications are managed by each webfarm.

Many thanks in advance.

Provisioning certificates in WFF

$
0
0

I am trying to figure out how to provision certificates from my primary web farm server (farm servers are 2008 R2, IIS 7.5) to my secondary servers and see that in application provisioning there are cert and httpcert options. I've looked at the msdeploy information for cert (e.g. https://technet.microsoft.com/en-us/library/dd568971%28WS.10%29.aspx) from the command line, however I've not been able to find any information on how to input the correct data into the 'Path' and 'Settings' fields in application provisioning. And not able to find out any information on the 'httpcert' entry in the app provisioning dropdown either.  I'd like to know the standard practice for provisioning certificates within web farm framework.

Any help would be appreciated.

Web Farm Framework ProvisionApplications failing

$
0
0

Failed to run operation 'ProvisionApplications'.  Failed to run method 'Microsoft.Web.Farm.InstallProductsRemoteMethod' on server 'webfarm01'.  Exception in response stream.  The product 'Web Deployment Tool 2.1 without bundled SQL support' did not install successfully.  Exception in response stream.  The product 'Web Deployment Tool 2.1 without bundled SQL support' did not install successfully.

(sorry in screenshot below, I masked out part of our server name for security reasons, meant to leave on the 'w' before the 'e')

http://d.pr/i/17KtF (screenshot)

Can't figure out why it is failing. In addition, according to "Install Products" The  'Web Deployment Tool 2.1 without bundled SQL support'  is already installed on both the web farm servers.

http://d.pr/i/tjxj (screenshot)

So why in the world is WFF trying to install it again through Application Provisioning?

Here's my setup:

2 ARR Servers (ARR01, ARR02) with NLB. DFS is setup on them as well as they are using a Shared IIS Configuration (DFS keeps them in sync)

2 Web Farm Servers running IIS 7.5 (DFS setup to keep web content folders in sync, as well as IIS setup to use a Shared Configuration). 

One thing I've already tried is disabling the IIS shared configuration as it may block installations, but that did not resolve the above issue.

Any help is appreciated. There seems to be very little troubleshooting documentation on the Internet for Web Farm Framework....

Provisioning error - Failed to run method 'Microsoft.Web.Farm.SyncApplicationsRemoteMethod'

$
0
0

We're having a persistent error on our installation of WFF 2.0.

Everything was running fine until it tried to sync bindings on a site, Repair operation also fails with this error.

Failed to run method 'Microsoft.Web.Farm.SyncApplicationsRemoteMethod' on server 'blah'. Exception in response stream. Unable to read beyond the end of the stream.

There are no more details other than this. We tried removing the server farm and readding but same error, it can't even seem to start the provisioning process at all.

thanks,
Rowan

Viewing all 92 articles
Browse latest View live




Latest Images