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

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

问题描述

我想监视现有Service Fabric群集的性能指标. 这是效果指标的链接- https://docs. microsoft.com/en-us/azure/service-fabric/service-fabric-diagnostics-event-generation-perf

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

我仔细阅读了这份Microsoft文档- https://docs.microsoft. com/en-us/azure/service-fabric/service-fabric-diagnostics-perf-wad

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

我的问题是,在Service Fabric创建期间下载的ARM模板很大,并且包含许多参数,但是我没有template-params文件.我认为可以构建params文件,但是会很耗时.

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 ?

如果否,是否可以仅更新"WadCfg"部分以添加新的 性能计数器?

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

推荐答案

您可以导出具有所有定义和参数的整个资源组,在那里您可以找到资源组中部署的资源的所有参数(作为默认参数).我从来没有做过SF集群,但是快速浏览一下我拥有的现有资源组,就可以看到其中包含的集群定义.

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.

此链接说明了如何: https://docs.microsoft.com/zh-CN/azure/azure-resource-manager/resource-manager-export-template

摘要:

  • 找到部署集群的资源组
  • 打开资源组并导航到自动化脚本"
  • 点击顶部栏上的下载"
  • 打开所有定义的ARM模板
  • 进行修改并保存
  • 发布更新

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天全站免登陆