:: Home

  login:         
  passwords:  

IIS 7.0 Administration

IIS 7.0 Administration

Introducing IIS 7.0 Configuration Architecture
IIS 7.0 and Your Hardware
IIS 7.0 Editions and Windows
Web Administration Tools and Techniques

Deploying IIS 7.0 in the Enterprise

IIS 7.0 Protocols
IIS 7.0 Roles
Navigating the IIS 7.0 Role Services and Features
Setting Up IIS 7.0
Managing Installed Roles and Role Services

Core IIS 7.0 Administration

Working with IIS and URLs
Understanding the Core IIS Architecture
Understanding the Services and Processing Architecture
Managing IIS Servers: The Essentials
Managing IIS Services

Managing IIS 7.0 from the Command Line

Using the Windows PowerShell
Working with Cmdlets
Using the IIS Command-Line Administration Tool
Working with IIS Commands

Managing Global IIS Configuration

Understanding Configuration Levels and Global Configuration
Managing Configuration Sections
Extending IIS with Modules
Managing Modules
Sharing Global Configuration

Configuring Web Sites and Directories

Web Site Naming and Identification
Creating Web Sites
Managing Web Sites and Their Properties
Creating Directories
Managing Directories and Their Properties

Customizing Web Server Content

Managing Web Content
Redirecting Browser Requests
Customizing Web Site Content and HTTP Headers
Customizing Web Server Error Messages
Using MIME and Configuring Custom File Types
Additional Customization Tips

Running IIS Applications

Managing ISAPI and CGI Application Settings
Managing ASP Settings
Managing ASP.NET Settings
Managing .NET Framework Settings

Managing Applications, Application Pools, and Worker Processes

Defining Custom Applications
Managing Custom IIS Applications
Managing ASP.NET and the .NET Framework
Working with Application Pools
Configuring Multiple Worker Processes for Application Pools
Configuring Worker Process Recycling
Maintaining Application Health and Performance

Managing Web Server Security

Managing Windows Security
Managing IIS Security

Managing Active Directory Certificate Services and SSL

Understanding SSL
Working with Active Directory Certificate Services
Creating and Installing Certificates
Working with SSL

Performance Tuning, Monitoring, and Tracing

Monitoring IIS Performance and Activity
Detecting and Resolving IIS Errors
Monitoring IIS Performance and Reliability
Tuning Web Server Performance
Strategies for Improving IIS Performance

Tracking User Access and Logging

Tracking Statistics: The Big Picture
Understanding Logging
Configuring Logging

IIS Backup and Recovery

Backing Up the IIS Configuration
Backing Up and Recovering Server Files

WPF Interview Questions

SilverLight Interview Qs

SAP Interview Questions

Oracle Interview Questions

PHP Interview Questions

Ajax Interview Questions

OOP Interview Questions

Ruby Interview Questions

Sql Server Interview Questions

Winforms Interview Questions

SharePoint 2007 Questions

Microsoft Crm Questions

Managing IIS Services


Managing IIS Services

Each IIS server in the organization relies on a set of services for publishing pages, transferring files, and more. To manage IIS services, you can use the Services node in either the Server Manager or the Computer Management console. With Server Manager you can manage only local server installations but have additional options for working with server features and roles. With Computer Management, you can work with both local and remote servers.

 You can start Computer Management by doing the following:

1.
Click Start, Administrative Tools, and then Computer Management.

2.
If you want to connect to a remote computer, right-click Computer Management in the console tree and on the shortcut menu, select Connect To Another Computer. You can now choose the IIS server whose services you want to manage.

3.
Expand the Services And Applications node by clicking the plus sign (+) next to it, and then choose Services.

Figure 3-6 shows the Services view in the Computer Management console.

Figure 3-6. Use the Services node to manage IIS services.


The key fields of this dialog box are used as follows:

  • Name The name of the service.

  • Description A short description of the service and its purpose.

  • Status The status of the service as Started, Paused, or Stopped. (Stopped is indicated by a blank space.)

  • Startup Type The startup setting for the service.

    Note

    Automatic services are started when the system boots up. Manual services are started by users or other services. Disabled services are turned off and can't be started.


  • Log On As The account the service logs on as. The default in most cases is the local system account.

