- Clone the repo
- Open PowerShell in the repo root
- Run
.\Create-DeploymentFolder.ps1 -DeploymentName "MyClientUAT" -Template Sitecore -Version 9.0.x -Topology XPScaled
(Alter DeploymentName to your choosing)- This command will copy the required deployment files to "\deployments\MyClientUAT"
- Navigate to the folder
<repo root>\deployments\MyClientUAT\WebCluster
- In here you will see 2 JSON files:
azuredeploy.json
andazuredeploy.parameters.json
- Feel free to view the contents of
azuredeploy.json
, but keep in mind you shouldn't normally touch this file - Open
azuredeploy.parameters.json
in your favorite JSON editor - Modify the parameters to your needs
- envPrefixName: This will ultimately be the first part of your public URL. Give it a unique value per client, e.g. "gogle" (up to 5 chars for now, due to reuse of variable in deployment)
- environmentType: This will ultimately be the second part of your public URL. Give it a value to specify the environment, e.g. "uat" (up to 5 chars for now, due to reuse of variable in deployment)
- username: the RDP username used to log in after deployment
- password: the RDP password used to login after deployment
- sitecoreXP0WdpPackage: File name of your Sitecore WDP XP0 package without ".zip" on the end, e.g. "Sitecore 9.0.2 rev. 180604 (WDP XP0 packages)"
- Visit https://dev.sitecore.net/Downloads and find your 9.0.x version
- Find the section titled "Download options for On Premises deployment"
- Download the "Packages for XP Single" option
- The file name of this file (minus the .zip portion) is the value you need
- We are installing the CM server with the standalone role and therefore XP0 is required
- sitecoreCDWdpPackage: File name of your CD Web Deployment Package without ".zip" on the end, e.g. "Sitecore 9.0.2 rev. 180604 (OnPrem)_cd.scwdp"
- Visit https://dev.sitecore.net/Downloads and find your 9.0.x version
- Find the section titled "Download options for On Premises deployment"
- Download the "Packages for XP Scaled" option (this will be a very large download, > 1 GB)
- Extract this zip to see it's contents
- In particular pull out the "cd.scwdp.zip" file. This will be needed for the deployment. The name of this file (without the .zip) is the value of this parameter
- solrSSLFileName: The file name of the Solr cert that was exported from the Solr deployment. Should be "solr-ssl.keystore.pfx"
- solrUrl: The public URL of your Solr server (note this can be private, as long as the server can access it). Should include "https://" and ":8983/solr" in URL
- sitecoreConfigurationFilesNameNoExtensionXP0: Extract the file from step 5 and find the name of the Configuration file without ".zip", e.g. "XP0 Configuration files 9.0.2 rev. 180604"
- sitecoreXp1CDJson: The full name of the CD JSON file located within the CD WDP package from step 6
- Within the large zip downloaded in step 6.3 is another zip in the format of "XP1 Configuration files 9.0.x rev. XXXXXX.zip"
- Extract this zip and find the name of the JSON file used for CD role deployment, e.g. "sitecore-XP1-cd.json". This is the value for this parameter.
- xConnectPackage: Extract the file from step 5 and find the name of the xconnect file with ".zip", e.g. "Sitecore 9.0.2 rev. 180604 (OnPrem)_xp0xconnect.scwdp.zip"
- sitecoreSingleWdpPackage: Extract the file from step 5 and find the name of the Sitecore Single file with ".zip", e.g. "Sitecore 9.0.2 rev. 180604 (OnPrem)_single.scwdp.zip"
- sqlAdminUser: SQL admin account to be created
- sqlAdminPassword: SQL admin password to be created
- Include prerequisite files
- The following files must be included in the
WebCluster\DSC
folder. They will be uploaded as part of the deployment.license.xml
- a valid Sitecore licenseSitecore 9.0.x rev. XXXXXX (WDP XP0 packages).zip
- this was downloaded in step 7.5 aboveSitecore 9.0.x rev. XXXXXX (OnPrem)_cd.scwdp.zip
- this was downloaded in step 7.6 abovesitecore-XP1-cd.json
- this was pulled in step 7.10 abovesolr-ssl.keystore.pfx
- This is the exported Solr SSL cert obtained during the Solr deployment- (The CdServerConfig.ps1, CmServerConfig.ps1 and DbServerConfig.ps1 are already included and should remain in place)
- The following files must be included in the
To deploy this ARM template, view the shared deployment steps from the main README.
CM URL: http://(envPrefixName)ca(environmentType).(location).cloudapp.azure.com/sitecore/shell CD URL (load balanced): http://(envPrefixName)(environmentType).(location).cloudapp.azure.com/
After the deployment completes, navigate to the Sitecore CM instance
- Rebuild all indexes
- Rebuild links databases
- Deploy Marketing Definitions