在机器 <IP Address> 上查询远程注册表服务导致异常:无法更改打开的服务管理器

Querying remote registry service on machine <IP Address> resulted in exception: Unable to change open service manager

我的集群Config文件如下 `

{
    "name": "SampleCluster",
    "clusterConfigurationVersion": "1.0.0",
    "apiVersion": "01-2017",
    "nodes": 
    [
        {
            "nodeName": "vm0",
            "iPAddress": "here is my VPS ip",
            "nodeTypeRef": "NodeType0",
            "faultDomain": "fd:/dc1/r0",
            "upgradeDomain": "UD0"
        },
        {
            "nodeName": "vm1",
            "iPAddress": "here is my another VPS ip",
            "nodeTypeRef": "NodeType0",
            "faultDomain": "fd:/dc1/r1",
            "upgradeDomain": "UD1"
        },
        {
            "nodeName": "vm2",
            "iPAddress": "here is my another VPS ip",
            "nodeTypeRef": "NodeType0",
            "faultDomain": "fd:/dc1/r2",
            "upgradeDomain": "UD2"
        }
    ],
    "properties": {
        "reliabilityLevel": "Bronze",
        "diagnosticsStore": 
        {
            "metadata":  "Please replace the diagnostics file share with an actual file share accessible from all cluster machines.",
            "dataDeletionAgeInDays": "7",
            "storeType": "FileShare",
            "IsEncrypted": "false",
            "connectionstring": "c:\ProgramData\SF\DiagnosticsStore"
        },
        "nodeTypes": [
          {
            "name": "NodeType0",
            "clientConnectionEndpointPort": "19000",
            "clusterConnectionEndpointPort": "19001",
            "leaseDriverEndpointPort": "19002",
            "serviceConnectionEndpointPort": "19003",
            "httpGatewayEndpointPort": "19080",
            "reverseProxyEndpointPort": "19081",
            "applicationPorts": {
                "startPort": "20001",
                "endPort": "20031"
            },
            "isPrimary": true
          }
      ],
      "fabricSettings": [
        {
          "name": "Setup",
          "parameters": [
            {
                "name": "FabricDataRoot",
                "value": "C:\ProgramData\SF"
            },
            {
                "name": "FabricLogRoot",
                "value": "C:\ProgramData\SF\Log"
            }
          ]
        }
      ]
    }
}

除了我的 VPS ip 外,它与不受信任的集群的独立服务结构下载演示文件几乎相同。我启用了远程注册表 service.I 运行 \TestConfiguration.ps1 -ClusterConfigFilePath \ClusterConfig.Unsecure.MultiMachine.json 但我收到以下错误。

Unable to change open service manager handle because 5
    Unable to query service configuration because System.InvalidOperationException: Unable to change open service manager ha
    ndle because 5
       at System.Fabric.FabricDeployer.FabricDeployerServiceController.GetServiceStartupType(String machineName, String serv
    iceName)
    Querying remote registry service on machine <IP Address> resulted in exception: Unable to change open service manager
    handle because 5.
    Unable to change open service manager handle because 5
    Unable to query service configuration because System.InvalidOperationException: Unable to change open service manager ha
    ndle because 5
       at System.Fabric.FabricDeployer.FabricDeployerServiceController.GetServiceStartupType(String machineName, String serv
    iceName)
    Querying remote registry service on machine <Another IP Address> resulted in exception: Unable to change open service manager
    handle because 5.
    Best Practices Analyzer determined environment has an issue. Please see additional BPA log output in DeploymentTraces



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

Test Config failed with exception: System.InvalidOperationException: Best Practices Analyzer determined environment has
an issue. Please see additional BPA log output in DeploymentTraces folder.
   at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)

我不明白 problem.VPSs 不是本地连接的。都是 public IP.I 不知道,这可能是个问题。我如何在这些 VPS 中创建虚拟 LAN?任何人都可以给我一些关于这个错误的指导吗?非常感谢任何人帮助我。 编辑:我使用了 VPS.

的 VM 术语

我终于让它工作了。实际上所有节点都在网络中,我认为不是。我启用文件共享。我尝试从我 运行 配置测试的节点访问共享文件到所有其他节点。我必须提供登录凭据。然后它就像一个魅力。