Wednesday, December 7, 2011

What is webgarden and Application Pool?


Question -> What is webgarden and Application Pool?
Answer.
Webgarden ->A Web garden is configured on a single server by specifying multiple worker processes for an application pool.

Application Pool ->An Application Pool can contain one or more applications and allows us to configure a level of isolation between different Web applications. For example, if you want to isolate all the Web applications running in the same computer, you can do this by creating a separate application pool for every Web application and placing them in their corresponding application pool. Because each application pool runs in its own worker process, errors in one application pool will not affect the applications running in other application pools. Deploying applications in application pools is a primary advantage of running IIS 6.0 in worker process isolation mode because you can customize the application pools to achieve the degree of application isolation that you need.


Question ->Where to set webgarden in IIS?
Answer :
1) Configuring Web Gardens with IIS 6.0
This feature of IIS 6.0 is available only when IIS is running in worker process isolation mode.
To configure a Web garden by using IIS Manager
A.
In IIS Manager, expand the local computer, expand Application Pools, right-click the application pool, and then click Properties.
B.
Click the Performance tab, and under Web garden, in the Maximum number of worker processes box, type the number of worker processes that you want to assign to the application pool. (You must type a number greater than 1 for the application pool to become a Web garden.
C.
Click OK.





2) Configuring Web Gardens with IIS 7.0 and IIS 7.5(windows server 2008   )

This feature of IIS 6.0 is available only when IIS is running in worker process isolation mode.

To configure a Web garden by using IIS Manager
A.
In IIS Manager, expand the local computer, expand Application Pools, right-click the application pool, and then click Advanced Settings.
B.
Under Process Model,in the Maximum number of worker processes box, type the number of worker processes that you want to assign to the application pool. (You must type a number greater than 1 for the application pool to become a Web garden.
C.
Click OK.


To configure a Web garden by using Adsutil.vbs
A.
In the Run dialog box, type cmd, and then click OK.
B.
At the command prompt, type:
cscript %SystemDrive%\Inetpub\AdminScripts\adsutil.vbs set W3SVC/AppPools/ApplicationPoolName/MaxProcesses n
Replace n with the number of worker processes that you want to service the application pool.

No comments: