Archive

Archive for the ‘IIS’ Category

Installing a new Instance of SCCM 2007 SP2 R2

September 30, 2010 3 comments

I am writing this post as I setup a test SCCM virtual infrastructure.  My intended purpose is to document the installation of SCCM 2007 SP2 R2 in Mixed Mode.  It is important to first install with Mixed Mode so you can verify that all services, roles, and functionality work prior to upgrading to Native Mode.  In another post I will document how to upgrade to Native Mode.

This does not have all instructions to get the features, roles, etc. working but lays the foundation for all of this.

Prerequisites:

  • Hyper-V or another virtual platform on a physical device with plenty of resources
  • Test domain on a virtual network with domain services, DNS, and DHCP (example can be found in another post – test virtual infrastructure with Hyper-V)
  • Windows Server 2008 R2 source files, build process, or image
  • SQL Server 2008 R2 Enterprise source files
  • SCCM 2007 RTM source files*
  • SCCM 2007 SP2 source files*
  • SCCM 2007 R2 source files
  • SCCM Service Account in the domain it will be installed in (i.e. DOMAIN\SCCM_Service) – this does not need any additional domain rights other than Domain User

*SCCM 2007 SP2 is a service pack release and must be applied to an earlier version of SCCM 2007

Instructions:

Create a SCCM Primary server VM:

  1. Create a VM intended for SCCM which will have Windows Server 2008 R2 on the virtual test network (you can reference test virtual infrastructure with Hyper-V for instructions on VM creation if needed)
  2. Additionally the VM should have a 20GB virtual disk for the OS (C:\), 20GB virtual disk for applications (E:\), 20GB virtual disk for SCCM and associated data (F:\), 10GB virtual disk for SQL Data (G:\), and 10GB virtual disk for SQL logs (H:\)
  3. Turn off “Windows Firewall” from the “Control Panel”
  4. Install Windows updates and reboot
  5. Join the VM to the test domain and reboot

Install SQL 2008 R2:

  1. Run the setup – if prompted to enable the .NET Core click on “OK”
  2. Click on “New installation or add features to an existing installation”
    image
  3. All support rules should pass – click “OK”
    image
  4. The product key should already be populated – click “Next”
    image
  5. Put a check next to “I accept the license terms” – click “Next”
    image
  6. Click “Install”
    image
  7. Wait for the support files to install
    image
  8. Resolve any issues and click on “Next”
    image
  9. Select “SQL Server Feature Installation” – click “Next”
    image
  10. Check “Database Engine Services”, “Reporting Services” and “Management Tools – Complete” and change the “Shared feature directory” and “Shared feature directory (x86)” to use drive E:\ (the application drive) – click “Next”
      image
  11. Click “Next”
    image
  12. Click “Next”
    image
  13. Click “Next”
    image
  14. Change “SQL Server Agent” and SQL Server Database Engine” to use SYSTEM and “SQL Server Reporting Services” to use LOCAL SYSTEM and then click “Next”
    image
  15. Click “Add Current User” and then click on the Data tab
    image
  16. Change location in the top field to G:\Data
    image
  17. Click “Next”
    image
  18. a
    image
  19. Click “Next”
    image
  20. Click “Install”
    image
  21. The installation will begin
     image
  22. Click “Close”
    image

Add Roles and Services:

  1. In “Server Manager” click on “Roles” in the left pane and then “Add Roles” on the right pane
    image
  2. Click “Next”
    image
  3. Click “Web Server (IIS)”
     image
  4. Click “Next”
     image
  5. Put a check next to “ASP.NET”
    image
  6. Click “Add Required Role Services”
    image
  7. Put a check next to “WebDAV Publishing” 
     image
  8. Put a check next to “IIS 6 WMI Compatibility”
     image
  9. Click “Install”
    image
  10. The installation will start
    image
  11. Click “Close”
    image
  12. In “Server Manager” click on “Features” in the left pane and then “Add Features” on the right pane
    image
  13. Put a check next to “Background Intelligent Transfer Service (BITS)”
    image
  14. Click “Add Required Role Services”
    image
  15. Put a check next to “Remote Differential Compression” and click “Next”
    image
  16. Click “Next”
    image
  17. Click “Next”
     image
  18. Click “Install”
    image
  19. The installation will start
    image
  20. Click “Close”
    image 

Extend the AD Schema:

  1. In the source media you will find “extadsch.exe” in “\SMSSETUP\BIN\I386\”
  2. Using an account with Domain Administrator privileges run this from a command line 
    image

Configure WebDAV:

  1. Open IIS, select the “Default Web Site”, and double click on “WebDav Authoring Rules”
     image
  2. On the right pane select “Add Authoring Rule…”
    image
  3. Mark “All Content”, “All Users”, “Read” and then click “OK”
    image
  4. Click on “WebDAV Settings…”
     image
  5. Change “Allow Anonymous Property Queries” to “False”, click “Apply” and then “WebDAV Authoring Rules”
     image
  6. Click on “Enable WebDAV” and close IIS

