zoukankan      html  css  js  c++  java
  • ServiceFabric极简文档-2 部署环境搭建-配置文件

    类型:ClusterConfig.Unsecure.MultiMachine

    说明:至少3台机子

    {
        "name": "SampleCluster",
        "clusterConfigurationVersion": "1.0.0",
        "apiVersion": "04-2017",
        "nodes": [
          {
            "nodeName": "one",
            "iPAddress": "10.0.0.217",
            "nodeTypeRef": "NodeType0",
            "faultDomain": "fd:/dc1/r0",
            "upgradeDomain": "UD0"
          },
          {
            "nodeName": "one1",
            "iPAddress": "10.0.0.219",
            "nodeTypeRef": "NodeType0",
            "faultDomain": "fd:/dc1/r1",
            "upgradeDomain": "UD1"
          },
          {
            "nodeName": "two",
            "iPAddress": "10.0.0.216",
            "nodeTypeRef": "NodeType0",
            "faultDomain": "fd:/dc2/r2",
            "upgradeDomain": "UD2"
          }
        ],
        "properties": {
            "diagnosticsStore": 
            {
                "metadata":  "Please replace the diagnostics file share with an actual file share accessible from all cluster machines.",
                "dataDeletionAgeInDays": "7",
                "storeType": "FileShare",
                "connectionstring": "C:\ProgramData\SF\DiagnosticsStore"
            },
            "nodeTypes": [
              {
                "name": "NodeType0",
                "clientConnectionEndpointPort": "19000",
                "clusterConnectionEndpointPort": "19001",
                "leaseDriverEndpointPort": "19002",
                "serviceConnectionEndpointPort": "19003",
                "httpGatewayEndpointPort": "19080",
                "reverseProxyEndpointPort": "19081",
                "applicationPorts": {
                    "startPort": "20001",
                    "endPort": "20031"
                },
                "isPrimary": true
              }
          ],
          "fabricSettings": [
            {
              "name": "Setup",
              "parameters": [
                {
                    "name": "FabricDataRoot",
                    "value": "C:\ProgramData\SF"
                },
                {
                    "name": "FabricLogRoot",
                    "value": "C:\ProgramData\SF\Log"
                }
              ]
            }
          ]
        }
    }
    
  • 相关阅读:
    背景图
    PKUWC 2019~2020 游记
    前置内容2:复杂度分析
    前置内容1:算法与数据结构
    莫比乌斯反演学习笔记2
    莫比乌斯反演学习笔记1
    CSP-J&S-2019 游记
    最近面试的一些感触
    算法学习-整数反转
    入行九年,入园8年,突然想写一点东西.
  • 原文地址:https://www.cnblogs.com/CharlesZHENG/p/8625768.html
Copyright © 2011-2022 走看看