更新 WadCfg “仅"现有 Azure Service Fabric 群集? [英] Update WadCfg "only" of existing Azure Service Fabric cluster?

查看:26
本文介绍了更新 WadCfg “仅"现有 Azure Service Fabric 群集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想监控现有 Service Fabric 群集的性能指标.这是性能指标的链接 -

2:

您也可以将其添加到库中并从那里部署,如上面链接中的指导.

<块引用>

来自文档:并非所有资源类型都支持导出模板功能.要解决此问题,请手动将缺少的资源重新添加到模板中.

老实说,除了测试环境,我从来没有以这种方式部署过,所以我不确定它是否可以安全地用于生产.

I want to monitor Perfomance metrics of a existing Service Fabric Cluster. Here is the link of Performance metrics - https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-diagnostics-event-generation-perf

I went through this Microsoft documentation - https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-diagnostics-perf-wad

My problem is, The ARM template I downloaded during Service Fabric creation time is quite big and contains lot of params and I don't have the template-params file. I think it is possible to build the params file but it will be time consuming.

  • Is it possible to download template and template-params file of existing service fabric cluster ?

  • If no, Is it possible to just update the "WadCfg" section to add new performance counters ?

解决方案

Your can export your entire resource group with all definitions and parameters, there you can find all parameters(as default parameters) for the resources deployed in the resource group. I've never done for SF cluster, but a quick look to an existing resource group I have I could see the cluster definition included.

This link explain how: https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-export-template

In Summary:

  • Find the resource group where your cluster is deployed
  • Open the resource group and navigate to 'Automation Scripts'
  • Click 'Download' on top bar
  • Open the ARM template with all definitions
  • Make the modifications and save
  • Publish the updates

1:

2:

You could also add it to a library and deploy from there, as guided in the link above.

From the docs: Not all resource types support the export template function. To resolve this issue, manually add the missing resources back into your template.

To be honest, I've never deployed this way other than test environments, so I am not sure if it is safe for production.

这篇关于更新 WadCfg “仅"现有 Azure Service Fabric 群集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