【问题标题】:Can the reverseProxyEndpointPort on local dev cluster run?本地开发集群上的 reverseProxyEndpointPort 可以运行吗?
【发布时间】:2017-05-05 21:35:45
【问题描述】:

我正在尝试在本地 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? 但是clustermanifesttemplate,特别是在我的例子中的w7,似乎没有引用这些值。只有“旧”的 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>

【问题讨论】:

    标签: azure-service-fabric


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2021-11-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-04-03
      • 1970-01-01
      • 2019-05-30
      • 2014-11-30
      • 2021-05-21
      相关资源
      最近更新 更多