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"
                }
              ]
            }
          ]
        }
    }
    
  • 相关阅读:
    静态变量和非静态实例变量的区别
    引用iScroll.js实现上拉和下拖刷新
    微信公众平台开发(一) 配置接口
    Javascript中event.srcElement和event.target的区别
    js执行环境的深入理解
    jQuery on()方法
    JAVA基本类库介绍
    Java程序员学习之路
    Java以基础类库
    jQuery插件的开发之$.extend(),与$.fn.extend()
  • 原文地址:https://www.cnblogs.com/CharlesZHENG/p/8625768.html
Copyright © 2011-2022 走看看