Loading...

Sitecore 9 - Multi Server Installation - Part 4 - Web Server Setup

This is Part 4 and final part in Sitecore 9 - Multi Server Installation series and in this blog I will go through steps how to setup a dedicated Web server.

Sitecore 9 introduces xConnect, which is the service layer that sits in between xDB and any trusted client, device, or interface that wants to read, write, or search xDB data.

Communication must happen over HTTPS and clients must have appropriate certificate thumbprint.

We are installing both Sitecore and xConnect on the same web server. Follow the steps below.

Steps

  1. Prerequisites for using Sitecore Installation Framework
    Make sure all of the following is installed on the web server:
  2. Install Sitecore Installation Framework
    • Launch PowerShell as an administrator
    • Enter and run following:
      
      # Add the Sitecore MyGet repository to PowerShell
      Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2
      # Install the Sitecore Install Framwork module
      Install-Module SitecoreInstallFramework
      # Install the Sitecore Fundamentals module (provides additional functionality for local installations like creating self-signed certificates)
      Install-Module SitecoreFundamentals
      # Import the modules into your current PowerShell context (if necessary)
      Import-Module SitecoreFundamentals
      Import-Module SitecoreInstallFramework
      
      
    • Confirm Untrusted repositories and select [A] Yes to All
    • Validate the installation by typing the following. If everything is good you are good to go to the next step.
      
      Get-Module SitecoreInstallFramework –ListAvailable
      
      
      You should see something like this
  3. Create certificate for xConnect
    (In production new certificate will have to be purchased and setup but for development and testing we can generate a new certificate locally)
    • Edit xconnect-createcert.ps1 script and make sure you update variables for your environment. $prefix has to be the same as the one used when creating Solr cores on Solr server.

    • Launch PowerShell as an administrator and execute following script to generate a new certificate for xConnect
      
      .\xconnect-createcert.ps1
      
      
    • Certificates are generated in c:\certificates folder by default. Make sure your certificate is present.
  4. Install Sitecore and xConnect
    • Edit install-custom.ps1 script and make sure you update variables for your environment. $prefix has to match other 2 scripts
    • We are now ready to install Sitecore 9. To start Sitecore 9 installation execute following script
      
      .\install-custom.ps1
      
      
    • After installation is completed successfully, go to the following url to verify Sitecore is installed.
      http://$prefix.sc/sitecore (replace $prefix with whatever you used)
  5. Confirm xConnect certificate
    • To ensure proper configuration has been established you should confirm certificate thumbprint for xConnect in the connectionStrings.config. Thumbprint value in connectionStrings.config should be UPPERCASE as shown in the screenshots below.

Scripts

All scripts used in this series are available in the GitHub repository. You will have to download Sitecore 9 packages from Sitecore Experience Platform 9.0 Update-1 page.

Possible Issues and Fixes

This is the list of possible issues during and after the Sitecore 9 installation and info on how to resolve them.

Summary

This blog concludes Sitecore 9 - Multi Server Installation series.

 

 

Disclaimer
This is a personal blog. The opinions expressed here represent my own and not those of people, institutions or organizations that the owner may or may not be associated with in professional or personal capacity, unless explicitly stated.. In addition, my thoughts and opinions change from time to time I consider this a necessary consequence of having an open mind. This blog disclaimer is subject to change at anytime without notifications.