无法使用 powershell 脚本创建本地服务结构集群
Can't create on premise service fabric cluster using the powershell scripts
当我尝试使用 CreateServiceFabricCluster.ps1 脚本创建集群时,出现以下错误:"JSON config is invalid. Check syntax/model.: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0..."。我已经尝试了这三个不同的系统(2012 R2 和两个 2016 服务器),结果相同。我使用的是运行时版本 5.3.3.11 和 SDK 版本 2.3.311。
我发现了问题。您不能在构建集群的同一台计算机上安装 Service Fabric Runtime 或 SDK。删除这两个后,我就可以创建集群了。
当我尝试使用 CreateServiceFabricCluster.ps1 脚本创建集群时,出现以下错误:"JSON config is invalid. Check syntax/model.: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0..."。我已经尝试了这三个不同的系统(2012 R2 和两个 2016 服务器),结果相同。我使用的是运行时版本 5.3.3.11 和 SDK 版本 2.3.311。
我发现了问题。您不能在构建集群的同一台计算机上安装 Service Fabric Runtime 或 SDK。删除这两个后,我就可以创建集群了。