Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Sparks
Helper I
Helper I

How to Scale-Out (query replicas) Azure Analysis Services without any temporary outage?

Our Azure Analysis Services is in the East US 2 region and on S2 tier. We are trying to perform an auto scale-out/scale-in depending on the average QPU usage reaches a certain threshold (70-80%) for a sustained period of time. We trying to use the Azure Runbook and Powershell script to automate following the sample provided in github:
https://github.com/microsoft/Analysis-Services/tree/master/AASAutoScale

 

The issue we are facing is that, when the scale-out/in is occurring, regardless of whether we increase the query replicas from the Azure Portal manually or through the powershell cmdlets, the users interacting with the Power BI reports in Power BI Service suddenly get intermittent connection errors to the Azure Analysis Services. The error is as shown below:

ConnectionError.png

 

I have tried various things, such as below, but no luck. Is there any way to get around this?
Things I have tried:

  • Separate the processing server from querying pool setting is to Yes as well as No
  • ReplicaSyncMode setting to 2 (Optimized synchronization in parallel). Microsoft documentation says the databases are kept online on all replicas throughout the sync process and clients do not need to reconnect, but no luck

Also please let me know if I'm doing the steps correct:

  1. Process Database (The AAS database is processed only once (during midnight) in our case with "Process Full" option
  2. Synchronize operation as soon as Process Database step is complete
  3. Increase Query Replicas as needed during peak time (when the QPU usage goes beyond 70-80% of the max)
  4. Decrease Query Replicas as needed when the QPU usage drops below 30%

Since the Sync operation is done as soon as the Process Database is complete, we don't need to perform another Sync operation as and when new Query Replicas are added or removed. Is this correct?

 

Please help!

Thanks!!

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @Sparks 

This issue may be related to Azure  Service bus messaging queue. Take a try to use a higher delivery count setup for the queue. Furthermore, if the your application is mission-critical, please consider upgrade to a premium namespace: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging 

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors