简体   繁体   English

从Azure VM连接到Azure Service Fabric群集

[英]Connecting to Azure Service Fabric cluster from Azure VM

I am trying to connect to my Azure Service Fabric cluster from a new Azure virtual machine I just set up. 我正在尝试从刚刚设置的新Azure虚拟机连接到我的Azure Service Fabric群集。 But when I use the Connect-ServiceFabricCluster cmdlet is get the following error message: 但是,当我使用Connect-ServiceFabricCluster cmdlet时,会收到以下错误消息:

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

The command I am using in powershell is (values are obfuscated): 我在powershell中使用的命令是(值被混淆):

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

When I use the exact same command on my development PC it is working just fine. 当我在我的开发PC上使用完全相同的命令时它工作得很好。 Any suggestions on what is going wrong and how I might debug this is welcome! 关于出了什么问题以及如何调试这个的任何建议都是受欢迎的!

确保在VM上安装了客户端证书,该证书位于Connect-ServiceFabricCluster cmdlet参数中指示的位置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM