Tuesday 11 February 2014

Configure SharePoint Server 2013 in a Three-Tier Farm

overview

In SharePoint Server 2013 functionality in a three-tier farm is deployed by using the following:

  • One computer running Windows® Server® 2008 R2 Enterprise Edition with Service Pack 1 named DC1 that is configured as an intranet domain controller, Domain Name System (DNS) server, DHCP server, and enterprise root certification authority (CA).
  • One intranet member server running Windows Server 2008 R2 Enterprise Edition with Service Pack 1 named SQL1 that is configured as a SQL database server.
  • One intranet member server running Windows Server 2008 R2 Enterprise Edition with Service Pack 1 named APP1 that is configured as the SharePoint Server 2013 application server.
  • One intranet member server running Windows Server 2008 R2 Enterprise Edition with Service Pack 1 named WFE1 that is configured as the SharePoint front-end web server.
  • One member client computer running Windows 7 Enterprise or Ultimate named CLIENT1.

The SharePoint Server 2013 consists of a single subnet named Corpnet (10.0.0.0/24) that simulates a private intranet. Computers on the Corpnet subnet connect by using a hub or switch. See the following figure.

Hardware and software requirements

The following are required components:

If the computers are being hosted in a Hyper-V-based virtualized environment, see the following topics for more information:

Steps for Configuring the SharePoint Server 2013 Three-Tier Test Lab
There are seven steps to follow when setting up the SharePoint Server 2013 three-tier test lab.

  1. Set up the Base Configuration test lab.
  2. Install and configure a new server named SQL1.
  3. Install SQL Server 2012 on SQL1.
  4. Install SharePoint Server 2013 on APP1.
  5. Install and configure a new server named WFE1.
  6. Install SharePoint Server 2013 on WFE1.
  7. Demonstrate the facilities of the default Contoso team site.

Note

You must be logged on as a member of the Domain Admins group or a member of the Administrators group on each computer to complete the tasks described in this guide. If you cannot complete a task while you are logged on with an account that is a member of the Administrators group, try performing the task while you are logged on with an account that is a member of the Domain Admins group.

The following sections provide details about how to perform these steps.

Step 1: Set up the Base Configuration

Set up the Base Configuration test lab for the Corpnet subnet using the procedures in the “Steps for Configuring the Corpnet Subnet” section of the Base Configuration.
When you install and configure the servers in the base configuration test lab, Windows Server 2008 R2 Service Pack 1 is installed.

Step 2: Install and configure a new server named SQL1

In this procedure, you install the Windows Server 2008 R2 operating system and the latest updates on a new server named SQL1.

To install Windows Server 2008 R2 on SQL1

  1. Start the installation of Windows Server 2008 R2.
  2. Follow the instructions to complete the installation, specifying Windows Server 2008 R2 Enterprise Edition (full installation), the computer name SQL1, and a strong password for the local Administrator account.
  3. Once the installation completes, log on using the local Administrator account.
  4. Connect SQL1 to a network that has Internet access and run Windows Update to install the latest updates for Windows Server 2008 R2, including Windows Server 2008 R2 Service Pack 1.
  5. Once the updates are complete, restart SQL1 and log on as the local Administrator.
  6. Connect SQL1 to the Corpnet subnet.

In this procedure, you configure the TCP/IP properties on SQL1 so that it can join the corp.contoso.com domain.

To configure the TCP/IP properties on SQL1


  1. In Initial Configuration Tasks, click Configure networking.
  2. In the Network Connections window, right-click Local Area Connection, and then click Properties.
  3. Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.
  4. Select Use the following IP address. In IP address, type 10.0.0.4. In Subnet mask, type 255.255.255.0. In Default Gateway, type 10.0.0.1. In Preferred DNS server, type 10.0.0.1.
  5. Click Advanced, and then click the DNS tab. In DNS suffix for this connection, type corp.contoso.com, click OK twice, and then click Close.
  6. Close the Network Connections window and leave the Initial Configuration Tasks window open.
  7. To check name resolution and network communication between SQL1 and DC1, click Start, click All Programs, click Accessories, and then click Command Prompt.
  8. In the Command Prompt window, type ping dc1.corp.contoso.com.
  9. Verify that there are four replies from 10.0.0.1.
  10. Close the Command Prompt window.

In this procedure, you join SQL1 to the corp.contoso.com domain.

