2016-08-01 121 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參數中指示的位置上。