【问题标题】:Service Fabric Status: Upgrade service unreachableService Fabric 状态:升级服务无法访问
【发布时间】:2017-06-26 15:14:21
【问题描述】:

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

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

我相信这与设置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

【问题讨论】:

标签: azure-service-fabric


【解决方案1】:

编辑:

确保您使用 D2 或更大的 VM 大小部署模板。成功后可以缩容。

原文:

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

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

(你做了什么让它进入这个状态?)

【讨论】:

  • 我正在尝试设置反向代理docs.microsoft.com/en-us/azure/service-fabric/… 我尝试重新启动服务等,但它们仍然失败。我删除了资源组,下载了模板并从头开始尝试使用 reverseProxyEndpointPort 属性部署它。部署失败并出现上述错误(已编辑问题)
  • 以前没见过那个。您使用的是什么机器尺寸?部署问题通常是由使用速度太慢的机器引起的。
  • Standard_A0,也许就是这个原因?
  • 一定是这样,现在一切都设置好了,可以工作了。非常感谢您的帮助!
  • 试过 D2_V2,还是卡住了。使用了 D3_V2,完成后缩小尺寸。
猜你喜欢
  • 2017-10-30
  • 2017-06-22
  • 2017-03-17
  • 2016-08-07
  • 2016-11-16
  • 2018-09-04
  • 2017-02-18
  • 2018-09-01
  • 2016-09-21
相关资源
最近更新 更多