Wednesday, December 8, 2010

Installing the SCOM web console on Server 2008 R2 the easy way

I frequently help customers install or rebuild their SCOM environment.  I find it difficult to remember every feature and sub feature required for the web console.  The SCOM documentation doesn’t specifically list which roles and features are needed to install the web console on Server 2008 and 2008 R2. 


One way to get the list of needed roles and features for the Web Console is the run the Prerequisite Viewer.
Web1
I then select more, under “Microsoft World Wide Web Service should be running and set to automatic startup mode
Win2
Here is what it says:
For Windows Server 2008, you must add the Web Server (IIS) role and then install the following server role services:
  • IIS 6 Metabase Compatibility
  • IIS 6 WMI Compatibility
  • Static Content
  • Default Document
  • Directory Browsing
  • HTTP Errors
  • ASP.NET
  • .NET Extensibility
  • ISAPI Extensions
  • ISAPI Filters
  • Request Filtering
  • Windows Authentication

I could go to Server Manager and add the individual roles and features, but I am running Server 2008 R2 so lets make it super simple with PowerShell V2. 

1.  Launch the PowerShell command prompt
powershel
2.  Run this command
Import-Module ServerManager
3. Press Enter
4. Run this command
Add-WindowsFeature NET-Framework-Core,Web-Metabase,Web-WMI,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Filtering,Web-Windows-Auth –restart
5. Press Enter
powershell4
I then see
powershell5
Now all I need to do is install the ASP.NET Ajax Extensions 1.0 from here http://go.microsoft.com/fwlink/?LinkID=89064&clcid=0×409