2016-12-20 1 views
0

로컬 5 노드 개발 클러스터에서 서비스 구조의 역방향 프록시 기능을 사용하려고합니다. 이 기능은 배포 된 클러스터에서는 제대로 작동하지만 dev 클러스터에서는 제대로 작동하지 않는 것 같습니다.localdever 클러스터의 reverseProxyEndpointPort를 실행할 수 있습니까?

배포 된 개발 클러스터와 로컬 개발 클러스터는 모두 5.4.145.9494에 있습니다. 지역 dev에 서비스 패브릭 SDK를 2015 대에 내가 How to configure and enable Azure Service Fabric Reverse Proxy for an existing on-premises cluster? 를 참조했지만 특히 내 경우에는 W7 clustermanifesttemplate는,이 값을 참조하지 않는 것 2.4.145.9494

입니다. "이전"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> 

답변

0

는 다른 노드 유형을 확인합니다. 로컬 클러스터에서 모든 엔드 포인트는 하나의 시스템에서 실행되기 때문에 각 노드 유형마다 고유 한 포트가 필요합니다. 나는 이미 다른 노드 유형에서 포트 19081을 사용하고있는 것으로 추측하고있다.

+0

netstat의 출력으로 원본을 업데이트했습니다. –

관련 문제