2016-08-01 91 views
0

我正尝试从我刚设置的新Azure虚拟机连接到Azure服务Fabric群集。但是当我使用的Connect-ServiceFabricCluster cmdlet的是收到以下错误消息:当我使用完全相同的从Azure VM连接到Azure服务Fabric群集

Connect-ServiceFabricCluster -ConnectionEndpoint {ENDPOINT ADDRESS} -FindType FindByThumbprint -FindValue {THUMBPRINT} -X509Credential -ServerCertThumbprint {THUMBPRINT} -StoreLocation CurrentUser -StoreName My 

Connect-ServiceFabricCluster : An error occurred during this operation. Please check the trace logs for more details. 
At line:1 char:1 
+ Connect-ServiceFabricCluster -ConnectionEndpoint ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : InvalidOperation: (:) [Connect-ServiceFabricCluster], FabricException 
    + FullyQualifiedErrorId : CreateClusterConnectionErrorId,Microsoft.ServiceFabric.Powershell.ConnectCluster 

我使用PowerShell中的命令(值混淆)命令在我的开发PC上工作得很好。任何有关错误的建议以及我如何调试这个建议都是值得欢迎的!

+1

您是否已经在虚拟机上的参数中指定的位置安装了您的客户端证书? –

+0

@MattThalman就是这样。谢谢!如果您可以添加它作为答案,我可以接受它。 –

回答

1

确保您已将您的客户端证书安装在VM中Connect-ServiceFabricCluster cmdlet参数中指示的位置上。