【问题标题】:Azure Service Fabric Previous Installation after CleanFabricCleanFabric 之后的 Azure Service Fabric 先前安装
【发布时间】:2016-10-31 18:03:29
【问题描述】:

在集群中的一个节点上运行干净之后(可能不正确),我正在尝试重新安装 Azure Service Fabric。

我已经运行 CleanFabric.ps1 并得到以下结果:

FabricInstallerSvc is already removed.
FabricSetup.exe is no longer in FabricCodePath. Uninstall may have already run.

当我为单机节点运行 TestConfiguration.ps1 时,我得到以下结果:

    Microsoft.Azure.ServiceFabric.WindowsServer.5.3.301.9590> .\TestConfiguration.ps1 -Clust
    erConfigFilePath .\ClusterConfig.Unsecure.DevCluster.json
    Trace folder already exists. Traces will be written to existing trace folder: Microsoft.Azu
    re.ServiceFabric.WindowsServer.5.3.301.9590\DeploymentTraces

    Previous Fabric installation detected on machine localhost. Please clean the machine.
    Run Test-ServiceFabricConfiguration or TestConfiguration.ps1 to validate configuration & environment state. Best Practic
    es Analyzer hit validation error(s).


    LocalAdminPrivilege        : True
    IsJsonValid                : True
    IsCabValid                 : True
    RequiredPortsOpen          : True
    RemoteRegistryAvailable    : True
    FirewallAvailable          : True
    RpcCheckPassed             : True
    NoConflictingInstallations : True
    FabricInstallable          : False
    Passed                     : False

我四处搜索试图找到解决此问题的方法或有关 CleanFabric 的一些文档,但均未成功。有谁知道如何彻底清洁机器以在其上重新安装 Service Fabric?

【问题讨论】:

    标签: azure azure-service-fabric


    【解决方案1】:

    如果其他人在运行 Windows 的本地计算机上遇到此问题,我采取了以下措施来解决它:确保确实首先运行干净的结构。然后转到关键:[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Service Fabric]
    并确保在清除所有目录后手动删除它引用的路径(如果您遇到要删除的进程运行文件,只需进入安全模式然后将其全部杀死)删除密钥本身。这允许我在节点上重新安装一个新集群。

    【讨论】:

    • 谢谢,这有帮助。通常 CleanFabric 脚本应该这样做,但我也遇到了剩余的注册表项导致问题。删除密钥有助于...
    猜你喜欢
    • 2019-05-10
    • 1970-01-01
    • 2018-01-19
    • 2019-11-30
    • 1970-01-01
    • 2017-06-17
    • 2016-09-29
    • 2020-11-28
    • 1970-01-01
    相关资源
    最近更新 更多