To join SQL1 to the corp.contoso.com domain


  1. In Initial Configuration Tasks, click Provide Computer Name and Domain.
  2. In the System Properties dialog box, on the Computer Name tab, click Change.
  3. In Member of, click Domain, type corp.contoso.com, and then click OK.
  4. When you are prompted for a user name and password, type User1 and its password, and then click OK.
  5. When you see a dialog box welcoming you to the corp.contoso.com domain, click OK.
  6. When you are prompted that you must restart the computer, click OK.
  7. On the System Properties dialog box, click Close.
  8. When you are prompted to restart the computer, click Restart Now.
  9. After the computer restarts, click Switch User, and then click Other User and log on to the CORP domain with the User1 account.
  10. In Initial Configuration Tasks, click Do not show this window at logon, and then click Close.

Step 3: Install SQL Server 2012 on SLQ1

Install and configure SQL Server 2012 on SQL1 as described in Steps 2, 3, and 4 of the SQL Server 2012, substituting SQL1 for APP1 in the instructions.

Alternately, you can use SQL Server 2008 R2. In this case, install and configure SQL Server 2008 R2 on SQL1, as described in Steps 2, 3, and 4 of the SQL Server 2008 R2, substituting SQL1 for APP1 in the instructions.

Note

If you are building out the Business Intelligence, you must install SQL Server 2012 on SQL1. You cannot use SQL Server 2008 R2 on SQL1.
In this procedure, you configure the inbound rule in Windows Firewall with Advanced Security to allow incoming traffic to the SQL Server service.

To configure the Windows Firewall for an inbound rule

  1. On SQL1, log on using the User1 user account.
  2. From the desktop, click Start, point to Administrative Tools, and then click Windows Firewall with Advanced Security.
  3. In the tree pane, click Inbound Rules, right-click Inbound Rules, and then click New Rule.
  4. On the Rule Type page, click Port, and then click Next.
  5. On the Protocols and Ports page, type 1433-1434 in Specific local ports, and then click Next.
  6. On the Action page, click Next.
  7. On the Profile page, click Next.
  8. On the Name page, type SQL Server TCP ports in Name, and then click Finish.

Step 4: Install SharePoint Server 2013 on APP1

In this procedure, you install the prerequisite software components for SharePoint Server 2013 on APP1.

  1. On APP1, log on using the User1 user account.
  2. Connect APP1 to a network that has Internet access and configure the TCP/IP protocol on the Local Area Connection as needed. The SharePoint Server 2013 prerequisite installer must download and install components from the Microsoft Download Center. For example, if the network that has access to the Internet uses DHCP, configure the Internet Protocol version 4 (TCP/IPv4) component from the properties of the Local Area Connection in the Network Connections folder to use automatic addressing and to automatically configure a DNS server.
  3. On APP1, navigate to the location that contains the SharePoint Server 2013 installation files and double-click default.hta.
  4. On the SharePoint 2013 page, click Install software prerequisites.
  5. On the Welcome to the Microsoft SharePoint Products Preparation Tool page, click Next.
  6. On the License Terms for software product page, review the terms, select the I accept the terms of the License Agreement(s) check box, and then click Next.
  7. On the Installation Complete page, click Finish.
    • The computer might restart to install some of the prerequisites. After it does the Products Preparation Tool will run again and install the remaining prerequisites. The computer must be restarted again to install these prerequisites.
  8. On the Installation Complete page, click Finish.
  9. In this procedure, you prepare DC1 and SQL1 for the installation of SharePoint Server 2013 on APP1.

To prepare DC1 and SQL1

  1. On DC1, click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
  2. In the console tree, open corp.contoso.com, right-click Users, point to New, and then click User.
  3. In the New Object - User dialog box, in Full name, type SPFarmAdmin, and in User logon name, type SPFarmAdmin.
  4. Click Next.
  5. In Password and in Confirm password, type P@ssword1.
  6. Clear User must change password at next logon.
  7. Click Next, and then click Finish.
  8. On SQL1, log on with the User1 account.
  9. Click Start, click All Programs, click Microsoft SQL Server 2012, and then click SQL Server Management Studio.
  10. In Connect to Server, click Connect.
  11. In SQL Server Management Studio, in the tree pane, open Security.
  12. Right-click Logins, and click New Login.
  13. In Login – New, type CORP\SPFarmAdmin in Login name.
  14. In the Select a page pane, click Server Roles.
  15. In the Server Roles pane, select dbcreator, and then click OK.
  16. Close SQL Server Management Studio.
In this procedure, you install SharePoint Server 2013 on APP1.

To install SharePoint Server 2013

  1. Connect APP1 to the Corpnet subnet and configure the TCP/IP protocol on the Local Area Connection as needed. For example, configure the Internet Protocol version 4 (TCP/IPv4) component from the properties of the Local Area Connection in the Network Connections folder to use the address 10.0.0.3 with a subnet mask of 255.255.255.0 and the preferred DNS server of 10.0.0.1.
  2. Click the Server Manager icon. In Security Information, click Configure IE ESC.
  3. In the Internet Explorer Enhanced Security Configuration dialog box, click Off in Administrators, click Off in Users, and then click OK.
  4. Close Server Manager.
  5. Navigate to the location that contains the SharePoint Server 2013 installation files and double-click default.hta.
  6. On the SharePoint 2013 page, click Install SharePoint Server.
  7. On the Enter Your Product Key page, enter your product key as needed, and then click Continue. For the 180-day trial version of SharePoint Server 2013, use the product key NQTMW-K63MQ-39G6H-B2CH9-FRDWJ.
  8. On the Read the Microsoft Software License Terms page, review the terms, select the I accept the terms of this agreement check box, and then click Continue.
  9. On the Server Type tab, click Complete, and then click Install Now.
  10. When Setup finishes, a dialog box prompts you to complete the configuration of your server. Ensure that the Run the SharePoint Products and Technologies Configuration Wizard now check box is selected, and then click Close to start the configuration wizard.
  11. On the Welcome to SharePoint Products page, click Next.
  12. In the dialog box that notifies you that some services might need to be restarted during configuration, click Yes.
  13. On the Connect to a server farm page, click Create a new server farm, and then click Next.
  14. On the Specify Configuration Database Settings page, type sql1.corp.contoso.com in Database server, type CORP\SPFarmAdmin in User name, type P@ssword1 in Password, and then click Next.
  15. On the Specify Farm Security Settings page, type P@ssphrase in both Passphrase and Confirm passphrase, and then click Next.
  16. On the Configure SharePoint Central Administration Web Application page, click Next.
  17. On the Completing the SharePoint Products Configuration Wizard page, click Next.
  18. On the Configuration Successful page, click Finish. Internet Explorer launches with a tab named Initial Farm Configuration Wizard.
  19. In the Help Make SharePoint Better dialog box, click No, I don’t wish to participate, and then click OK.
  20. For How do you want to configure your SharePoint farm?, click Start the Wizard.
  21. On the Configure your SharePoint farm page, in Service account, click Use existing managed account.
  22. In Services, clear all the check boxes except the box next to State Service, and then click Next. The Working on it page might display for a while before it completes.
  23. On the Create Site Collection page, click Skip.
  24. On the This completes the Farm Configuration Wizard page, click Finish. The Internet Explorer tab shows the SharePoint 2013 Central Administration site.
  25. From Central Administration, click Configure alternate access mappings under System Settings.
  26. Click the http://app1 internal URL.
  27. In URL, protocol, host and port, type http://wfe1/, click OK, and then click Central Administration.

Step 5: Install and configure a new server named WFE1

In this procedure, you install the Windows Server 2008 R2 operating system and the latest updates on a new server named WFE1.

To install Windows Server 2008 R2 on WFE1

  1. Start the installation of Windows Server 2008 R2.
  2. Follow the instructions to complete the installation, specifying Windows Server 2008 R2 Enterprise Edition (full installation), the computer name WFE1, and a strong password for the local Administrator account.
  3. Once the installation completes, log on using the local Administrator account.
  4. Connect WFE1 to a network that has Internet access and run Windows Update to install the latest updates for Windows Server 2008 R2, including Windows Server 2008 R2 Service Pack 1.
  5. Once the updates are complete, restart WFE1 and log on as the local Administrator.
  6. Connect WFE1 to the Corpnet subnet.
In this procedure, you configure the TCP/IP properties on WFE1 so that it can join the corp.contoso.com domain.

