【发布时间】:2019-11-17 17:35:46
【问题描述】:
我正在尝试使用“Connect-ServiceFabricCluster”连接到 ServiceFabricCluster,但一直在获取
Connect-ServiceFabricCluster : An error occurred during this operation. Please check the trace logs for more details
我使用的命令是:
Connect-ServiceFabricCluster -ConnectionEndpoint $endpoint `
-X509Credential `
-ServerCertThumbprint $serverThumbprint `
-FindType FindByThumbprint -FindValue $serverThumbprint `
-StoreLocation CurrentUser -StoreName My
对于 $serverThumbprint 值,我使用 Azure 门户上的指纹来获取相关证书(见下文)
我还从 Azure 下载了 .cer 并将其安装在我的机器上。
对于端点,我使用集群概览刀片中提供的“客户端连接端点”。
【问题讨论】:
-
你能添加错误吗?您和集群之间是否有防火墙阻止了 19000 端口?
标签: azure powershell azure-service-fabric