我尝试做的是从本地调用Deploy-FabricApplication.ps1中的发布配置文件,将App推送到集群。
如果我执行Get-ServiceFabricClusterConnection,我会得到以下结果。我的理解是我应该在我的发布配置文件中使用该信息来选择与群集的连接。如果是这样,我应该使用哪些物品?大多数示例仅适用于Azure。
ConnectionEndpoint :
FabricClientSettings : {
ClientFriendlyName : PowerShell-06442d85-7b51-40d0-8859-3ac9551c7363
PartitionLocationCacheLimit : 100000
PartitionLocationCacheBucketCount : 1024
ServiceChangePollInterval : 00:02:00
ConnectionInitializationTimeout : 00:00:02
KeepAliveInterval : 00:00:20
ConnectionIdleTimeout : 00:00:00
HealthOperationTimeout : 00:02:00
HealthReportSendInterval : 00:00:00
HealthReportRetrySendInterval : 00:00:30
NotificationGatewayConnectionTimeout : 00:00:30
NotificationCacheUpdateTimeout : 00:00:30
AuthTokenBufferSize : 4096
}
GatewayInformation : {
NodeAddress : {myBox}.{MyDomain}.net:19000
NodeId : 85772935593a0315f92e3293832c5fe9
NodeInstanceId : 131303949240153844
NodeName : vm0
}
PSComputerName : {mybox}.{mydomain}.net
ConnectionEndpoint :
FabricClientSettings : {
ClientFriendlyName : PowerShell-06442d85-7b51-40d0-8859-3ac9551c7363
PartitionLocationCacheLimit : 100000
PartitionLocationCacheBucketCount : 1024
ServiceChangePollInterval : 00:02:00
ConnectionInitializationTimeout : 00:00:02
KeepAliveInterval : 00:00:20
ConnectionIdleTimeout : 00:00:00
HealthOperationTimeout : 00:02:00
HealthReportSendInterval : 00:00:00
HealthReportRetrySendInterval : 00:00:30
NotificationGatewayConnectionTimeout : 00:00:30
NotificationCacheUpdateTimeout : 00:00:30
AuthTokenBufferSize : 4096
}
GatewayInformation : {
NodeAddress : {MyBox}.{MyDomain}.net:19000
NodeId : 85772935593a0315f92e3293832c5fe9
NodeInstanceId : 131303949240153844
NodeName : vm0
}
PSComputerName : {myBox}.{myDomian}.net
谢谢, 格雷格
答案 0 :(得分:1)
只是端点和您正在使用的任何身份验证:
e.g。
BeginConnect