Share via


Walkthrough: Deploying SharePoint 2010 Commerce Solution in a Two-Tier Topology

This walkthrough provides guidance to help information technology professionals with the deployment and configuration of a Microsoft SharePoint 2010 Web application in a two-tier commerce configuration. It is based on the sequence of tasks required to deploy the SharePoint 2010 Solution Storefront using sample scripts and packages provided as part of the SharePoint Commerce Services Extensibility Kit. For information about sample deployments scripts and packages, see Commerce Server Deployment Tools.

Each Microsoft Commerce Server 2009 R2 deployment is unique, based on your specific solution requirements and deployment environments. As a result, all tasks and procedures referenced in this walkthrough topic are provided as guidance only. You can use this guidance to create custom deployment scripts using the prepackaged samples as a starting point.

In a two-tier configuration, Commerce Foundation and Commerce Presentation software components are installed on the same Web server forming the presentation tier. The Commerce Foundation operation service is configured to run in process. The SQL Server databases are hosted on a distinct server to constitute the data tier.

Prerequisites

  • Deployment planning is complete. See Planning a Commerce Deployment.

  • You are familiar with security requirements specific to your network and deployment environment.

  • You have considered firewall port requirements for your deployment. See Securing Your Network with Firewalls and Ports.

  • For a secure deployment, Active Directory and domain controllers are configured. See Domain Trusts in Multiforest Commerce Deployment.

  • User accounts and groups required for your deployment environment are configured. See What Are the Required Accounts and Groups?

  • This documentation assumes that a supported release of Microsoft SharePoint Server 2010 or Microsoft SharePoint Foundation 2010 is deployed on the Web server.

  • The required instances of SQL Server forming the data tier must be set up prior to installing Commerce Server 2009 R2 software. For more information, see Configuring the Database Servers. For a secure deployment, it is recommended that commerce data transmitted between the Commerce Server 2009 R2 site and the Commerce Server 2009 R2 databases be encrypted using Secure Sockets Layer (SSL).

  • SharePoint Commerce Services are deployed on the target server. See Commerce Server Solution Storefront.

  • You have a Commerce Server Site package (<mySite>.pup) ready to deploy. Examples provided in this documentation deploy the prepackaged MicrosoftCommerceDefaultSiteWithSampleData.pup file.

  • To deploy a custom SharePoint 2010 solution, ensure that the solution package files (.wsp files) are available on the target server.

Deploying a SharePoint 2010 Commerce Solution in a Two-Tier Commerce Server Topology

Perform the following tasks and procedures in the order listed below to setup your environment and deploy a customized SharePoint 2010 commerce solution.

  1. Install Commerce Server 2009 R2 software components on the target server and then perform initial configuration to specify the SQL Server instance. The following table lists the software components that are mandatory to deploy a SharePoint 2010 Solution Storefront in a two-tier commerce topology. Based on your deployment environment, you may choose to install additional components.

    Commerce Server 2009 R2 Software component

    Description

    Commerce Foundation:

    Commerce Foundation Components

    Installs the Commerce Server 2009 R2 core systems and the Microsoft Multi-Channel Commerce Foundation.

    Commerce Presentation:

    • Commerce Presentation Components

    • Web Parts and Site Templates

    Installs the Commerce Server 2009 R2 client-side components and SharePoint Commerce Service for integration of a commerce solution into an existing t deployment.

    Developer Kits:

    • Samples

    Installs the Commerce Server 2009 R2 samples scripts and source code packages provided as a starting point for development and deployment.

    Hh567810.alert_note(en-us,CS.95).gifNote:
    Depending on the environment you are setting, this component may not be required.

    Note

    When you launch the Commerce Server 2009 R2 Enterprise Installation Wizard, the option to install the Commerce Server Documentation is selected by default.

    For detailed step-by-step installation instructions, see Installation and Initial Configuration.

  2. Generate encryption keys to protect sensitive properties of the Profile service (such as credit card information). See How to Generate Profile Encryption Keys Using Windows PowerShell.

  3. Unpack a Commerce Server 2009 R2 site. Your site package must include the four core Commerce Server 2009 R2 Web services. To deploy the Solution Storefront, use Commerce Server Manager to unpack the prepackaged MicrosoftCommerceDefaultSiteWithSampleData.pup. See How to Unpack a Site on the Web Servers.

  4. Create a new SharePoint 2010 Web application. The Web application is the container for the site collection required to implement a SharePoint 2010 commerce site. A recommended configuration for a SharePoint 2010 commerce site is to extend the Web application into a total of 2 zones; an internal zone which provides the Web interface for business users to access the site, and an external zone which provides the Web interface for shoppers to access the site storefront. See How to Create and Extend the Commerce Application in SharePoint 2010.

  5. Configure the authentication provider for both the default and the extended zones. See How to Configure the Authentication Provider Using Windows Powershell.

  6. Deploy the SharePoint Solution Packages (WSP files). See How to Deploy a SharePoint 2010 Solution Package Using Windows PowerShell.

  7. Configure the SharePoint 2010 Web application. SharePoint 2010 commerce application configuration consists in adding the Commerce Server Site name, setting attributes, and activating the required Web application-level features. See How to Configure a Web Application for Two-Tier Deployment and to Activate Features Using Windows PowerShell.

  8. Specify IIS settings for single server or multiple server SharePoint 2010 farm deployment. See How to Configure Commerce Foundation Service Endpoint in Two-Tier Topology for SharePoint STS

  9. Create a SharePoint 2010 site collection. See How to Create a Site Collection Using Windows PowerShell.

  10. If your SharePoint 2010 site collection contains site-level features, perform features activation again.

    Warning

    Deactivating and reactivating the Commerce Server Feature in SharePoint 2010 may result in the loss of manually applied settings in the Web.config file. If the SharePoint Solution Packages (WSP) you are deploying contain site customizations requiring Features activation in SharePoint 2010, copy the content of the Web.config file so you can paste it back in after you have reactivated the Commerce Feature in SharePoint 2010.

  11. By default, a routing service configuration is included in Web.config file sample Web application for the internal zone of the Solution Storefront.  If you deploy a rich internet application (RIA) on the external zone, see How to Configure the Commerce Routing Service for a Two-Tier Commerce Deployment. The deployment of a RIA on the external zone is not without risks. See Considerations for Secure Deployment of Rich Internet Applications (RIAs).

  12. For a secure deployment, protect the routing service configuration. See How to Secure a Commerce Routing Service.

  13. For a secure deployment, configure minimum access privileges for Web services. How to Configure Access Privileges to Commerce Foundation Services Using Windows PowerShell.

See Also

Other Resources

Two-Tier Physical Deployment Topology

Two-Tier Commerce SharePoint 2010 Deployment Architecture

Guidance for Deploying SharePoint 2010 Commerce Solution and Content