This is a guide or a reference for installing Sitecore XP1 v9.0 in a fully scaled on-premise environment.
Note: This documentation is still a work-in-progress, do expect constant updates. For questions or need elaboration please send an email to rasenieroAtGmailDotCom.
These instructions will serve as a guide or a reference for deploying Sitecore XP1 v9.0 in a fully scaled on-premise environment.
In the following scenario below, every core roles and XP service roles is performed by a dedicated server. This is a pre-built topology and is also known as XP1 Scaled. However, roles can be combine into a single instance, e.g. all xConnect and xDB roles (i.e. Collection, Collection Search, Marketing Automation, Marketing Automation Reporting, and ReferenceData) can be installed in a single instance.
We will be referencing the diagram below in our instructions to come.
Depending on the role or instance, each has it's own respective prerequisites, but the general prerequisites are enumerated below.
- Microsoft Windows Server 2016
- Microsoft SQL Server 2016 SP1 with SQL Management Studio 2017 for Database server
- IIS 10 for Web server
- .NET Framework 4.6.2 or later
- PowerShell 5.1 or later
- Sitecore Installation Framework (SIF) PowerShell module
- Any Web Browsers in this list: Microsoft Internet Explorer 11, Mozilla Firefox, Google Chrome or Microsoft Edge
- Domain names for each roles i.e. search.mysite.com, searchcollection.mysite.com, reporting.mysite.com, processing.mysite.com
For the Hardware requirements, please refer to the Sitecore 9.0 Installation Guide.
For each role or instance in the diagram, find their respective prerequesites below.
- Solr 6.6.2
- Chocolatey 0.10.11
- Java/JRE 1.8 (installed using Chocolatey)
- NSSM 2.24 (installed using Chocolatey)
- OpenSSL.Light 1.1.0 (installed using Chocolatey)
To setup Solr instance see section Installation->Solr Instance
This includes XConnect, xDB Services, Content Management, Content Delivery, Processing and Reporting instances.
- Refer to the general prerequisites for applicable prerequisites
- Add IIS role with IIS Management Console feature
- Add .Net Extensibility 4.6 feature, under Web Server (IIS)->Web Server->Application Development
PS C:\>Install-WindowsFeatures Web-Asp-Net45
- Microsoft Visual C++ 2015 Redistributable (vc_redist.x64.exe)
- Web Platform Installer 5.0 (WebPlatformInstaller_amd64_en-US.msi)
- Web Deploy 3.6 for Hosting Servers using Web Platform Installer
- UrlRewrite2.exe (URLRewrite2) using Web Platform Installer
- Microsoft SQL Server Data-Tier Application Framework (DacFx) version 2016 (DacFramework-x64.msi)
- SQLSysClrTypes.msi
- SQLCMD using Powershell below
PS C:\> Install-Module -name SqlServer
or
PS C:\> Install-Module -name Sqlps
The general approach is to start with setting up Solr instance then followed by XConnect (i.e. Collection, CollectionSearch roles), xDB Services (i.e. ReferenceData, MarketingAutomationReporting, MarketingAutomation roles), Reporting, Processing, Content Management, and Content Delivery instances.
This applies to the follwing instances or roles XConnect, xDB Services, Content Management, Content Delivery, Processing and Reporting instances.
- Clone this repository into an Installation Directory.
Note: In this scenario is c:\xp, you can also use other location i.e. d:\xp but need to update the scripts.
- Download and extract Sitecore 9.0.1 rev. 171219 (WDP XP1 packages).zip to the Installation Directory.
Note: All WDP Packages (*.zip files) should be directly under the Installation Directory.
- Save you Sitecore license file directly under the Installation Directory as license.xml.
- Set NETWORK SERVICE with Modify permission to c:\inetpub\wwwroot folder
- Set IIS_IUSRS or IUSR or NETWORK SERVICE with Modify permission to %WINDIR%\Temp\ folder
- Set IIS_IUSRS or IUSR or NETWORK SERVICE with Modify permission to %WINDIR%\Globalization\ folder
- Set IIS_IUSRS or IUSR or NETWORK SERVICE with Modify permission to %PROGRAMDATA%\Microsoft\Crypto\ folder
- Clear the Web Platform Installer download cache
- Enable contained database authentication by running a sql query below
sp_configure 'contained database authentication', 1; GO RECONFIGURE; GO
- Install Chocolatey by runnning the PowerShell script below as Administrator.
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- Install NSSM using Chocolatey by running the command below.
C:\> choco install nssm
- Install JRE 1.8 using Chocolatey by running the command below.
C:\> choco install jre8
- Install OpenSSL using Chocolatey by running the command below.
C:\> choco install openssl.light
- Download and install Solr 6.2.2 by following the Installing Solr guide.
- Enable SSL on Solr by following the Enabling SSL guide.
- Setup as a Service using NSSM
- To install the Sitecore Solr Cores, edit the parameters on the c:\xp\sitecore-SolrCores.ps1 scripts to match local values.
#define parameters
$Prefix = "xp901"
$PSScriptRoot = "c:\xp"
$Path = "$PSScriptRoot\config\sitecore-solr.json"
$SolrUrl = "https://localhost:8983/solr"
$SolrRoot = "C:\solr-6.6.2"
$SolrService = "solr662"
$CorePrefix = $Prefix
- Run c:\xp\sitecore-SolrCores.ps1 <>
PS C:\> .\sitecore-SolrCores.ps1 scripts
Note: If the cores exist, they will be overwritten.
- To install the xConnect Solr Cores, edit the parameters on the c:\xp\xconnect-SolrCores.ps1 scripts to match local values.
#define parameters
$Prefix = "xp901"
$PSScriptRoot = "c:\xp"
$ConfigPath = "$PSScriptRoot\config"
$SolrUrl = "https://localhost:8983/solr"
$SolrRoot = "C:\solr-6.6.2"
$SolrService = "solr662"
- Run c:\xp\xconnect-SolrCores.ps1 scripts.
PS C:\> .\xconnect-SolrCores.ps1 <<Press Enter>>
Note: If the cores exist, they will be overwritten.
You should be able to browse the Solr website using the $SolrUrl i.e. opening the https://localhost:8983/solr in your browser.
- To install the xConnect Collection role, edit the parameters for c:\xp\xconnect-xp1-Collection.ps1, they are exposed so its easy to change them for production environment purposes.
<#
Exposed parameters for creating the Collection Service, so you can change it for production
#>
$Prefix = "xp901" #This is usually the name of the site
$PSScriptRoot = "c:\xp" #This is the default destination folder from the git clone, if different then update this to point to the new location.
$Path = "$PSScriptRoot\config\xconnect-xp1-collection.json"
$Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp1collection.scwdp.zip"
$LicenseFile = "$PSScriptRoot\license.xml" #The Sitecore License.xml file
$SiteName = "$Prefix.collection"
$SSLCert = "" #Todo: needs to be provided (applicable for production environment), if not then generated by the script (applicable for development environment).
$XConnectCert = "$Prefix.xconnect_client"
<#
The $Prefix, $SqlAdminUser, $SqlAdminPassword and $SqlServer needs to be changes. The rest can use the default (for development environment purposes) but for production it's recommended to be change.
#>
$SqlDbPrefix = $Prefix
$SqlAdminUser = "sa"
$SqlAdminPassword="Test12345"
$SqlCollectionUser = "collectionuser"
$SqlCollectionPassword = "Test12345"
$SqlProcessingPoolsUser = "poolsuser"
$SqlProcessingPoolsPassword = "Test12345"
$SqlMarketingAutomationUser = "marketingautomationuser"
$SqlMarketingAutomationPassword = "Test12345"
$SqlMessagingUser = "messaginguser"
$SqlMessagingPassword = "Test12345"
$SqlServer = "RAMONASENIE0E1F"
$XConnectEnvironment ="Development" #For production environment use Production
$XConnectLogLevel = "Information" #Can be Debug
- Run c:\xp\xconnect-xp1-Collection.ps1.
PS C:\xp> .\xconnect-xp1-Collection.ps1 <<Press Enter>>
Note: you can pass -Verbose or -WhatIf parameters to see more information or run the script without making actual changes.
Note: The script will take about (+/-) 1 minute and 40 seconds to complete execution, see the xconnect-xp1-collection.log file.
- To install the xConnect Collection Search role, edit the parameters for c:\xp\xconnect-xp1-CollectionSearch.ps1 script.
<#
Exposed parameters for creating the Collection Search Service, so you can change it for production
#>
$Prefix = "xp901" #This is usually the name of the site
$PSScriptRoot = "c:\xp" #This is the default destination folder from the git clone,
if different then update this to point to the new location.
$Path = "$PSScriptRoot\config\xconnect-xp1-collectionsearch.json"
$Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp1collectionsearch.scwdp.zip"
$LicenseFile = "$PSScriptRoot\license.xml" #The Sitecore License.xml file
$SiteName = "$Prefix.collectionsearch"
$SSLCert = "" #Todo: needs to be provided (applicable for production environment),
if not then generated by the script (applicable for development environment).
$XConnectCert = "$Prefix.xconnect_client"
<#
The $Prefix, $SqlAdminUser, $SqlAdminPassword and $SqlServer needs to be changes.
The rest can use the default (for development environment purposes) but for production it's recommended to be changed.
#>
$SqlDbPrefix = $Prefix
$SqlCollectionUser = "collectionuser"
$SqlCollectionPassword = "Test12345"
$SqlProcessingPoolsUser = "poolsuser"
$SqlProcessingPoolsPassword = "Test12345"
$SqlMarketingAutomationUser = "marketingautomationuser"
$SqlMarketingAutomationPassword = "Test12345"
$SqlMessagingUser = "messaginguser"
$SqlMessagingPassword = "Test12345"
$SqlServer = "RAMONASENIE0E1F"
$SolrCorePrefix = $Prefix
$SolrUrl = "https://localhost:8983/solr" #Change to reflect the production Solr Url
$XConnectEnvironment ="Development" #For production environment use Production
$XConnectLogLevel = "Information" #Use Debug for Development
Note: There are not $SqlAdminUser and $SqlAdminPassword parameters but $SolrUrl and $SolrCorePrefix has been added.
- Run c:\xp\xconnect-xp1-CollectionSearch.ps1.
PS C:\xp> .\xconnect-xp1-CollectionSearch.ps1 <<Press Enter>>
Note: The script will take about (+/-) 11 minutes to complete execution, see the xconnect-xp1-collectionsearch.log file
You should be able to see a new websites created on IIS with the name $SiteName
- To install xDB Marketing Automation role, edit c:\xp\xconnect-xp1-MarketingAutomation.ps1 scripts to reflect local settings.
<#
Exposed parameters for creating the xDB Marketing Automation role, so you can change it for production
#>
$Prefix = "xp901" #This is usually the name of the site
$PSScriptRoot = "c:\xp" #This is the default destination folder from the git clone, if different then update this to point to the new location.
$Path = "$PSScriptRoot\config\xconnect-xp1-MarketingAutomation.json"
$Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp1marketingautomation.scwdp.zip"
$LicenseFile = "$PSScriptRoot\license.xml" #The Sitecore License.xml file
$SiteName = "$Prefix.marketingautomation"
$SSLCert = "" #Todo: needs to be provided (applicable for production environment), if not then generated by the script (applicable for development environment).
$XConnectCert = "$Prefix.xconnect_client"
<#
The $Prefix, $SqlAdminUser, $SqlAdminPassword and $SqlServer needs to be changes. The rest can use the default (for development environment purposes) but for production it's recommended to be changed.
#>
$SqlDbPrefix = $Prefix
$SqlAdminUser = "sa"
$SqlAdminPassword = "Test12345"
$SqlServer = "RAMONASENIE0E1F"
$SqlCollectionUser = "collectionuser"
$SqlCollectionPassword = "Test12345"
$SqlProcessingPoolsUser = "poolsuser"
$SqlProcessingPoolsPassword = "Test12345"
$SqlMarketingAutomationUser = "marketingautomationuser"
$SqlMarketingAutomationPassword = "Test12345"
$SqlMessagingUser = "messaginguser"
$SqlMessagingPassword = "Test12345"
$XConnectCollectionService = "https://XConnectCollection" #Keep this default value unless you know what you're doing
$XConnectReferenceDataService = "https://XConnectReferenceData" #Keep this default value unless you know what you're doing
$XConnectEnvironment ="Development" #For production environment use Production
$XConnectLogLevel = "Information" #Use Debug for Development
Note: In comparison to xconnect-xp1-Collection-Search.ps1, the $SqlAdminUser, $SqlAdminPassword, XConnectCollectionService and XConnectReferenceDataService has been added to the parameters.
- Execute c:\xp\xconnect-xp1-MarketingAutomation.ps1 scripts.
PS C:\xp> .\xconnect-xp1-MarketingAutomation.ps1 <<Press Enter>>
Note: If the script fails on the first run and you need to rerun it, perform an iisreset in the terminal.
PS C:\> iisreset
Note: The script will take about (+/-) 9 seconds to complete execution, see the xconnect-xp1-MarketingAutomation.log file.
- To install xDB Marketing Automation Reporting role, edit the c:\xp\xconnect-xp1-MarketingAutomationReporting.ps1 scripts to reflect local settings.
<#
Exposed parameters for creating the xDB Marketing Automation Reporting role, so you can change it for production
#>
$Prefix = "xp901" #This is usually the name of the site
$PSScriptRoot = "c:\xp" #This is the default destination folder from the git clone, if different then update this to point to the new location.
$Path = "$PSScriptRoot\config\xconnect-xp1-MarketingAutomationReporting.json"
$Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp1marketingautomationreporting.scwdp.zip"
$LicenseFile = "$PSScriptRoot\license.xml" #The Sitecore License.xml file
$SiteName = "$Prefix.marketingautomationreporting"
$SSLCert = "" #Todo: needs to be provided (applicable for production environment), if not then generated by the script (applicable for development environment).
$XConnectCert = "$Prefix.xconnect_client"
<#
The $Prefix, $SqlAdminUser, $SqlAdminPassword and $SqlServer needs to be changes. The rest can use the default (for development environment purposes) but for production it's recommended to be changed.
#>
$SqlDbPrefix = $Prefix
$SqlServer = "RAMONASENIE0E1F"
$SqlReferenceDataUser = "referencedatauser"
$SqlReferenceDataPassword = "Test12345"
$SqlMarketingAutomationUser = "marketingautomationuser"
$SqlMarketingAutomationPassword = "Test12345"
$XConnectEnvironment ="Development" #For production environment use Production
$XConnectLogLevel = "Information" #Use Debug for Development
#install sitecore instance
$xconnectHostName = "$Prefix.xconnect"
$MarketingAutomationReportingParams = @{
Path = $Path
Package = $Package
LicenseFile = $LicenseFile
SiteName = $SiteName
SSLCert = $SSLCert
XConnectCert = $XConnectCert
SqlDbPrefix = $SqlDbPrefix
SqlServer = $SqlServer
SqlReferenceDataUser = $SqlReferenceDataUser
SqlReferenceDataPassword = $SqlReferenceDataPassword
SqlMarketingAutomationUser = $SqlMarketingAutomationUser
SqlMarketingAutomationPassword = $SqlMarketingAutomationPassword
XConnectEnvironment = $XConnectEnvironment
XConnectLogLevel = $XConnectLogLevel
}
Write-Host @MarketingAutomationReportingParams
Install-SitecoreConfiguration @MarketingAutomationReportingParams
Note: In comparison to the xconnect-xp1-MarketingAutomation.ps1 the following parameters has been removed: SqlCollectionUser, SqlCollectionPassword, SqlProcessingPoolsUser, SqlProcessingPoolsPassword, SqlMessagingUser, SqlMessagingPassword, SqlAdminUser and SqlAdminPassword.
- Execute the c:\xp\xconnect-xp1-MarketingAutomationReporting.ps1 script.
PS C:\> .\c:\xp\xconnect-xp1-MarketingAutomationReporting.ps1 <<Press Enter>>
Note: The script will take about (+/-) 6 seconds to complete execution, see the xconnect-xp1-MarketingAutomationReporting.log file.
Note: If you need to rerun the script, perform a iisreset on the terminal, see below.
PS C:\>iisreset
- To install xDB Reference Data role, edit the parameters of c:\xp\xconnect-xp1-ReferenceData.ps1 scripts to reflect local settings.
<#
Exposed parameters for creating the xDB Reference Data role, so you can change it for production
#>
$Prefix = "xp901" #This is usually the name of the site
$PSScriptRoot = "c:\xp" #This is the default destination folder from the git clone, if different then update this to point to the new location.
$Path = "$PSScriptRoot\config\xconnect-xp1-ReferenceData.json"
$Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_xp1referencedata.scwdp.zip"
$LicenseFile = "$PSScriptRoot\license.xml" #The Sitecore License.xml file
$SiteName = "$Prefix.referencedata"
$SSLCert = "" #Todo: needs to be provided (applicable for production environment), if not then generated by the script (applicable for development environment).
$XConnectCert = "$Prefix.xconnect_client"
<#
The $Prefix, $SqlAdminUser, $SqlAdminPassword and $SqlServer needs to be changes. The rest can use the default (for development environment purposes) but for production it's recommended to be changed.
#>
$SqlDbPrefix = $Prefix
$SqlServer = "RAMONASENIE0E1F"
$SqlAdminUser = "sa"
$SqlAdminPassword = "Test12345"
$SqlReferenceDataUser = "referencedatauser"
$SqlReferenceDataPassword = "Test12345"
$XConnectEnvironment ="Development" #For production environment use Production
$XConnectLogLevel = "Information" #Use Debug for Development
Note: In comparison with xconnect-xp1-MarketingAutomationReport.ps1, they have the same set of parameters.
- Execute the c:\xp\xconnect-xp1-ReferenceData.ps1 scripts.
PS C:\> .\xconnect-xp1-ReferenceData.ps1 <<Press Enter>>
Note: The script will take about (+/-) 29 seconds to complete execution, see the xconnect-xp1-ReferenceData.log file.
- To install Reporting role, edit the parameters in the c:\xp\sitecore-xp1-Reporting.ps1 scripts to reflect local settings.
<#
Exposed parameters for creating the Reporting Role, so you can change it for production
#>
$Prefix = "xp901" #This is usually the name of the site
$PSScriptRoot = "c:\xp" #This is the default destination folder from the git clone, if different then update this to point to the new location.
$Path = "$PSScriptRoot\config\sitecore-XP1-rep.json"
$Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_rep.scwdp.zip"
$LicenseFile = "$PSScriptRoot\license.xml" #The Sitecore License.xml file
$SiteName = "$Prefix.reporting" #The website that will be created in IIS
$SSLCert = "" #Todo: needs to be provided (applicable for production environment), if not then generated by the script (applicable for development environment).
<#
The $Prefix, $SqlAdminUser, $SqlAdminPassword and $SqlServer needs to be changes. The rest can use the default values (for development environment purposes) but for production it's recommended to be changed.
#>
$SqlDbPrefix = $Prefix
$SqlServer = "RAMONASENIE0E1F"
$SqlAdminUser = "sa"
$SqlAdminPassword = "Test12345"
$SqlCoreUser = "coreuser"
$SqlCorePassword = "Test12345"
$SqlMasterUser = "masteruser"
$SqlMasterPassword = "Test12345"
$SqlWebUser = "webuser"
$SqlWebPassword = "Test12345"
$SqlReportingUser = "reportinguser"
$SqlReportingPassword = "Test12345"
$ReportingServiceApiKey = "abcde111112222233333444445555566"
- Execute the c:\xp\sitecore-xp1-Reporting.ps1 script.
PS C:\>.\sitecore-xp1-Reporting.ps1 <<Press Enter>>
Note: The script will take about (+/-) 13 seconds to complete execution, see the sitecore-XP1-rep.log file.
- To install Processing role, edit the parameters in the c:\xp\sitecore-xp1-Processing.ps1 script.
<#
Exposed parameters for creating the Processing Role, so you can change it for production
#>
$Prefix = "xp901" #This is usually the name of the site
$PSScriptRoot = "c:\xp" #This is the default destination folder from the git clone, if different then update this to point to the new location.
$Path = "$PSScriptRoot\config\sitecore-XP1-prc.json"
$Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_prc.scwdp.zip"
$LicenseFile = "$PSScriptRoot\license.xml" #The Sitecore License.xml file
$SiteName = "$Prefix.processing" #The website that will be created in IIS
$SSLCert = "" #Todo: needs to be provided (applicable for production environment), if not then generated by the script (applicable for development environment).
$XConnectCert = "$Prefix.xconnect_client"
<#
The $Prefix, $SqlAdminUser, $SqlAdminPassword and $SqlServer needs to be changes. The rest can use the default values (for development environment purposes) but for production it's recommended to be changed.
#>
$SqlDbPrefix = $Prefix
$SqlServer = "RAMONASENIE0E1F"
$SqlAdminUser = "sa"
$SqlAdminPassword="Test12345"
$SqlCoreUser = "coreuser"
$SqlCorePassword = "Test12345"
$SqlMasterUser = "masteruser"
$SqlMasterPassword = "Test12345"
$SqlWebUser = "webuser"
$SqlWebPassword = "Test12345"
$SqlReportingUser = "reportinguser"
$SqlReportingPassword = "Test12345"
$SqlReferenceDataUser = "referencedatauser"
$SqlReferenceDataPassword = "Test12345"
$SqlProcessingPoolsUser = "poolsuser"
$SqlProcessingPoolsPassword = "Test12345"
$SqlProcessingTasksUser = "tasksuser"
$SqlProcessingTasksPassword = "Test12345"
$SolrCorePrefix = $Prefix
$SolrUrl = "https://localhost:8983/solr"
$XConnectCollectionService = "https://$Prefix.xconnectcollection"
$ReportingServiceApiKey = "abcde111112222233333444445555566"
- Execute the c:\xp\sitecore-xp1-Processing.ps1 script.
PS C:\>.\sitecore-xp1-Processing.ps1 <<Press Enter>>
Note: The script will take about (+/-) 38 seconds to complete execution, see the sitecore-XP1-prc.log file.
- To install Content Management role, edit the parameters in the c:\xp\sitecore-xp1-ContentManagement.ps1 scripts to reflect local settings.
<#
Exposed parameters for creating the Content Management Role, so you can change it for production
#>
$Prefix = "xp901" #This is usually the name of the site
$PSScriptRoot = "c:\xp" #This is the default destination folder from the git clone, if different then update this to point to the new location.
$Path = "$PSScriptRoot\config\sitecore-XP1-cm.json"
$Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_cm.scwdp.zip"
$LicenseFile = "$PSScriptRoot\license.xml" #The Sitecore License.xml file
$SiteName = "$Prefix.contentmanagement"
$SitecoreAdminPassword = "b"
$SSLCert = "" #Todo: needs to be provided (applicable for production environment), if not then generated by the script (applicable for development environment).
$XConnectCert = "$Prefix.xconnect_client"
<#
The $Prefix, $SqlAdminUser, $SqlAdminPassword and $SqlServer needs to be changes. The rest can use the default values (for development environment purposes) but for production it's recommended to be changed.
#>
$SqlDbPrefix = $Prefix
$SqlServer = "RAMONASENIE0E1F"
$SqlAdminUser = "sa"
$SqlAdminPassword="Test12345"
$SqlCoreUser = "coreuser"
$SqlCorePassword = "Test12345"
$SqlMasterUser = "masteruser"
$SqlMasterPassword = "Test12345"
$SqlWebUser = "webuser"
$SqlWebPassword = "Test12345"
$SqlReportingUser = "reportinguser"
$SqlReportingPassword = "Test12345"
$SqlReferenceDataUser = "referencedatauser"
$SqlReferenceDataPassword = "Test12345"
$SqlFormsUser = "formsuser"
$SqlFormsPassword = "Test12345"
$SqlExmMasterUser = "exmmasteruser"
$SqlExmMasterPassword = "Test12345"
$SqlMessagingUser = "messaginguser"
$SqlMessagingPassword = "Test12345"
$ExmEdsProvider = "CustomSMTP"
$SolrCorePrefix = $Prefix
$SolrUrl = "https://localhost:8983/solr"
$ProcessingService = "https://$Prefix.processing"
$ReportingService = "https://$Prefix.reporting"
$ReportingServiceApiKey = "abcde111112222233333444445555566"
$XConnectCollectionSearchService = "https://$Prefix.collectionsearch"
$XConnectReferenceDataService = "https://$Prefix.referencedata"
$MarketingAutomationOperationsService = "https://$Prefix.marketingautomation"
$MarketingAutomationReportingService = "https://$Prefix.marketingautomationreporting"
$EXMCryptographicKey = "0x0000000000000000000000000000000000000000000000000000000000000000"
$EXMAuthenticationKey = "0x0000000000000000000000000000000000000000000000000000000000000000"
$TelerikEncryptionKey = "PutYourCustomEncryptionKeyHereFrom32To256CharactersLong"
- Execute the c:\xp\sitecore-xp1-ContentManagement.ps1 script.
PS C:\>.\sitecore-xp1-ContentManagement.ps1 <<Press Enter>>
Note: The script will take about (+/-) 3 minute 46 seconds to complete execution, see the sitecore-XP1-cm.log file.
- To install Content Delivery role, edit the parameters in c:\xp\sitecore-xp1-ContentDelivery.ps1 script.
<#
Exposed parameters for creating the Content Delivery Role, so you can change it for production
#>
$Prefix = "xp901" #This is usually the name of the site
$PSScriptRoot = "c:\xp" #This is the default destination folder from the git clone, if different then update this to point to the new location.
$Path = "$PSScriptRoot\config\sitecore-XP1-cd.json"
$Package = "$PSScriptRoot\Sitecore 9.0.1 rev. 171219 (OnPrem)_cd.scwdp.zip"
$LicenseFile = "$PSScriptRoot\license.xml" #The Sitecore License.xml file
$SiteName = "$Prefix.contentdelivery"
$XConnectCert = "$Prefix.xconnect_client"
<#
The $Prefix, $SqlAdminUser, $SqlAdminPassword and $SqlServer needs to be changes. The rest can use the default values (for development environment purposes) but for production it's recommended to be changed.
#>
$SqlDbPrefix = $Prefix
$SqlServer = "RAMONASENIE0E1F"
$SqlCoreUser = "coreuser"
$SqlCorePassword = "Test12345"
$SqlWebUser = "webuser"
$SqlWebPassword = "Test12345"
$SqlFormsUser = "formsuser"
$SqlFormsPassword = "Test12345"
$SqlExmMasterUser = "exmmasteruser"
$SqlExmMasterPassword = "Test12345"
$SqlMessagingUser = "messaginguser"
$SqlMessagingPassword = "Test12345"
$SolrCorePrefix = $Prefix
$SolrUrl = "https://localhost:8983/solr"
$XConnectCollectionService = "https://$Prefix.collection"
$XConnectReferenceDataService = "https://$Prefix.referencedata"
$MarketingAutomationOperationsService = "https://$Prefix.marketingautomation"
$MarketingAutomationReportingService = "https://$Prefix.marketingautomationreporting"
$EXMCryptographicKey = "0x0000000000000000000000000000000000000000000000000000000000000000"
$EXMAuthenticationKey = "0x0000000000000000000000000000000000000000000000000000000000000000"
- Execute c:\xp\sitecore-xp1-ContentDelivery.ps1 script
PS C:\>.\sitecore-xp1-ContentDelivery.ps1 <<Press Enter>>
Note: The script will take about (+/-) 6 seconds to complete execution, see the sitecore-XP1-cd.log file.
- Sitecore 9.0 Update 1 - The Sitecore XP1 Scaled Platform
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Ramon Aseniero - Initial work - Sitecore
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone whose code was used
- Inspiration
- etc