Starting, Stopping, and Pausing IIS Services

As an administrator, you'll often have to start, stop, or pause IIS services. You manage IIS services through the Computer Management console or through the Services console. When you manage IIS services at this level, you're controlling all sites or virtual servers that use the service. For example, if a computer publishes three Web sites and you stop the World Wide Web Publishing Service, all three Web sites are stopped and are inaccessible.

To start, stop, or pause services in the Computer Management console, follow these steps:

1.
In the left pane, right-click Computer Management in the console tree and on the shortcut menu, select Connect to Another Computer. You can now choose the IIS server whose services you want to manage.

2.
Expand the Services And Applications node by clicking the plus sign (+) next to it, and then choose Services.

3.
In the right pane, right-click the service you want to manipulate, and then select Start, Stop, or Pause as appropriate. You can also choose Restart to have Windows stop and then start the service after a brief pause. In addition, if you pause a service, you can select Resume to resume normal operation.

Tip

When services that are set to start automatically fail to do so, the status area is blank, and you'll usually receive notification in a dialog box. Service failures can also be logged to the system's event logs. In Windows Server 2008, you can configure actions to handle service failures automatically. For example, you could have Windows Server 2008 attempt to restart the service for you.

Configuring Service Startup

Most IIS services are configured to start automatically, and normally they shouldn't be configured with another startup setting. That said, if you're troubleshooting a problem, you might want a service to start manually. You might also want to disable a service so that its related virtual servers don't start. For example, if you move an FTP server to a new server, you might want to disable the FTP Publishing service on the original IIS server. In this way the FTP Publishing service isn't used, but you could turn it on if you need to (without your having to reinstall FTP support).

Tip

With IIS 7.0, it is important to note that two important services are configured for manual startup: ASP.NET State Service and FTP Publishing Service. If a server uses out-of-state processing, you'll want to enable ASP.NET State Service for automatic startup. If a server uses FTP, you'll want to enable FTP Publishing Service.


You configure service startup as follows:

  1. In the left pane of the Computer Management console, connect to the IIS server whose services you want to manage.

  2. Expand the Services And Applications node by clicking the plus sign (+) next to it, and then choose Services.

  3. In the right-hand pane, right-click the service you want to configure, and then choose Properties.

  4. On the General tab, choose a startup type in the Startup Type drop-down list as shown in Figure 3-7. Select Automatic to start the service when the system boots up. Select Automatic (Delayed Start) to delay the start until other automatic services are started. Select Manual to allow the service to be started manually. Select Disabled to turn off the service.

    Figure 3-7. For troubleshooting, you might want to change the service startup type.

  5. Click OK.

Configuring Service Recovery

You can configure Windows services to take specific actions when a service fails. For example, you could attempt to restart the service or reboot the server. To configure recovery options for a service, follow these steps:

1.
In the left pane of the Computer Management console, connect to the computer whose services you want to manage.

2.
Expand the Services And Applications node by clicking the plus sign (+) next to it, and then choose Services.

3.
In the right pane, right-click the service you want to configure, and then choose Properties.

4.
Select the Recovery tab, shown in Figure 3-8. You can now configure recovery choices for the first, second, and subsequent recovery attempts. The available choices are:

  • Take No Action

  • Restart The Service

  • Run A Program

  • Restart The Computer

Figure 3-8. You can configure services to recover automatically in case of failure.


5.
Configure other settings based on your previously selected recovery settings. If you elected to restart the service, you'll need to specify the restart delay. After stopping the service, Windows waits for the specified delay before trying to start the service. In most cases a delay of 1–2 minutes should be sufficient.

6.
Click OK.


When you configure recovery options for critical services, you might want Windows to try to restart the service on the first and second attempts and then reboot the server on the third attempt.

Copyright 2007, Megasolutions Ltd