Install SCCM 2007 RTM:

  1. Run “Splash.hta” from the source files
    image
  2. Click on “Configuration Manager 2007”
      image
  3. Click “Next”
      image
  4. Verify that “Install a Configuration Manager site server” is selected and click “Next”
      image
  5. Put a check next to “I accept…” and then click “Next”
      image
  6. Verify that “Custom Settings” is selected and click “Next”
      image
  7. Verify that “Primary site” is selected and click “Next”
    image
  8. Click “Next”
    image
  9. Click “Next”
    image
  10. Change the drive letter to F:\ and click “Next”
    image
  11. Provide a 3 character site code and a site name and then click “Next”
    image
  12. Mark “Configuration Manager Mixed Mode” and then click “Next” (remember we want mixed mode first to verify that all the components work before Native Mode")
    image
  13. Click “Next”
    image
  14. Click “Next”
    image
  15. Click “Next”
    image
  16. Select “Do not install a management point” and then click “Next” (ideally for a larger infrastructure you would use another server for this role)
    image
  17. Click “Next” (did you remember to disable the firewall?)
    image
  18. Click “Next”
    image
  19. Create a folder on F:\ named “SCCM_Updates” and then specify this in the installation wizard and click “Next”
    image
  20. The updates will download
    image
  21. Click “OK”
    image
  22. Click “Next”
    image
  23. Setup will evaluate the server
    image
  24. Remediate any issues and then click “Begin Install” (there should not be any if you followed all of the instructions)
    image
  25. The installation will begin
    image
  26. Click “Next”
    image
  27. Click “Finish”
    image 
     

Install SCCM 2007 SP2:

  1. Uninstall “Windows Automated Installation Kit” from “Programs and Features” and reboot
  2. Download and install “Microsoft Deployment Toolkit 2010 Update 1” on drive E:\ from download.microsoft.com
  3. Open the “Deployment Workbench”, expand “Information Center” and click on “Components”
    image
  4. Download and install “Windows Automated Installation Kit (x64)” on drive E:\
    image
    image
  5. Run “Splash.hta” from the source files
    image
  6. Click on “Configuration Manager 2007 SP2”
    image
  7. Click “Next”
    image
  8. Verify that “Upgrade an existing…” is selected and then click “Next”
    image
  9. Put a check next to “I accept…” and then click “"Next”
    image
  10. Click “Next”
    image
  11. Delete the contents in “F:\SCCM_Updates” and then click “Next”
    image
  12. Specify “F:\SCCM_Updates” and then click “Next”
    image
  13. Click “OK” when the downloads are done
    image
  14. Click “Next”
    image
  15. Remediate any issues and then click “Begin Install”
    image
  16. The installation will start
    image
  17. Click “Next”
    image
  18. a
    image 

Install SCCM 2007 R2:

  1. Run “Splash.hta” from the source files
    image
  2. Click on “Configuration Manager 2007 R2”
    image
  3. Windows Installer will start
    image
  4. Click “Next”
    image
  5. Select “I accept…” and then click “Next”
    image
  6. Click “Next”
    image
  7. Click “Next”
    image
  8. The installation will start
    image
  9. Click “Finish”
    image 

App-V, SCCM, & IIS 7.0 Error Codes

Problem
I integrated App-V with SCCM (which is pretty cool).  However, I was having problems with a few of my virtual application packages downloading to the local clients.  To troubleshoot this I had to investigate the IIS log files.  In my particular situation I found that there was a problem with a couple of file extensions with the error 404.7 (file extension denied) which is shown in the line from the log file below.

Example
2010-07-26 14:22:48 10.126.100.242 HEAD /SMS_DP_SMSPKGH$/ABC002EA/VFS/CSIDL_WINDOWS/Installer/$PatchCache$/Managed/00002109110000000000000000F01FEC/12.0.4518/PPSLAX.DLL.2.config – 80 – x.x.x.x Microsoft+BITS/7.5 404 7 0 210

Resolution
In the example there is a reference to a file with the extension of .config which is denied.  To fix this I referenced TechNet to fix the ApplicationHost.Config file found below.

Use the following procedure to modify requestFiltering for Windows Server 2008 and Windows Server 2008 R2.

  1. Open the applicationHost.config file located in the %Windir%System32InetsrvConfig directory on distribution points that are enabled for Allow clients to transfer content from this distribution point using BITS, HTTP, and HTTPS.
  2. Search for the <requestFiltering> section.
  3. Determine the file extensions that you will have in the packages on that distribution point. For each file extension that you require, change allowed to true.
    For example, if your package will contain a file with an .mdb extension, change the line <add fileExtension=".mdb" allowed="false" /> to <add fileExtension=".mdb" allowed="true" />.
    Allow only the file extensions required for your packages.
  4. Save and close the applicationHost.config file.

Reference
IIS 7.0 Error Codes: http://support.microsoft.com/kb/943891 
ApplicationHost.Config Fix: http://technet.microsoft.com/en-us/library/cc431377.aspx

Categories: IIS
%d bloggers like this: