Fabric加入虚拟网络

Fabric加入虚拟网络

本文介绍了Azure Service Fabric加入虚拟网络的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将Azure Service Fabric群集加入Azure中的虚拟网络?

Is it possible to join a Azure Service Fabric Cluster to a Virtual Network in Azure ?

不仅可以加入现有的虚拟网络,还可以将运行群集的虚拟机加入域.这样群集就可以使用域用户帐户访问网络共享等.

Not simply join an existing Virtual Network, but also join the vm's where the cluster is running on into the domain. So that the cluster can use an domain user account to access network shares etc..

推荐答案

是.默认的SF模板会为集群创建一个VNET,所以我假设您的意思是加入现有的VNET.

Yes. The default SF template creates a VNET for the cluster, so I assume you mean join to an existing VNET.

如果您查看 SF的示例模板,您会看到subnet0Ref变量,该变量用于设置作为新创建的比例集的一部分的NIC的网络配置文件.您可以使用resourceid模板表达式功能(文档).然后,您可以从不需要创建的模板中删除所有其他资源,例如VNET本身.

If you take a look at the sample template for SF, you can see the subnet0Ref variable which is being used to set the network profile of the NICs that are part of the newly created scale set. You can modify the template to lookup your pre-existing subnet using the resourceid template expression function (documentation). Then you can just drop all the other resources from the template that you don't need created, like the VNET itself.

这篇关于Azure Service Fabric加入虚拟网络的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 08:45