Ich versuche, einen lokalen 5-Knoten-Cluster mithilfe von Azure Service Fabric V5.1.150.9590 auf 5 VMs mit Windows Server 2012 R2 bereitzustellen.Azure Service Fabric 5.1.150.9590 On-Premise-Cluster
ClusterConfig.Unsecure.json als Muster verwenden, erhalte ich die folgende Ausnahme:
Create Cluster failed with exception: System.AggregateException: One or more errors occurred. ---> System.ArgumentExcept
ion: Primary node type node count is not sufficient for reliability level Bronze; You have total primary node type nodes
: 1; the required seed node count for this reliability level is 3.
at System.Fabric.WRPServiceCommon.Common.DeployAnywhereSettingsValidator.ValidatNodeTypes()
at System.Fabric.WRPServiceCommon.Common.DeployAnywhereSettingsValidator.Validate()
at System.Fabric.JsonImpl.ManifestConverter.ConstructClusterManifestBuilder(String jsonClusterConfigPath)
at System.Fabric.JsonImpl.ManifestConverter.System.Fabric.JsonWrapper.IManifestConverter.ConvertFromJsonToXml(String jsonClusterConfigPath)
at System.Fabric.DeploymentManager.<CreateClusterAsyncInternal>d__a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Fabric.DeploymentManager.<CreateClusterAsync>d__0.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at Microsoft.ServiceFabric.Powershell.ClusterCmdletBase.NewCluster(String clusterConfigurationFilePath, String fabric PackageSourcePath, Boolean rollbackOnFailure)
---> (Inner Exception #0) System.ArgumentException: Primary node type node count is not sufficient for reliability level Bronze; You have total primary node type nodes: 1; the required seed node count for this reliability level is 3.
at System.Fabric.WRPServiceCommon.Common.DeployAnywhereSettingsValidator.ValidatNodeTypes()
at System.Fabric.WRPServiceCommon.Common.DeployAnywhereSettingsValidator.Validate()
at System.Fabric.JsonImpl.ManifestConverter.ConstructClusterManifestBuilder(String jsonClusterConfigPath)
at System.Fabric.JsonImpl.ManifestConverter.System.Fabric.JsonWrapper.IManifestConverter.ConvertFromJsonToXml(String jsonClusterConfigPath)
at System.Fabric.DeploymentManager.<CreateClusterAsyncInternal>d__a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Fabric.DeploymentManager.<CreateClusterAsync>d__0.MoveNext()<---
ich an meinem Latein am Ende bin versucht, diese Arbeit zu machen. Hat jemand ein Beispiel von ClusterConfig.json, das mit Azure Service Fabric V5.1.150.9590 funktioniert?
Alle Links zur Dokumentation über ClusterConfig.json sind ebenfalls hilfreich.
Wie viele Knoten in "Knoten" Abschnitt haben Sie in dieser JSON-Datei? – cassandrad
@cassandrad Ich habe 5 Knoten definiert – JunRam