本地开发群集上的reverseProxyEndpointPort可以运行吗?

时间:2016-12-20 15:48:58

标签: azure-service-fabric

我正在尝试在本地5节点开发群集上启用服务结构的反向代理功能。此功能似乎在部署的群集上正常工作,但在开发群集上却没有?

部署和本地开发群集都在5.4.145.9494上。 本地开发者对抗vs 2015,服务面料sdk 2.4.145.9494

我引用了How to configure and enable Azure Service Fabric Reverse Proxy for an existing on-premises cluster? 但是,在我的情况下,特别是w7的clustermanifesttelate似乎并没有引用这些值。只有年龄大的" ApplicationGateway / HTTP。

如果我启用

<Section Name="ApplicationGateway/Http">
    <Parameter Name="IsEnabled" Value="true" />
</Section>

然后部署应用程序,几分钟后我的(本地)群集崩溃。

当前节点类型示例供参考:

<NodeType Name="NodeType0">
    <Endpoints>
        <ClientConnectionEndpoint Port="19000" />
        <LeaseDriverEndpoint Port="19001" />
        <ClusterConnectionEndpoint Port="19002" />
        <HttpGatewayEndpoint Port="19080" Protocol="http" />
        <ServiceConnectionEndpoint Port="19006" />
        <HttpApplicationGatewayEndpoint Port="19081" Protocol="http" />
        <ApplicationEndpoints StartPort="30001" EndPort="31000" />
    </Endpoints>
</NodeType>

其他信息: Windows事件查看器正在显示

HostedService: _Node_0 on node id bf865279ba277deb864a976fbf4c200e terminated unexpectedly with code 3221225781 and process name FabricApplicationGateway.exe

端口使用:

netstat -anob | find "19081"
<no return>

1 个答案:

答案 0 :(得分:0)

检查您的其他节点类型。在本地群集上,每个端点在每个节点类型上都需要一个唯一的端口,因为它们都在一台机器上运行。我猜其他东西已经在另一个节点类型上使用了端口19081。