Microsoft Commerce Server 2009 R2 SP1 Three-Tier Deployment Guide

Microsoft Corporation

Published: March, 2013

Abstract

This document provides step-by-step instructions for deploying Microsoft Commerce Server 2009 R2 SP1 in a three-tier topology with the out-of-the-box SharePoint 2010-based Solution Storefront in the presentation tier.

Contents

Microsoft Commerce Server 2009 R2 SP1 Three-Tier Deployment Guide 5

System Requirements 6

Minimum Hardware Requirements 6

Software Requirements 6

Before You Begin 8

Configure a Domain Account for Running Commerce Server Services 9

Set Up the Application Tier 10

Prerequisites 10

Set Up the Application Tier 11

Installing Commerce Server 2009 R2 SP1 on the Application Tier 11

Configuring Commerce Server 2009 R2 SP1 on the Application Tier 12

Deploying a Commerce Foundation Operation Service on the Application Tier 13

Extracting the WebApplication.zip 13

Force PowerShell to Version 2 14

Modifying the PowerShell Execution Policy to Accept Unsigned Scripts 14

Setting the Environment Script Variables 14

Creating a Commerce Foundation Operation Service Using the Sample Script 15

Changing the Identity of the CommerceServerWebPool to Use a Domain Account 15

Verifying that the Application Pool Setting "Enable 32-Bit Applications" is Set to False for the Commerce Foundation Operation Service 15

Verifying the Commerce Foundation Operation Service 16

Unpacking the Solution Storefront Site 16

Creating Profile Encryption Keys 17

Deploying a Commerce Foundation Operation Service for Use by the Routing Service 18

Configuring Authorization Policies for the Commerce Foundation Operation Services 19

Configuring Authorization for the CommerceClaim and CommerceCache Entities 20

Configuring Authorization for the Catalog and Inventory System Administrator Role 21

Configure Authorization for the Order System Administrator Role 21

Configuring Authorization for the Profile System Administrator Role 22

Performing an IIS Reset 23

Set Up the Presentation Tier 23

Prerequisites 23

Set Up the Presentation Tier 23

Installing Commerce Server 2009 R2 SP1 Presentation Components 23

Force PowerShell to Version 2 25

Deploying the Solution Storefront on the Presentation Server 26

Updating Transport Security Settings for the Solution Storefront 28

Configure Federated Binding for the Routing Service 29

Prerequisites 29

Configuring the Token Issuer Address in Federated Bindings on the Application Tier 29

Updating the <Identity> Section of the Federated Binding Endpoint on the Application tier 30

Retrieving the SharePoint STS Certificate Thumbprints on the Presentation Tier 30

Update Trusted Issuers with Certificate Thumbprints in the Operation Service Web.config file on the Application Tier 31

Establishing Certificate Trust Between SharePoint 2010 on the Presentation Tier and the Commerce Foundation Operation Service on the Application Tier 32

Verifying Routing Service Endpoint Configuration on the Presentation Tier 33

Specifying the Channel and Catalog for the Solution Storefront 33

Validate the Deployment Configuration 34

Microsoft Commerce Server 2009 R2 SP1 Three-Tier Deployment Guide

Welcome to Microsoft Commerce Server 2009 R2 SP1 Three-Tier Deployment Guide.

For the latest version of this document, visit the Microsoft Download Center at http://go.microsoft.com/fwlink/?LinkId=262055.

This guide contains a walkthrough providing detailed, step-by-step instructions to help you install and configure Microsoft Commerce Server 2009 R2 SP1 in a three-tier deployment topology with the out-of-the-box Solution Storefront deployed in the presentation front-end.

This document supports a basic three-tier scenario, where an IT Pro uses sample scripts packaged with Commerce Server 2009 R2 SP1 software to deploy the out-of-the-box Solution Storefront into an existing Microsoft SharePoint 2010 environment.

Upon successful completion of the documented procedures, you will be able to

· Browse the shopper and the business user zone of the Solution Storefront.

· Perform a checkout from the shopper zone.

· Access the Silverlight-based Web Business Tools integrated into the Commerce Server Business Administration Ribbon.

This guide proposes a minimalist approach to a three-tier commerce deployment topology and does not contain information required to customize a complex deployment. The deployment scenario in this guide is based on sample quality deployment scripts which are meant to be viewed as examples or taken as a starting point for deploying your commerce sites. The walkthrough contained in this guide is not intended to provide all of the necessary deployment options (especially with regards to security) that would be expected in a production deployment, and should not be used as such without a thorough understanding of the security requirements of the target environment and appropriate reviewing and planning of all securable areas of a Commerce application deployment. For more advanced guidance information about deploying customized solutions, refer to the Commerce Server 2009 R2 SP1 Help that comes with the product or visit the MSDN library.

This document guides you through the following tasks to install and configure Commerce Server 2009 R2 SP1 in a three-tier topology with the out-of-the-box Solution Storefront deployed on the presentation tier:

1. Review the System Requirements section.

2. Review the Before You Begin section.

3. Configure a Domain Account for Running Commerce Server Services

4. Set up the Application Tier

5. Set up the Presentation Tier

6. Configure Federated Binding for the Routing Service

7. Validate the Deployment Configuration

System Requirements

Before you install and configure Commerce Server 2009 R2 SP1, you must ensure that your system meets minimum hardware and software requirements.

This section provides the following information:

· Minimum Hardware Requirements

· Software Requirements

Minimum Hardware Requirements

The following table lists the minimum hardware requirements for servers hosting Commerce Server 2009 R2 SP1 presentation and Commerce Foundation software components.

Hardware requirements listed in the following table apply to presentation tier servers and application tier servers in a three-tier SharePoint 2010 commerce deployment, with the Solution Storefront deployed on presentation tier.

Component / Minimum Requirement /
Processor / Single 2.5 GHz
RAM / · 4 GB for developer or evaluation purposes
· 8 GB for production use
Storage / NTFS file system-formatted partition with a minimum of 80 GB. In a production environment, maintain twice as much additional free disk space. For more information about capacity management with Microsoft SharePoint 2010, see http://go.microsoft.com/fwlink/?LinkId=211689.
Network / 100 Mbps or higher bandwidth connection between client computers and server
Display / 1024 X 768 or higher resolution monitor

Software Requirements

The following table lists the software requirements for deploying Commerce Server 2009 R2 SP1 in a three-tier topology.

Tier / Component / Requirement /
Data Tier Server
Application Tier Server
Presentation Tier Server / Operating system / One of the following:
· Microsoft Windows Server 2012
· Microsoft Windows Server 2008 R2, 64-bit; or
· Microsoft Windows Server 2008 with Service Pack 2, 64bit
Note
Microsoft Distributed Transaction Coordinator (DTC) must be enabled on data tier and application tier servers. For information on how to enable DTC, see the Before You Begin section.
Note
WebDeploy1.1 is required on the application server hosting the Commerce Foundation. To download the WebDeploy 1.1, go to http://go.microsoft.com/fwlink/?LinkId=220469.
Data Tier Server / Database / · Microsoft Windows Server 2012
· Microsoft SQL Server 2008 R2; or
· Microsoft SQL Server 2008 with Service Pack 1 and Cumulative Update 2
Presentation Tier Server / SharePoint (for SharePoint-based commerce deployment) / · Microsoft SharePoint Server 2010; or
· Microsoft SharePoint Foundation 2010
Microsoft Silverlight / Microsoft Silverlight 4 or Microsoft Silverlight 3 (available from http://go.microsoft.com/fwlink/?LinkId=217621) and the Silverlight Toolkit (available from http://go.microsoft.com/fwlink/?LinkId=178374). This is a prerequisite to use the Business Administration Ribbon that is integrated into the Solution Storefront site.
Application Development (optional) / · Microsoft Visual Studio 2010; or
· Microsoft Visual Studio 2008 with Service Pack 1

Before You Begin

Before you begin deploying Commerce Server 2009 R2 SP1 in a three-tier topology:

1. Confirm that MS DTC is enabled on data tier and application tier servers. For information on how to enable MS DTC, see http://go.microsoft.com/fwlink/?LinkId=221027.

Important

If a firewall is running on those servers, make sure that the ports for MS DTC are enabled.

2. Verify that any previous version of Commerce Server 2009 R2 software has been successfully uninstalled.

3. Confirm that you have administrative privileges on the computers where you are installing Commerce Server 2009 R2 software.

4. Apply hotfix http://support.microsoft.com/kb/2701373 to prevent a known PowerShell error.

5. Confirm that IIS is installed on presentation and application tier servers with the following role services:

In this role service category … / Select these services /
Common HTTP Features / Static Content
Default Document
Directory Browsing
HTTP Errors
Application Development / ASP.NET
.NET Extensibility
ASP
ISAPI Extensions
ISAPI Filters
Health and Diagnostics / HTTP Logging
Request Monitor
Security / Basic Authentication
Windows Authentication
Digest Authentication
Request Filtering
Performance / Static Content Compression
Management Tools / IIS Management Console
IIS Management Scripts and Tools
Management Service
IIS 6 Management Compatibility
Note: If you do not have the IIS 6 Management Compatibility role enabled, setup fails (with an IIS admin privileges error).

For information on how to install IIS , see http://go.microsoft.com/fwlink/?LinkId=220489.

Configure a Domain Account for Running Commerce Server Services

To keep the level of complexity to a minimum, the deployment walkthrough in this guide runs all services under the same identity.

Before you deploy Commerce Server 2009 R2 SP1, create a domain account with administrative privileges on each server in the deployment. Throughout this guide, this identity will be represented by <contoso\user> and used by:

· the Solution Storefront site Web application pool

Important

This account used by the SharePoint Web application must be registered as a managed account in SharePoint 2010.

· the Solution Storefront site collection administrator

· the SharePoint 2010 security token service (STS)

· Commerce Foundation operation service that is used to handle requests from the Solution Storefront application

· Commerce Foundation operation service that is used to handle requests from the routing service (The routing services forwards requests from the Silverlight-based Business Administration Ribbon, a rich Internet application (RIA) integrated to the business user zone of the Solution Storefront site)

The user account created for Commerce Server services must have administrator privileges on the machine where you are deploying Commerce Server.

In addition to having administrator privileges on the machine where you are deploying Commerce Server, this account, which is used to install and initially configure Commerce 2009 R2 SP1, including unpacking the Commerce Server site, must have the following SQL Server roles:

· Server Roles: dbcreator, public, and securityadmin.

Set Up the Application Tier

The application tier in a three-tier commerce deployment hosts the Commerce Foundation component. The application tier is configured to expose Commerce Foundation operation service endpoints to the presentation tier.

In this deployment scenario, two Commerce Foundation operation services are deployed on the application tier server to handle requests coming from the Solution Storefront on the presentation tier.

Prerequisites

· The application tier server meets all hardware and software requirements. See System Requirements.

· WebDeploy 1.1 is installed on the application tier computer. See http://go.microsoft.com/?linkid=9278654.

· To perform the following procedures, log on the application tier server using the identity you configured in Configure a Domain Account for Running Commerce Server Services.

· Before running the Commerce Server Installation Wizard on the server, disable the User Account Control (UAC) feature in Windows Server 2008. For information on how to turn off UAC, see http://go.microsoft.com/fwlink/?LinkId=221002. You must restart Windows after turning off the feature.

Set Up the Application Tier

1. Installing Commerce Server 2009 R2 SP1 on the Application Tier.

2. Configuring Commerce Server 2009 R2 SP1 on the Application Tier.

3. Deploying the Commerce Foundation Operation Service on the Application Tier.

4. Unpacking the Solution Storefront Site.

5. Configuring Profile Encryption Keys.

6. Deploying a Commerce Foundation Operation Service for Use by the Routing Service.

7. Configuring Authorization Policies for the Commerce Foundation Operation Services.

Installing Commerce Server 2009 R2 SP1 on the Application Tier

You can use the Commerce Server 2009 R2 SP1 Installation Wizard to install Commerce Server components on your system.

This procedure assumes that you have installed all pre-requisite software, as listed in Software Requirements.

Important

You must have a minimum of 200MB of free space available on the drive containing your temporary directory, even if you are installing Commerce Server 2009 R2 SP1 on a different drive. The setup program for Commerce Server 2009 R2 SP1 copies temporary files to the drive where your temporary directory is located during initial installation.

To install Commerce Server 2009 R2 SP1 Enterprise

1. Logon to the on to the server with the user account you created in Configure a Domain Account for Running Commerce Server Services
2. To begin the installation, do one of the following:
· If you are accessing the software image from the Commerce Server 2009 R2 SP1 DVD, insert the DVD in the computer drive. The setup program starts automatically.
· If you are accessing the software image on a local drive, go to the appropriate location, open the Setup folder and double-click the Setup.exe file to launch the setup program.
Note
If the setup program detects that any prerequisite software is missing, it displays a message to that effect. Click Close to exit Setup. Install the required software and resume the Commerce Server 2009 R2 SP1 installation.
Important
During setup, the wizard checks for the presence of Microsoft Anti-Cross Site Scripting Library v3.1 on the server. When installing this prerequisite software, select the option to install it for Everyone using this computer.
3. On the opening page, click Install Microsoft Commerce Server 2009 R2 Enterprise Edition on this computer to start the Installation Wizard.
4. On the License Agreement page, read the license agreement, select Yes, I accept the terms of the license agreement, and click Next.
5. On the Component Installation page, the following components are selected by default: Enterprise Edition, Commerce Foundation, and Commerce Foundation Components. Select the following additional components:
· Developer Kits
· Commerce Server Documentation
Note
Some components may not be available for selection if the installation requirements have not been met.
6. Click Next.
7. Click Install.
The Installation Progress page appears. Wait for the installation to complete.
8. On the Installation Completed page, select the Launch the Commerce Server Configuration Wizard option, and click Finish.

Configuring Commerce Server 2009 R2 SP1 on the Application Tier

After you install Commerce Server 2009 R2 SP1, you must run the Commerce Server Configuration Wizard to configure Commerce Server 2009 R2 SP1 components and create database resources. When you run the Configuration Wizard, you specify the user account that will run Commerce Server services and the location of the Administration database.