Presentation is loading. Please wait.

Presentation is loading. Please wait.

Colors In This Template Useful for testing projectors during setup.

Similar presentations


Presentation on theme: "Colors In This Template Useful for testing projectors during setup."— Presentation transcript:

1

2 Colors In This Template Useful for testing projectors during setup

3 Bob Carver MCSE+I,MCT Senior Instructor ARIS Corporation How to set up a reliable web server using Internet Information Server 5.0 and Windows 2000

4 Session Prerequisites  This session assumes that you understand the fundamentals of:  Basic knowledge of Internet Information Server  This is a level 200 session

5 What You Will Learn Today  Configuration options for process management in IIS 5.0 and when to use them  How to configure your web server to recover automatically  How to use logging and application accounting to tune your web server for optimum reliability

6 How Apps Crash IIS 4.0 Web Service Failure!!!! In Process (INETINFO) Application Out of Process Application 1 Out of Process Application 2

7 Demonstration Running Applications In And Out Of Process In IIS 4.0

8 Enhancements and New Process Management Options in IIS 5.0  Out of process no longer a big performance penalty  Only one good reason to run apps in process  A new option, pooled out of process allows IIS 5.0 to scale

9 Pooled out of Process Application 2 In Process (INETINFO ) Application 1 Application 3 Application Out of Process Application 1 Application Out of Process Application 2 Pooled Out Of Process Pooled out of Process Application 1 Application 2 Application 3 Web Service Still Working!!!

10  In process  Out of process  Pooled out of process Demonstration: Configuring Process Management in IIS 5.0

11 DLL Host WAM Pooled out of Process (DLL Host) Applicatio n WAM WAM In Process (INETINFO ) Applicatio n WAM RPC What’s Changed Under the Hood

12 Memory Consumption

13 Performance

14 Defaults, Tips, and Tricks  Quiz  When should an app run in process?  How does IIS 5.0 handle applications by default?  The default gives you the best protection/performance/scalability tradeoff  Run mission critical apps out of process isolated to insulate them from other apps

15 Questions?

16 What Options Do You Have If The Web Server Crashes?  Issues with IIS 4.0  Stopping all services in INETINFO not intuitive  No consistent way to force a shutdown remotely  Graceful shutdown takes too long  Killing IIS not obvious to admins (not in GUI, have to use Resource Kit)  IIS doesn’t recover automatically from crashes

17 New Restart Options In IIS 5.0  Reliable Restart: IIS automatically recovers  Restarts IIS if INETINFO crashes  Graceful shutdown is faster in all cases  Graceful shutdown is tried first, then kill!  Multiple configuration Options  MMC (GUI) support for novice admins  Command line support for experts, scheduled restarts etc.  Secure remote restart

18 Demonstration How To Configure Reliable Restart In IIS 5.0

19 Defaults, Tips, and Tricks  Defaults to automatic restart  Run nothing in process  Run most applications in pool  If your application is mission critical, run it out of process  Add IISRESET to scripts executed by monitoring software

20 Questions?

21 How To Make IIS 5.0 Work Smarter and More Reliably For You  Logging in IIS 5.0  How to turn it on  What to log  Where to find the logs  What to look at

22 Demonstration How To Enable IIS Logging, And Retrieve The Data

23 Optimizing Your Web Server  Application Accounting: A New Option  Thread Gating: Giving threads to the applications that need them  Process Throttling: CPU Quotas to keep applications from hogging resources

24 Thread Gating  Takes idle threads from an application that isn’t using them and gives them to an app that needs them.  Done automatically by IIS based on a variety of factors

25 Process Throttling  Keeps CGI and Out Of Process apps from hogging resources  Helpful on multi-site servers  Three phases  100 % Log Event  150% Reduce Thread Priority  200% Stop all Out of Process Apps  Enabled at the Web Site level  In Process and Pools not affected

26 Demonstration How To Optimize IIS 5.0 For Reliability Using Application Accounting

27 Defaults, Tips, and Tricks  Turn on process accounting logs  Remember the limitations of Process Throttling  Enabled at Site level  Only Out of Process can be throttled  %CPU usage over time can be tricky  Review logs regularly – find problems before impact you

28 Questions?

29 Scenarios  Small Business  Remote admin requires less support staff  Reliable restart means less after-hours support  Medium Business  Process pools provide better scalability with less hardware  Reliable restart may reduce the need for WLBS  Large Business  Thread Gating and Process Throttling enables faster and safer multi-site hosting  Process Accounting helps you find problematic applications

30 Case Studies Lessons learned from the real world  They will be coming!  Microsoft working with many large clients, and have many lessons learned.  Case studies will be coming, look for them on www.microsoft.com/iis

31 Other Resources  IIS Resource Kit  Web Stress Application (Homer)  NT Resource Kit  Kill  TList  Windows Load Balancing Server  NT Enterprise  Windows 2000 Advanced Server  Windows 2000 Data Center

32 Y2K Status & Strategy  Windows NT 4 Service Pack 5 (8/12/99)  English: 3 Known Y2K issues (NNTP, BIOS Update, and Outlook Express)  Non-English: Same issues as above  All versions compliant pending software updates  See: http://www.microsoft.com/technet/year2k/pro duct/product.asp  Windows 2000 Advanced Server  See the above site after release

33 Summary  Process management and performance in IIS 4 and IIS 5  New application protection options in IIS 5  Reliable Restart  Logging  Application Accounting

34 Questions And Answers

35 For More Information  Refer to the TechNet website at www.microsoft.com/technet/  Microsoft ® Official Curriculum  Course #1557  Course #1562

36 Session Credits  Authors: Bob Carver/Cathy Banks  Producer/Editor: Ken Kubota  Thanks to Our Microsoft Technical Field personnel who reviewed this session:  Cathy Banks  Mark Berman  Kelly DuBois  Scott Swigart

37


Download ppt "Colors In This Template Useful for testing projectors during setup."

Similar presentations


Ads by Google