Service Fabric 群集升级失败
Service Fabric Cluster Upgrade Failing
我有一个内部部署的安全开发集群,我想升级它。当前版本为 5.7.198.9494。我已按照 here.
列出的步骤进行操作
在撰写本文时,SF 的最新版本是 6.2.283.9494。但是,运行ning Get-ServiceFabricRuntimeUpgradeVersion -BaseVersion 5.7.198.9494
显示我必须先更新到 6.0.232.9494,然后再升级到 6.2.283.9494。
我 运行 在 Powershell 中执行以下操作,升级 确实 开始:
Copy-ServiceFabricClusterPackage -Code -CodePackagePath .\MicrosoftAzureServiceFabric.6.0.232.9494.cab -ImageStoreConnectionString "fabric:ImageStore"
Register-ServiceFabricClusterPackage -Code -CodePackagePath MicrosoftAzureServiceFabric.6.0.232.9494.cab
Start-ServiceFabricClusterUpgrade -Code -CodePackageVersion 6.0.232.9494 -Monitored -FailureAction Rollback
但是,几分钟后发生了以下情况:
- Powershell IDE 崩溃
- Service Fabric 群集变得无法访问
- Service Fabric Local Cluster Manager 从任务栏中消失
- 事件查看器将记录事件,见下文。
- 一段时间后,虚拟机将重新启动。 Service Fabric Local Cluster Manager 只会提供设置或重启本地集群的选项。
事件查看器在应用程序和服务日志 -> Microsoft-Service Fabric -> 操作下有日志。大多数是关于打开、关闭和中止其中一个升级域的信息。有一些关于虚拟机无法打开升级域的警告,指出错误:租约失败。
这种行为一直发生,我还不能更新集群。我的猜测是我们无法升级开发集群,但我没有找到说明这一点的文章。
我是不是哪里做错了,还是无法升级开发集群?
我假设您有一个开发集群,在单个 VM 中有一个节点或多个节点。
如您提供的 link 文档的第一部分所述:
service-fabric-cluster-upgrade-windows-server
You can upgrade your cluster to the new version only if you're using a
production-style node configuration, where each Service Fabric node is
allocated on a separate physical or virtual machine. If you have a
development cluster, where more than one Service Fabric node is on a
single physical or virtual machine, you must re-create the cluster
with the new version.
我有一个内部部署的安全开发集群,我想升级它。当前版本为 5.7.198.9494。我已按照 here.
列出的步骤进行操作在撰写本文时,SF 的最新版本是 6.2.283.9494。但是,运行ning Get-ServiceFabricRuntimeUpgradeVersion -BaseVersion 5.7.198.9494
显示我必须先更新到 6.0.232.9494,然后再升级到 6.2.283.9494。
我 运行 在 Powershell 中执行以下操作,升级 确实 开始:
Copy-ServiceFabricClusterPackage -Code -CodePackagePath .\MicrosoftAzureServiceFabric.6.0.232.9494.cab -ImageStoreConnectionString "fabric:ImageStore"
Register-ServiceFabricClusterPackage -Code -CodePackagePath MicrosoftAzureServiceFabric.6.0.232.9494.cab
Start-ServiceFabricClusterUpgrade -Code -CodePackageVersion 6.0.232.9494 -Monitored -FailureAction Rollback
但是,几分钟后发生了以下情况:
- Powershell IDE 崩溃
- Service Fabric 群集变得无法访问
- Service Fabric Local Cluster Manager 从任务栏中消失
- 事件查看器将记录事件,见下文。
- 一段时间后,虚拟机将重新启动。 Service Fabric Local Cluster Manager 只会提供设置或重启本地集群的选项。
事件查看器在应用程序和服务日志 -> Microsoft-Service Fabric -> 操作下有日志。大多数是关于打开、关闭和中止其中一个升级域的信息。有一些关于虚拟机无法打开升级域的警告,指出错误:租约失败。
这种行为一直发生,我还不能更新集群。我的猜测是我们无法升级开发集群,但我没有找到说明这一点的文章。
我是不是哪里做错了,还是无法升级开发集群?
我假设您有一个开发集群,在单个 VM 中有一个节点或多个节点。
如您提供的 link 文档的第一部分所述: service-fabric-cluster-upgrade-windows-server
You can upgrade your cluster to the new version only if you're using a production-style node configuration, where each Service Fabric node is allocated on a separate physical or virtual machine. If you have a development cluster, where more than one Service Fabric node is on a single physical or virtual machine, you must re-create the cluster with the new version.