Google
 
Web tech-mania.blogspot.com

Friday, September 15, 2006

 

To create a new application pool in IIS

Application Pools

Important This feature of IIS 6.0 is available only when running in worker process isolation mode.
By creating new application pools and assigning Web sites and applications to them, you can make your server more efficient and reliable, and your other applications always available, even when the applications in the new application pool terminate.

Run IIS Manager as an administrator.
From the command prompt, type runas /user:administrative_accountname "mmc %systemroot%\system32\inetsrv\iis.msc".

To create a new application pool
1. In IIS Manager, expand the local computer, right-click Application Pools, point to New, and then click Application Pool.
2. In the Application pool ID box, type the name of the new application pool.
3. Under Application pool settings, click either Use default settings for new application pool or Use existing application pool as template.
4. If you selected Use existing application pool as template, from the Application pool name list box, click the application pool to be used as a template.
5. Click OK.
To assign an application to an application pool
1. In IIS Manager, right-click the application that you want to assign to an application pool, and then click Properties.
2. Click the Virtual Directory, Directory, or Home Directory tab.
3. If you are assigning a directory or virtual directory, verify that Application name is filled in. If the Application name box is not filled in, click Create, and then type a name.
4. In the Application pool list box, click the name of the application pool to which you want to assign the Web site.
5. Click OK.
To isolate an application in worker process isolation mode
1. In IIS Manager, expand the local computer, expand the Web Sites folder, right-click the application you want to isolate, and click Properties.
2. Click the Home Directory, Virtual Directory, or Directory tab (depending on the application).
3. In the Application settings section, in the Application pool list box, click an application pool.
4. Click Apply, and then click OK.
IIS 5.0 isolation mode allows you to run applications in IIS 6.0 that were developed for earlier versions of IIS.
To isolate an application in IIS 5.0 isolation mode
1. In IIS Manager, expand the local computer, expand the Web Sites folder, right-click the application you want to isolate, and click Properties.
2. Click the Home Directory, Virtual Directory, or Directory tab (depending on the application). If you are in the directory listed as the Starting Point directory, the Application name box is already filled in.
3. From the Execute permissions list box, click the appropriate process option.
4. Click OK. The Web server finishes processing any current requests for the application before creating a separate process. At the next request for the application, the application will run in the appropriate memory space.

How to Configure Recycling
Important This feature of IIS 6.0 is available only when running in worker process isolation mode.
In worker process isolation mode, IIS can be configured to periodically restart worker processes assigned to an application pool, allowing you to recycle faulty Web applications. Recycling keeps problematic applications running smoothly, especially when it is not feasible to modify the application code. This ensures that those application pools remain healthy, and that system resources can be recovered.
You can configure worker processes to restart based on elapsed time, number of requests served, scheduled times, or memory usage; or you can configure them to start on demand.

Run IIS Manager as an administrator. From the command prompt, type runas /user:administrative_accountname "mmc %systemroot%\system32\inetsrv\iis.msc".
To configure a worker process to be recycled after a set elapsed time
1. In IIS Manager, expand the local computer, expand Application Pools, right-click the application pool, and click Properties.
2. On the Recycling tab, select the Recycle worker processes (in minutes) check box.
3. Click the up or down arrow to set the number of minutes you want to elapse before the worker process is recycled.
4. Click OK.


To configure a worker process to be recycled after a set number of processing requests
1. In IIS Manager, expand the local computer, expand Application Pools, right-click the application pool, and click Properties.
2. On the Recycling tab, select the Recycle worker process (in requests) check box.
3. Click the up or down arrow to set the number of requests to be processed before the worker process is recycled.
4. Click OK.
To configure a worker process to be recycled at scheduled times
1. In IIS Manager, expand the local computer, expand Application Pools, right-click the application pool, and click Properties.
2. On the Recycling tab, select the Recycle worker processes at the following times check box.
3. Click Add to add a time to the list, Remove to delete a time from the list, or Edit to change an existing time at which the worker process will be recycled.
4. Click OK.
Note When recycling is set to occur at scheduled times, it can occur off-schedule if the system time is altered. To avoid unintended changes in scheduled recycling times, recycle the scheduled worker processes right after the system time is changed.
To configure a worker process to be recycled after consuming a set amount of memory
1. In IIS Manager, expand the local computer, expand Application Pools, right-click the application pool, and click Properties.
2. On the Recycling tab, under Memory recycling, select the Maximum virtual memory (in megabytes) or Maximum used memory (in megabytes) check box.
3. Click the up or down arrow to set memory limits.
4. Click OK.

 

How To add an SSL Certificate

Description:

When a customer needs to have a site secured (https/ssl certificate), these
steps will guide you through the installation.

You will need to allocate an unused IP address to the website.? SSL
(https://) can NOT be virtually hosted.? The SSL negotition takes place
prior to host header information to be passed.?Each web server has been
allocated a block of IP\'s for sites requiring a certificate.?

1) Go to the TCP properties for the network interface. Click on the
"Advanced" button on the "General" tab.

2) A new window will open.In the "IP settings", you will see listed the
IP\'s that are already in use. Add the next available IP within the block
allocated to.

3) Go to the IIS manager, and edit the properites for the web site.

4) In the "Web Site" tab, click on "Advanced" In the "Web Site
Identfication" section.

5) A window with three fields will open up. In the "IP Address" pull down
menu, select the IP address you added in Step 2. "Port" should be set to 80,
and leave the Host Header Value blank.

Apply the changes

6) Send a request to your ISP to change the entry for the website to point
to the new IP address.

Wait for the DNS to be updated. (including 24 hours for it to propigate
world wide).

7) Go to the IIS manager and edit the properties for the web site.

8) In the "Web Site" tab, click on "Advanced" In the Web Site
Identification" section.

9) Remove all instances of the shared virtual hosting IP. You should only
have the entry for the IP address that was allocated in step 5. Apply the
changes


This page is powered by Blogger. Isn't yours?