To configure the TCP/IP properties on WFE1

  1. In Initial Configuration Tasks, click Configure networking.
  2. In the Network Connections window, right-click Local Area Connection, and then click Properties.
  3. Click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.
  4. Select Use the following IP address. In IP address, type 10.0.0.5. In Subnet mask, type 255.255.255.0. In Default Gateway, type 10.0.0.1. In Preferred DNS server, type 10.0.0.1.
  5. Click Advanced, and then click the DNS tab. In DNS suffix for this connection, type corp.contoso.com, click OK twice, and then click Close.
  6. Close the Network Connections window and leave the Initial Configuration Tasks window open.
  7. To check name resolution and network communication between WFE1 and DC1, click Start, click All Programs, click Accessories, and then click Command Prompt.
  8. In the Command Prompt window, type ping dc1.corp.contoso.com.
  9. Verify that there are four replies from 10.0.0.1.
  10. Close the Command Prompt window.
In this procedure, you join WFE1 to the corp.contoso.com domain.

To join WFE1 to the corp.contoso.com domain

  1. In Initial Configuration Tasks, click Provide Computer Name and Domain.
  2. In the System Properties dialog box, on the Computer Name tab, click Change.
  3. In Member of, click Domain, type corp.contoso.com, and then click OK.
  4. When you are prompted for a user name and password, type User1 and its password, and then click OK.
  5. When you see a dialog box welcoming you to the corp.contoso.com domain, click OK.
  6. When you are prompted that you must restart the computer, click OK.
  7. On the System Properties dialog box, click Close.
  8. When you are prompted to restart the computer, click Restart Now.
  9. After the computer restarts, click Switch User, and then click Other User and log on to the CORP domain with the User1 account.
  10. In Initial Configuration Tasks, click Do not show this window at logon, and then click Close.
In this procedure, you install the Web Server (IIS) server role on WFE1.

To install the Web Server (IIS) server role on WFE1

  1. In the console tree of Server Manager, click Roles. In the details pane, click Add Roles, and then click Next.
  2. On the Select Server Roles page, select Web Server (IIS), and then click Next three times.
  3. Click Install.
  4. Verify that the installation was successful, and then click Close.

Step 6: Install SharePoint Server 2013 on WFE1

In this procedure, you install the prerequisite software components for SharePoint Server 2013 on WFE1.

To install the SharePoint Server 2013 prerequisite software

  1. On WFE1, log on using the User1 user account.
  2. Click the Server Manager icon. In Security Information, click Configure IE ESC.
  3. In the Internet Explorer Enhanced Security Configuration dialog box, click Off in Administrators, click Off in Users, and then click OK.
  4. Close Server Manager.
  5. Connect WFE1 to a network that has Internet access and configure the TCP/IP protocol on the Local Area Connection as needed. The SharePoint Server 2013 prerequisite installer must download and install components from the Microsoft Download Center. For example, if the network that has access to the Internet uses DHCP, configure the Internet Protocol version 4 (TCP/IPv4) component from the properties of the Local Area Connection in the Network Connections folder to use automatic addressing and to automatically configure a DNS server.
  6. On WFE1, navigate to the drive or folder that contains the SharePoint Server 2013 installation files and double-click default.hta.
  7. On the SharePoint Server 2013 Start page, click Install software prerequisites.
  8. On the Welcome to the Microsoft SharePoint 2013 Products Preparation Tool page, click Next.
  9. On the License Terms for software product page, review the terms, select the I accept the terms of the License Agreement(s) check box, and then click Next.
  10. On the Installation Complete page, click Finish.
  11. The computer might restart to install some of the prerequisites. After it does the Products Preparation Tool will run again and install the remaining prerequisites. The computer must be restarted again to install these prerequisites.
  12. On the Installation Complete page, click Finish.
In this procedure, you install SharePoint Server 2013 on WFE1 and join the existing SharePoint farm.

