Azure Service Fabric join Virtual network

安稳与你 提交于 2019-11-30 19:57:01

问题


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..


回答1:


Yes. The default SF template creates a VNET for the cluster, so I assume you mean join to an existing 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.




回答2:


Here is the document highlighting how to use and Existing Virtual Network / Subnet that was written by our support engineer. https://blogs.msdn.microsoft.com/kwill/2016/10/05/azure-service-fabric-common-networking-scenarios/

We are merging this content into our official documentation. sorry about the delay.



来源:https://stackoverflow.com/questions/36842763/azure-service-fabric-join-virtual-network

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!