我以某种方式破坏了我的服务结构集群,现在它只说“状态:升级服务无法访问”。

我如何找出问题所在?我的 VM 已启动,但我无法访问 SF Explorer,并且 Azure 门户中的 SF Blade 不包含任何节点!

我相信这与设置 reverse proxy 有关系。我已经下载并修改了默认的 5VM 模板并添加到 reverseProxyEndpointPort 属性中,在部署 VM 时,我收到此消息

Starting deployment...
New-AzureRmResourceGroupDeployment : 10:53:09 - Resource Microsoft.Compute/virtualMachineScaleSets 'Default' failed with message '{
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "VMExtensionHandlerNonTransientError",
        "message": "Handler 'Microsoft.Azure.ServiceFabric.ServiceFabricNode' has reported failure for VM Extension
'Default_ServiceFabricNode' with terminal error code '1009' and error message: 'Enable failed for plugin (name:
Microsoft.Azure.ServiceFabric.ServiceFabricNode, version 1.0.0.33) with exception Command
C:\\Packages\\Plugins\\Microsoft.Azure.ServiceFabric.ServiceFabricNode\\1.0.0.33\\ServiceFabricExtensionHandler.exe of
Microsoft.Azure.ServiceFabric.ServiceFabricNode has exited with Exit code: -532462766'"
      }
    ]
  }
}'
At C:\Users\User\Downloads\template\deploy.ps1:104 char:5
+     New-AzureRmResourceGroupDeployment -ResourceGroupName $resourceGr ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [NewAzureRmResourceGroupDeployment], Exception
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

最佳答案

编辑:

确保使用 VM 大小 D2 或更高版本部署模板。成功后您可以缩小规模。

原来的:

使用 RDP 连接到节点之一。查看事件查看器以获取更多信息。那里有一个 SF 部分。

尝试重新启动 SF 服务和/或机器。

(你做了什么让它变成这个状态?)

关于azure-service-fabric - Service Fabric 状态 : Upgrade service unreachable,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/42122677/

10-13 05:47