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

时间:2017-05-04 19:17:08

标签: windows networking azure-service-fabric lan

我的群集配置文件如下 `

{
    "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之外,它几乎与不受信任的群集的独立服务结构下载演示文件相同。我启用了远程注册表服务。我运行了 \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)

我不明白这个问题.VPS没有本地连接。所有都是公共IP。我不知道,这可能是一个问题。如何在这些VPS中制作虚拟局域网?任何人都可以给我一些关于这个错误的方向吗?任何帮助我的人都非常感激。 编辑:我使用了VPS的VM术语。

0 个答案:

没有答案