Posts

Showing posts with the label App Service Environment

Sitecore: Performance issue on page load, Analytics?

Image
  Background of Infra: ·           The App service is hosted inside Isolated App Service Environment. ·          Sitecore XP Scaled topology used. ·          Sitecore Version: 9.1.1   Issue & Troubleshooting The website started experiencing slowness in Page load, sometimes it was taking more than a minute. On checking the Profiler trace it was found that the Sitecore analytics process is getting blocked while creating a tracker object.     StackTrace     ROOT    Sitecore.Mvc!Sitecore.Mvc.Routing.RouteHttpHandler.BeginProcessRequest     Sitecore.Mvc!Sitecore.Mvc.Pipelines.PipelineService.RunPipeline     Sitecore.Kernel!Sitecore.Pipelines.DefaultCorePipelineManager.Run     Sitecore.Kernel!Sitecore.Pipelines.DefaultCorePipelineManager.Run     Si...

Sitecore - On-Premises to Azure PaaS (ASE) Cloud Migration - Part 4

  Common Issues and solutions: Sitecore Issues a.        Indexes not building in CD server. Root Cause: Config has Instance name explicitly mentioned. This instance will certainly not match to Instance name in Azure App Service as the instance name are dynamically created. This was found by inspecting EventQueue Table in Core Database The instance name is mentioned in this config on CD server. App_Config\Include\<SomeFolder>\SwitchMasterToWeb.config The solution is to Empty the Instance Name so that it takes the default Azure App Service resolved Name. Now on re-indexing you can see dynamic Instance Name b.       Rebuild index failure due to high CPU usage on AppService High CPU usage (above 70-80%) was observed when trying to rebuild index for core database. So as and when the CPU reached high usage the Sitecore instance itself getting shutdown and failing the index rebuild process. As t...

Sitecore - On-Premises to Azure PaaS (ASE) Cloud Migration - Part 3

  Automated Maintenance Heath status check and Auto heal Health Status In order automatically monitor the application’s health status, Health check feature was enabled. Using this feature there will be a ping to the specified health check path on all instances of the webapp every 2 minutes. If any web app instance does not respond within 10 minutes (5 pings), the instance is determined to be  unhealthy  and instance of the webapp will be taken out of the load balancer. The health probe will continue on the instance even though it is out of load balancer. Once the health probe receives a valid response, the instance will be added back into load balancer. Steps to enable the feature, 1.        Open the Resource explorer from the App Service blade in the portal under Development Tools. 2.        The resource explorer will open to the top-level view of your App Service. Expand the config section and c...

Sitecore - On-Premises to Azure PaaS (ASE) Cloud Migration - Part 2

  Sitecore - On-Premises to Azure PaaS (ASE) Cloud Migration - Part 2   Security aspects considered while designing the new Azure PaaS infrastructure   Sitecore Web applications are hosted inside Azure App Service Environment (ASE) which is an Azure App Service feature that provides a fully isolated, dedicated and secure environment to run App Service applications    WAF protection o    WAF feature of the Application Gateway provides centralized protection for your web applications from common exploits and vulnerabilities. o    WAF is based on rules from the Open Web Application Security Project (OWASP) core rule sets 3.0 or 2.2.9. o    Sitecore Content Delivery server runs behind WAF and IP restrictions on the Web App. These limits access only from the Application Gateway ·          With Application Gateway, only IPs from certain countries were allowed (based on previous ...