In Sitecore 9+, xDB data can be stored in SQL databases. To ensure the performance, Sitecore uses Shard databases, see Jason article Sitecore 9 xDB Sharding. The sharding data is managed in ShardMapManager table, which stores the server name and database. It works like a charm, but just one issue. The server name and database is hard references, which can cause problems for data migration. If you are trying to create a Sitecore instance from database dumps, the DatabaseName and ServerName need to be updated in [Xdb.Collection.ShardMapManager].[__ShardManagement].[ShardsGlobal]
1 - First, make sure all the prerequisites are installed: https://doc.sitecore.com/developers/sat/24/sitecore-azure-toolkit/en/getting-started-with-the-sitecore-azure-toolkit.html 2 - Download Sitecore Azure Toolkits. The latest version is at https://dev.sitecore.net/Downloads/Sitecore_Azure_Toolkit/2x/Sitecore_Azure_Toolkit_240.aspx . Extract the downloaded zip to local directory, for example: c:\sat24 3 - Open PowerShell, navigate to c:\sat24 # import Sitecore Azure Toolkit module comlets Import-Module .\tools\Sitecore.Cloud.Cmdlets.psm1 -Verbose Import-Module .\tools\Sitecore.Cloud.Cmdlets.dll # convert the Sitecore Patch zip package to SCWDP package. A scwdp file will be created at C:\scwdp\SC Hotfix XXXXXX-1 XXX rev.200610.scwdp.zip ConvertTo-SCModuleWebDeployPackage -Path "C:\temp\SC Hotfix XXXXXX-1 XXX rev.200610.zip" -Destination "C:\scwdp" # create a nodb version of the patch deployment package for CD and continuous deployment. Another scwdp file will be...
Comments
Post a Comment