CleanFabric之后的Azure Service Fabric先前安装

Gre*_*ngs 2 azure azure-service-fabric

我正在尝试在群集中的某个节点上(可能不正确地)运行clean后重新安装Azure Service Fabric.

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

FabricInstallerSvc is already removed.
FabricSetup.exe is no longer in FabricCodePath. Uninstall may have already run.
Run Code Online (Sandbox Code Playgroud)

当我为单机节点运行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
Run Code Online (Sandbox Code Playgroud)

我一直在寻找有关CleanFabric的这个或一些文档的解决方案并且一直没有成功.任何人都知道如何彻底清理机器以重新安装Service Fabric吗?

小智 6

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