Thursday, September 26, 2013

Build a SharePoint 2007 Two-Tier Farm on Windows 2003


This posting walks through the process of building a small two-tier SharePoint Server 2007 farm on Windows Server 2003 R2 that can be used for testing and development.  Performed on VMware Workstation 7.X.  Components of this environment will include:
  • Windows Server 2003 R2 Enterprise (trial version)
  • SharePoint Server 2007
  • SQL Server Express version 2005
  • .NET Frameworks 2.0 and 3.0
  • Domain controller
  • DNS server
Building the environment involves the following discrete steps:
  1. Build servers
  2. Configure DC and DNS
  3. Join Domain
  4. Install SQL Server Express
  5. Install SharePoint Server 2007
Step 1: Build Servers
  • Build two Windows Server 2003 R2 Enterprise instances using the clone developed in a previous posting.
  • Launch first server:
    • during mini-setup, set name to spdev21.
  • Launch second server:
    • During mini-setup, set name to spdev23.
Step 2: Configure DC and DNS
  • On the first server (spdev21):
    1. On Manage Your Server, click Add or remove a role.  The Configure Your Server wizard is launched.
    2. Configure domain as AdventureWorks.Com.
    3. After completion, verify that new forward lookup, pointing to this DNS, was automatically created.
    4. Reboot (automatic).
    5. Verify Internet connectivity and access.
    6. From Administrative Tools, launch Active Directory Users and Computers.
    7. Add SharePoint service accounts: sp_admin, sp_web and sp_app.
Step 3: Join Domain
  • On the second server (spdev23):
    1. Configure network adaptor IP and DNS.
    2. Verify Internet connectivity and access.
Step 4: Install SQL Server Express
  1. On spdev21:
    1. Install .NET Framework 2.0 SP2.
    2. Install SQL Server Express (2005).
    3. Add account sp_admin:
      • Add roles: dbcreator, securityadmin.
    4. Add own account as sysadmin.
    5. Note the SQL Server instance name: SPDEV21\SQLEXPRESS.
Step 5: Install SharePoint Server 2007
  1. Install .NET Framework 2.0.
  2. Install .NET Framework 2.0 SP2.
  3. Install .NET Framework 3.0.
  4. Open a command window and navigate to: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727.
  5. Run this command:
    • aspnet_regiis -I
  6. Verify that the SQL Server Browser service is running.  If it isn't, start it.
  7. Perform an installation of SharePoint Server 2007 per a previous posting.
  8. Install WSS SP1 and Office Server 2007 SP1; to version
  9. Reboot (optional).
  10. Install WSS SP2 and Office Server 2007 SP2; to version
  11. Reboot (optional).
  12. Install WSS SP3 and Office Server 2007 SP3.

  • Step 2: no roles were added to the clone template, during the clone template build process for Windows Server 2003 R2 Enterprise.  When adding a role to the machine for the first time, the Configure Your Server wizard will conveniently launch into adding the DC, DNS and DHCP roles.  It will also check the network adaptor settings and conveniently configure DNS forwarding automatically, based upon the settings it detects.
  • Step 4: Windows Server 2003 R2 Enterprise has .NET Framework 2.0 already installed.  Verify this by downloading and running dotNETInspector.
  • Step 5: I'm not sure why yet, but formally installing .NET 2.0 framework adds features and capabilities not originally there, even though Windows Server 2003 R2 is supposed to have .NET 2.0 already installed and this is verified by running .NET Inspector.
  • Step 5: installing a more recent copy of the SharePoint Server 2007 requires not only .NET Framework version 2.0 but also .NET framework version 3.0.
  • Step 5: installation of SP1 isn't necessary as it's rolled up into SP2. However, still good as an exercise.

No comments: