SF Explorer中的群集详细信息:加载度量标准信息

时间:2016-10-06 09:22:24

标签: azure-service-fabric

在群集的“详细信息”页面上,在Load Metric Information部分中,我可以看到Action列的值不断变化。
它正在从Creation更改为CreationWithMove,然后再返回CountPrimaryCountReplicaCount。对于其他条目,它显示NoActionNeeded

这是什么意思?它是否会导致客户端连接到群集的超时?
我的群集清单:

<NodeTypes>
  <NodeType Name="NodeType0">
    <Endpoints>
      <ClientConnectionEndpoint Port="19000" />
      <LeaseDriverEndpoint Port="19002" />
      <ClusterConnectionEndpoint Port="19001" />
      <HttpGatewayEndpoint Port="19080" Protocol="http" />
      <ServiceConnectionEndpoint Port="19003" />
      <ApplicationEndpoints StartPort="20001" EndPort="20031" />
      <EphemeralEndpoints StartPort="20032" EndPort="20287" />
    </Endpoints>
    <PlacementProperties>
      <Property Name="NodeTypeName" Value="NodeType0" />
    </PlacementProperties>
  </NodeType>
</NodeTypes>
<Infrastructure>
  <WindowsServer>
    <NodeList>
      <Node NodeName="vm0" IPAddressOrFQDN="test.env.com" NodeTypeRef="NodeType0" FaultDomain="fd:/dc1/r0" UpgradeDomain="UD0" />
      <Node NodeName="vm1" IPAddressOrFQDN="test.env.com" NodeTypeRef="NodeType0" FaultDomain="fd:/dc2/r0" UpgradeDomain="UD1" />
      <Node NodeName="vm2" IPAddressOrFQDN="test.env.com" IsSeedNode="true" NodeTypeRef="NodeType0" FaultDomain="fd:/dc3/r0" UpgradeDomain="UD2" />
      <Node NodeName="vm3" IPAddressOrFQDN="test.env.com" IsSeedNode="true" NodeTypeRef="NodeType0" FaultDomain="fd:/dc4/r0" UpgradeDomain="UD3" />
      <Node NodeName="vm4" IPAddressOrFQDN="test.env.com" IsSeedNode="true" NodeTypeRef="NodeType0" FaultDomain="fd:/dc5/r0" UpgradeDomain="UD4" />
    </NodeList>
  </WindowsServer>
</Infrastructure>
<FabricSettings>
  <Section Name="ClusterManager">
    <Parameter Name="MinReplicaSetSize" Value="3" />
    <Parameter Name="PlacementConstraints" Value="NodeTypeName==NodeType0" />
    <Parameter Name="TargetReplicaSetSize" Value="3" />
  </Section>
  <Section Name="FailoverManager">
    <Parameter Name="ExpectedClusterSize" Value="5" />
    <Parameter Name="MinReplicaSetSize" Value="3" />
    <Parameter Name="PlacementConstraints" Value="NodeTypeName==NodeType0" />
    <Parameter Name="TargetReplicaSetSize" Value="3" />
  </Section>
  <Section Name="FaultAnalysisService">
    <Parameter Name="MinReplicaSetSize" Value="3" />
    <Parameter Name="PlacementConstraints" Value="NodeTypeName==NodeType0" />
    <Parameter Name="TargetReplicaSetSize" Value="3" />
  </Section>
  <Section Name="Federation">
    <Parameter Name="NodeIdGeneratorVersion" Value="V4" />
  </Section>
  <Section Name="Hosting">
    <Parameter Name="EndpointProviderEnabled" Value="true" />
    <Parameter Name="FirewallPolicyEnabled" Value="true" />
    <Parameter Name="RunAsPolicyEnabled" Value="true" />
  </Section>
  <Section Name="HttpGateway">
    <Parameter Name="IsEnabled" Value="true" />
  </Section>
  <Section Name="NamingService">
    <Parameter Name="MinReplicaSetSize" Value="3" />
    <Parameter Name="PlacementConstraints" Value="NodeTypeName==NodeType0" />
    <Parameter Name="TargetReplicaSetSize" Value="3" />
  </Section>
  <Section Name="ReconfigurationAgent">
    <Parameter Name="IsDeactivationInfoEnabled" Value="true" />
  </Section>
  <Section Name="Security">
    <Parameter Name="ClientRoleEnabled" Value="true" />
    <Parameter Name="ClusterCredentialType" Value="None" />
    <Parameter Name="DisableFirewallRuleForDomainProfile" Value="true" />
    <Parameter Name="DisableFirewallRuleForPrivateProfile" Value="true" />
    <Parameter Name="DisableFirewallRuleForPublicProfile" Value="true" />
    <Parameter Name="ServerAuthCredentialType" Value="None" />
  </Section>
  <Section Name="UpgradeOrchestrationService">
    <Parameter Name="AutoupgradeEnabled" Value="True" />
    <Parameter Name="ClusterId" Value="568fbf20-048e-43dc-828e-dd42df9c662f" />
    <Parameter Name="MinReplicaSetSize" Value="3" />
    <Parameter Name="PlacementConstraints" Value="NodeTypeName==NodeType0" />
    <Parameter Name="TargetReplicaSetSize" Value="3" />
  </Section>
</FabricSettings>

1 个答案:

答案 0 :(得分:0)

我遇到了相同的行为,经过一些试验和错误后,我发现它发生在无状态应用程序(我到目前为止只测试了2个)实例计数为-1。

当我将实例计数设置为范围1中的任何数字时。&lt; number_of_nodes&gt; 加载度量标准信息表下的计数 PrimaryCount ReplicaCount 指标的操作值在群集 DETAILS 标签中,每秒都不再更改为创建 CreationWithMove ,而是保持 NoActionNeeded