Hot answers tagged

16

Accessing Sitecore XP logs and diagnostics information on Azure Web Apps differs from the on-premise approach. This article explains how to collect basic Sitecore diagnostics information, such as logs and configuration data, for a Sitecore XP solution deployed to Azure Web Apps. To access enhanced logging data of a Sitecore XP instance deployed to Azure Web ...


14

Azure Redis cache is the default session provider Sitecore 9.0 will use in Azure Paas. Out of the box, Azure Redis Cache will be configured and used by Sitecore. Sitecore uses this session provider as a means of managing out of process (ie. distributed) session state to share contact data across browser sessions and devices. This is required to support ...


13

Prerequisites Download the AzureToolkit from Sitecore. Powershell 4.x or newer ($PSVersionTable.PSVersion to check your current version) Download and install MSDeploy. SQL Server (The express version is enough) Microsoft SQL Server Data-Tier Application Framework (DacFX) for SQL server 2012 or later. Steps 1 - Import the methods you will need from ...


9

The very unfortunate answer to this question is that you can't (at least not as of the writing of this answer). Per this blog post, dated June 2018: You cannot, at this moment, create a custom culture on an Azure App Service. Cultures are part of the standard operating system and require changes to the registry to modify or add them. An Azure App ...


9

How it works Have a look at the App_Config/Sitecore/Azure/Sitecore.Cloud.ApplicationInsights.config which gets deployed to all CM/CD/PRC/REP roles. You will see that all the built-in log4net appenders get patched to append via the Application Insights LevelTraceAppender. You may also notice that sitecore still logs to the file system on Azure PaaS, which ...


8

