简体   繁体   English

如何将Azure Service Fabric项目部署到远程群集上(Azure)

[英]How to deploy Azure service fabric project on to a remote cluster(Azure)

I have Created a cluster in Azure http://******.######.cloudapp.azure.com:19080 but don't know how to deploy my service fabric project on to it. 我已经在Azure http://******.######.cloudapp.azure.com:19080中创建了一个群集,但是不知道如何在其上部署服务结构项目。 Link to application manifest ApplicationManifest.xml 链接到应用程序清单ApplicationManifest.xml

It's pretty well documented, unless you are getting specific errors, which you then will need to reference to get some worthwhile help 除非您得到特定的错误,否则它已被很好地记录下来,然后您将需要参考这些错误以获得一些有价值的帮助

https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-publish-app-remote-cluster https://docs.microsoft.com/zh-cn/azure/service-fabric/service-fabric-publish-app-remote-cluster

Your first option is to use the powershell commands . 您的第一个选择是使用powershell命令 You can also right-click your application in visual studio and select "Publish". 您也可以在Visual Studio中右键单击您的应用程序,然后选择“发布”。 Make sure you are using the correct publish profile. 确保使用正确的发布配置文件。

Within Visual Studio, navigate to your Publish Profiles folder under the application and copy/paste the existing cloud.xml file and then rename appropriately. 在Visual Studio中,导航到应用程序下的“发布配置文件”文件夹,然后复制/粘贴现有​​的cloud.xml文件,然后进行适当的重命名。 Ensure that you use the correct public facing IP for your cluster, which will most likely be the load balancer. 确保为群集使用正确的面向公众的IP,该IP很可能是负载平衡器。

The line should look like the following. 该行应如下所示。

<ClusterConnectionParameters ConnectionEndpoint="<YOUR IP>:19000" />

Example: 例:

<ClusterConnectionParameters ConnectionEndpoint="151.41.35.35:19000" />

However, if the cluster is secured you may need additional information. 但是,如果群集受保护,则可能需要其他信息。 These options are shown within the commented Cluster Connection Parameters of the cloud.xml file. 这些选项显示在cloud.xml文件的带注释的群集连接参数中。

Right click on the application, select publish and ensure the new publish profile is selected. 右键单击该应用程序,选择“发布”,并确保选择了新的发布配置文件。 Visual studio will attempt to validate the connection. Visual Studio将尝试验证连接。 Try to publish and keep an eye on the output window for insight in to the process. 尝试发布并密切注意输出窗口,以深入了解该过程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Azure群集上部署Service Fabric项目 - Deploying Service fabric project on azure cluster 如何访问Azure Service Fabric群集中的日志? - How to access logs in Azure Service Fabric cluster? 如何将.NETCore应用程序部署到Azure Service Fabric - How to Deploy .NETCore App to Azure Service Fabric 如何一致且成功地将我的 Azure Service Fabric 应用程序部署到本地群集? - How do I deploy my Azure Service Fabric application to the local cluster consistently and successfully? 如何使用共享群集上相同端口的子路径在Azure Service Fabric上部署Asp.Net Core应用程序 - How to deploy Asp.Net Core apps on Azure Service Fabric using subpaths sharing same port on the cluster Azure DevOps项目-Service Fabric部署-示例失败 - Azure DevOps project - Service Fabric deploy - sample failing 如何在运行时查找将服务结构部署到哪个Azure群集 - How to find at runtime to which Azure cluster your service fabric is deployed 如何使用PowerShell或CLI启动本地Azure Service Fabric Cluster - How to start local Azure Service Fabric Cluster with PowerShell or CLI 如何使用TeamCity在Azure Service Fabric中自动部署Docker容器? - How to deploy Docker container automated in Azure Service Fabric with TeamCity? 发布到Azure Service Fabric群集时出错 - Error while publishing to Azure service fabric cluster
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM