The following forum(s) have migrated to Microsoft Q&A (Preview): Azure Service Fabric!
Visit Microsoft Q&A (Preview) to post new questions.

Learn More

 locked
Auto Scaling of Service Fabric VM Scale set? RRS feed

  • Question

  • Hi Team, 

    I have created service fabric cluster on "West Europe" location, I am trying to scale service fabric application based on CPU performance. I am referring below link:

    https://azure.microsoft.com/en-us/documentation/articles/virtual-machine-scale-sets-autoscale-overview/

    https://azure.microsoft.com/en-us/documentation/articles/insights-powershell-samples/

    When I trying to call "Add-AzureRmAutoscaleSetting" PS command with desired parameter it give me below error:

    "WARNING: This output of this cmdlet will change in the next release to return the newly cr

    eated object.

    Add-AzureRmAutoscaleSetting : The metric with namespace '' and name

    '\Processor(_Total)\% Processor Time' is not supported for this resource id '/subscriptio

    ns/dff23bff-cc2d-4ec8-ad31-1f48c2412393/resourceGroups/InstrumentationPOC/providers/Micro

    soft.Compute/virtualMachineScaleSets/FrontEnd'.

    At line:1 char:1

    + Add-AzureRmAutoscaleSetting -Location "West Europe" -Name "MyScaleVMS ...

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        + CategoryInfo          : CloseError: (:) [Add-AzureRmAutoscaleSetting], CloudExcept

       ion

        + FullyQualifiedErrorId : Microsoft.Azure.Commands.Insights.Autoscale.AddAzureRmAuto

       scaleSettingCommand"

    I have below question:

    1. Is VM scale set not support for "West Europe" location?

    2.  I have seen some warning saying that "Output of cmdlet will change in next release" is that mean service fabric scale set cmdlet is not stable, we have to wait some time to implement this feature??


    Monday, November 14, 2016 5:27 AM

Answers

  • Hi there. Unfortunately these questions are mainly about AppInsights w/ autoscale and VMScale Sets, and this forum is watched mainly Service Fabric folks. We'll do our best, but you may want to consider moving this to a different forum.

    1) Looks like VM Scale Sets are everywhere at this point https://azure.microsoft.com/en-us/regions/services/ - that said you may still be getting hit since some VM sizes are not available everywhere - that same table has the same data.

    2) The Service Fabric APIs are stable, this error is coming from Add-AzureRmAutoscaleSetting (which is not a Service Fabric provided capability). You'll have to check out why app insights/autoscale is sending this, unfortunately I don't have more information.

    Monday, November 14, 2016 8:03 PM

All replies

  • Hi there. Unfortunately these questions are mainly about AppInsights w/ autoscale and VMScale Sets, and this forum is watched mainly Service Fabric folks. We'll do our best, but you may want to consider moving this to a different forum.

    1) Looks like VM Scale Sets are everywhere at this point https://azure.microsoft.com/en-us/regions/services/ - that said you may still be getting hit since some VM sizes are not available everywhere - that same table has the same data.

    2) The Service Fabric APIs are stable, this error is coming from Add-AzureRmAutoscaleSetting (which is not a Service Fabric provided capability). You'll have to check out why app insights/autoscale is sending this, unfortunately I don't have more information.

    Monday, November 14, 2016 8:03 PM
  • If the error message says '% Processor Time' is not supported, can you try 'Thread Count' instead?

    Frank

    Sunday, November 20, 2016 4:52 PM