To install SharePoint Server 2013

  1. Connect WFE1 to the Corpnet subnet and configure the TCP/IP protocol on the Local Area Connection as needed. For example, configure the Internet Protocol version 4 (TCP/IPv4) component from the properties of the Local Area Connection in the Network Connections folder to use the address 10.0.0.5 with a subnet mask of 255.255.255.0 and the preferred DNS server of 10.0.0.1.
  2. On the SharePoint Server 2013 Start page, click Install SharePoint Server.
  3. On the Enter Your Product Key page, enter your product key as needed, and then click Continue. For the 180-day trial version of SharePoint Server 2013, use the product key NQTMW-K63MQ-39G6H-B2CH9-FRDWJ.
  4. On the Read the Microsoft Software License Terms page, review the terms, select the I accept the terms of this agreement check box, and then click Continue.
  5. On the Server Type tab, click Complete, and then click Install Now.
  6. When Setup finishes, a dialog box prompts you to complete the configuration of your server. Ensure that the Run the SharePoint Products and Technologies Configuration Wizard now check box is selected.
  7. Click Close to start the configuration wizard.
  8. On the Welcome to SharePoint Products page, click Next.
  9. In the dialog box that notifies you that some services might need to be restarted during configuration, click Yes.
  10. On the Connect to a server farm page, click Connect to an existing server farm, and then click Next.
  11. On the Specify Configuration Database Settings page, type sql1.corp.contoso.com in Database server, and then click Retrieve Database Names.
  12. Click SharePoint_Config in the Database name list, and then click Next.
  13. On the Specify Farm Security Settings page, type P@ssphrase in Passphrase, and then click Next.
  14. On the Completing the SharePoint Products Configuration Wizard page, click Next.
  15. On the Configuration Successful page, click Finish. The Internet Explorer tab shows the SharePoint 2013 Central Administration site. Leave Internet Explorer open.
  16. On APP1, in the Internet Explorer window for SharePoint Central Administration, in System Settings, click Manage servers in this farm and verify that WFE1 is part of the farm.
  17. On WFE1, from Internet Explorer and the Central Administration tab, for How do you want to configure your SharePoint farm?, click Start the Wizard. The Working on it page might display for a while before it completes and you might have to start the wizard again.
  18. On the Configure your SharePoint farm page, click Next.
  19. On the Create Site Collection page, in Title and description, type Contoso Corporation in Title, from the URL list select “/”, and then click OK.
    1. This step creates a team site at the URL http://wfe1.
  20. On the This completes the Farm Configuration Wizard page, click Finish.
The Internet Explorer tab shows the SharePoint 2013 Central Administration site, from which you can configure and manage the SharePoint server.

Step 7: Demonstrate the Facilities of the Default Contoso Team Site

In this procedure, you click through the default SharePoint facilities and resources for the Contoso Corporation team site at http://wfe1/.

To see the facilities of the default Contoso Corporation team site

  1. Attach CLIENT1 to the Corpnet subnet, and then log on with the User1 account.
  2. Start Internet Explorer on CLIENT1.
  3. In the Address bar, type http://wfe1/ and then press ENTER.
    • You should see a SharePoint team site for the Contoso Corporation. The site might take a while to render.
  4. To add a new page to the site, click Site Contents on the Quick Launch, click the Site Pages icon, and then click New wiki page.
  5. In New page item box, type the name of the page, and click Create.
  6. Type the new page contents, and then click Save.
  7. Click Home on the Quick Launch to return to the home page of the Contoso Corporation team site.
  8. To add a site to the site collection, click Site Contents on the Quick Launch, and then click New subsite.
  9. In New SharePoint Site, configure the title, description, web site address, template, permissions and navigation settings, and then click Create.
  10. On the Home page of the Contoso Corporation site, click Documents on the Quick Launch or Documents below the Get started with your site section.
    • This is a list of shared documents that you can work on together. Multiple users can work on each document in a central location, which makes document collaboration much easier that sending files around in email. You can click New document to add a new document to the list of shared documents.
  11. Click Home on the Quick Launch.
  12. In the Get started with your site section, click Working on a deadline?.
  13. In the Working on a deadline dialog box, click Add Them to add the Calendar and Tasks apps to your site.
  14. To access the calendar, click Calendar on the Quick Launch.
    • This is a shared team calendar that can be used to manage and share events across your team. You can point to a day and then click Add to add a calendar event.
  15. Click Home on the Quick Launch.
  16. To access the task list, click Tasks on the Quick Launch.
This is a shared team task list that can be used to manage and share tasks across your team. You can click New task to add a task.

Snapshot the Configuration

This completes the SharePoint Server 2013 three-tier . To save this configuration so that you can quickly return to a working configuration from which you can test other SharePoint TLGs or test lab extensions or for your own experimentation and learning, do the following:
  1. On all physical computers or virtual machines in the test lab, close all windows and then perform a graceful shutdown.
  2. If your lab is based on virtual machines, save a snapshot of each virtual machine and name the snapshots SP2013ThreeTier. If your lab uses physical computers, create disk images to save the SharePoint Server 2013 three-tier test lab configuration.

8 comments: