Install the Sitecore XP scaled topology
Once you have obtained the required certificates, you can run SIF and install the Sitecore XP scaled topology. You can install any of the configurations for dedicated server roles, on single or multiple servers.
The server roles are defined as a part of your desired scaling configuration.
Use SIF to install the Sitecore XP Scaled topology
To run SIF and install Sitecore XP:
-
If you have not already done so, as an administrator, in a PowerShell command line, run the following cmdlet:
-
To install the Solr cores, run the following cmdlets with the required parameters for your server roles:
For more information about installing Solr, see the section Install a search provider in a scaled solution.
-
To install the server roles, run the following cmdlets with the required parameters for your server roles:
For information about setting up EXM, see the EXM documentation.
Specifying the certificates during installation
To install Sitecore with your pre-installed certificates, when you run the Install-SitecoreConfiguration cmdlet, you must provide the certificates as parameters.
SIF searches for the certificates in the following path, by default:
You can change the storage location.
Change the default location of the certificates
To change the default location of the certificates used for the deployment:
-
In a text editor, open the relevant
.jsonfile, and in theVariablessection, change the default store value:
Specify the names or thumbprints of the certificates
You must specify the names or thumbprints of the certificates that you created and installed earlier in this guide as parameters. For example:
-
For the client authentication certificate:
or
NoteIn the PowerShell command line parameter, you must specify the client certificate thumbprint in capital letters.
-
For the server authentication certificate, for example, for an instance with the name
"CM_test":or
Skip database deployment when you install a server role
When you install a server role, you do not have to install the databases when you deploy the WDP packages.
A new the SkipDatabaseInstallation parameter has been added to the following deployment configuration files: ·
sitecore-XP1-cm.jsonsitecore-XP1-prc.jsonxconnect-xp1-collection.jsonxconnect-xp1-CortexProcessing.jsonxconnect-xp1-CortexReporting.jsonxconnect-xp1-ReferenceData.json
The SkipDatabaseInstallation parameter is set to false by default and all the databases are installed when you deploy the WDP packages.
The SkipDatabaseInstallation parameter is not supported by the SingleDeveloper and XM Scaled deployment configuration files.
To deploy a Sitecore server role without installing the databases:
-
Ensure that you have already installed the databases that you need for the server role.
-
Ensure that the database names contain the prefixes that you are going to use for this deployment.
-
In the Powershell deployment command, enter all the required parameters.
-
In the
c:\resourcefiles\Role-Remote.jsonfile, ensure that theSIFVersionparameter matches the latest version of SIF. -
In the Powershell deployment command, enter following parameter in the corresponding config files:
SkipDatabaseInstallation: true
-
Pass the database user names and passwords, for example:
Install to a custom website folder
With Sitecore XP, you can specify the folder where the website is installed.
The deployment configuration files for each server role contain a SitePhysicalRoot parameter.
When you set this parameter, the website is installed in the [SitePhysicalRoot]\[SiteName] folder.
If you leave this parameter with the default value, the website is installed in the default IIS wwwroot folder.
This parameter is supported by the SingleDeveloper and the Distributed deployment configuration files and the SitePhysicalRoot path that you provide is created for every website.