As you mentioned Replication is required for some Sitecore databases, but SQL Azure (PaaS) does not support SQL read-write geo-replication currently just read-only(https://docs.microsoft.com/en-us/azure/sql-database/sql-database-designing-cloud-solutions-for-disaster-recovery), so the only option is to have all CD locations connect to the central Core ...


7

Yes, they are both compatible. WFFM since 8.2 Update-3 (rev. 170413), and EXM since 3.5 (rev. 170810) More information about all modules compatible with Azure Paas can be found here: https://kb.sitecore.net/articles/201557


7

In Azure Portal, on your CD's (or other instances) you can add custom domains. Before doing so, you will need to add DNS records for those domains. You can CNAME them to the xxx-cd.azurewebsites.net site. After that, it is just standard sitecore, where you need to add those domains in your sitecore configuration (sites node).


7

This problem is from a breaking change by Microsoft where they changed the default compatibility level to 150. The Sitecore cloud team was on it straight away and have released a fix which is to deploy a small package to set the compatibility level on newly created Azure SQL databases.


6

Using Maintenance Slots to Eliminate Deployment Downtime Rather than use a maintenance page, you can actually avoid downtime in Azure by using multiple deployment slots. Think of this kind of like Content Search indexes with Solr or Lucene, using SwitchOnRebuild. Basically, you have (at least) two slots: one for your live site and another for a maintenance ...


6

I've used this for a while and can confirm that it works (up to SC 8.2). Furthermore, I just tested it and it still works with Sitecore 9 in PaaS. Once installed, look for Dianoga informational messages in Application Insights after requesting your images. It should look somewhat like this: If you refresh your image (bypassing the browser cache) once it's ...


6

I was able to solve this. Navigate to your Sitecore Azure Toolkit path in Powershell and run the following after unblocking all the files. Import-Module .\tools\Sitecore.Cloud.Cmdlets.psm1 Import-Module .\tools\Sitecore.Cloud.Cmdlets.dll And now we can use the commands to create the WDP for the Sitecore Module like Data Exchange Framework by running this ...


6

With regards to the initial very large time, what you're most likely hitting is that Sitecore can max out the Azure SQL on startup to fill the prefetch cache - see Sitecore Knowledge Base Article 290593 The solution is to disable the prefetch cache by using the configuration file on the attached knowledge base article. According to Sitecore: The Sitecore ...


6

With the help of Sitecore support, we finally found root cause. They provided a patch for "SC_TICKET entries are never cleared from Properties table." (#223702), this issue is fixed in Sitecore 9.1 More information on this from the blog post https://hishaamn.wordpress.com/2016/04/26/sitecore-authentication-ticket-cleanup/ Sitecore create a ticket for each ...


5

The difference between Sitecore Email Cloud Delivery and Custom SMTP are pretty simple. But to really understand why they exist, some background is needed. What is a Mail Transit Provider and why do I need one? At it's most basic component, the act of Sitecore (or any application really) to send email successfully, requires connection to some kind of ...


5

I found the problem. The 9.0.1 parameters.xml file in the Sitecore 9.0.1 rev. 171219 (Cloud)_xp1collection.scwdp.zip has a parameter for Messaging Database Application User: <parameter name="Messaging Database Application User Name" description="Messaging Database Application User Name" defaultValue="messaginguser" tags=""> <parameterEntry type="...


5

We managed to solve this issue with the help of Sitecore and Microsoft: Solution: Increase the min worker thread pool to xxx (where xxx should be greater than busy value on log) Increase PollingTime to 30. If above doesn't help upgrade the redis.stackexcahange to latest And increase sync timeout 5k, connection time 10k and retry timeout 6k (should be ...


5

If the targetframework of the project is lesser than 4.5.2 then try to upgrade the target framework and reinstall the Dianoga from nuget https://www.nuget.org/packages/Dianoga/3.1.1 Also do check if Dianoga.dll is there in bin folder of the application. Similar issue reported at https://github.com/kamsar/Dianoga/issues/22 https://github.com/kamsar/Dianoga/...


5

The Publishing Service is not yet available on Azure PaaS. It was announced at the symposium to become available for Azure PaaS with Sitecore 9.1 release.


5

I found out that this behavior is related to the introduction of SwitchOnRebuild for Azure Search in Sitecore 9.0.2 As from that version, Sitecore has this feature, and it is turned on by default. Which is nice of course. To verify, check the indexes on your Azure Search app and you will see index names with _secondary after rebuilds. To know which actual ...


5

So yeah, my DacFX was installed properly, but... The only thing that I missed is that SQL Server itself is a prerequisite as well. Since I'm working in a VM which doesn't host any Sitecore instance (it only builds the packages) I didn't realize that quickly.


5

TLDR; Yes - you have to add the my.trafficmanager.net to the site definitions of your website (considering that in your case you have added the actual bindings to the website site removing the catch-all rule for Sitecore. If that is not the case and you have the website site untouched - there might be a deeper problem with the actual resolution ...


4

If you are trying to go active active. I'd look at using the new publishing service in the context of Azure SQL (PAAS) to get the web database changes published out to different regions. (as Azure SQL Geo-Replication is read only in the replicas, and sitecore requires write access to update the properties table) For the Core database though no ...


4

First, for documentation, you will probably want to bookmark this section of the docs: https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/sitecore_on_azure There is no current product named 'Sitecore Azure'. Sitecore did have something called this in a previous version. It was a first version of a PaaS model for Sitecore. It ...


4

In the image you provided, there is only a single server. There are 4 databases that will run on that server. In your picture, you have the Core DB, Forms DB, Master DB, and Web DB all running on the 'sitecore9-isobar-261150-sql' server. If you are used to running locally, you might be familiar with SQL Server Management Studio. This would be similar to ...


4

While Sitecore do not offer that option as in the ARM templates out of the box, there is nothing to stop you from using Solr in your PaaS setup. From my experience you have the 2 options mentioned in your question: Setup VM's and run SolrCloud there. The cons there is that you still have to maintain the VMs and you are effectively in an IaaS/PaaS hybrid ...


4

I have consulted with Sitecore support on this. Regarding resources, all of them are important: Memory, CPU, Disk Latency and Database DTU's. I have also checked my cache settings and noticed there where 2 caches beyond there limits: SqlDataProvider - Prefetch data (core) with 6383 items and a size of 43.3 MB and maxsize of 50MB SqlDataProvider - Prefetch ...


4

I never seen a list with usefull metrics. I discussed with Azure Team few months ago and they mention me to disabled GetChangesAvgTime counter. One specific counter, GetChangesAvgTime, logged multiple times a second that can be disabled. It is related to change tracking on XDB search index worker. To disable this specific counter please follow next steps: ...


4

Answering my own question here. Not for points but in case someone else runs into the same problem. It turns out the error message "The certificate was not found" doesn't refer to the Sitecore client certificate, but refers to the SSL server certificate that was configured on the ASE. Let me explain further. We deployed an Internal ASE (ILB) and ...


4

The default Paas installation packages will have Application insights enabled by default, so you should not have to configure anything further in Visual Studio for them to send telemetry to App Insights. However, by default Sitecore 9 does not collect the dependency telemetry, and hence the Application map is unavailable. This is to "optimize resource ...


Only top voted, non community-wiki answers of a minimum length are eligible