- Copy CM PRODUCTION slot to STAGING Copy-ProductionSlotToStaging.ps1. This doesn't copy EVERYTHING, only licenses and App_Config. The rest is expected to be handled by your build/release pipelines. This is for backup purposes only, specifically for rapid rollback capabilities
- Make copies of all the web databases and rewire CM Copy-WebDatabaseRewireCM.ps1
- Build new SOLR (or any search) and rewire CM See Azure Search Subsection
- Rebuild Search Indexes See Azure Search Subsection
- Copy CD PRODUCTION slot to STAGING Copy-ProductionSlotToStaging.ps1. Doesn't copy EVERYTHING, only the stock App_Data directory (found in zip file at root, replace with a zip of whatever version of Sitecore you're using) along with Sitecore license and App_Config. The rest is expected to be handled by your build/release pipelines.
- Rewire CD Staging slots to use the new databases Switch-ActiveDatabase.ps1
- Deploy Normally to your CM environment and deploy to the STAGING slot for CD environments. At this point any changes to content and publishes are going to be delivered to the STAGING slot environments. If you're not replicating your search indexes a publishing freeze is recommended as the mismatched content could cause issues between your STAGING and PRODUCTION slots.
- Test environment
- Swap STAGING slot to PRODUCTION slot Switch-DeploymentSlot.ps1 (in the general folder)
- Remove STAGING slots after a successful deployment Remove-DeploymentSlot.ps1
- Remove old databases Remove-Database.ps1
- Remove old search See Azure Search Subsection
BlueGreen
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||