Show / Hide Table of Contents

Конфигурационный файл кластера

{
    "cluster":  {
                    "domain":  "devnomad",
                    "cluster_config":  "D:\\T2.DIP\\Cluster\\clusterConfig_generated.json",
                    "network_interface":  "Ethernet0",
                    "ip_address":  "10.1.12.255",
                    "dns_server_addresses":  [
                                                 "10.1.11.7",
                                                 "10.1.11.8"
                                             ],
                    "root_dir":  "D:\\T2.DIP\\Cluster",
                    "configs_dir":  "D:\\T2.DIP\\Cluster\\cluster_configs",
                    "data_dir":  "D:\\\\T2.DIP\\\\Cluster\\\\data",
                    "logs_dir":  "D:\\T2.DIP\\Cluster\\cluster_logs",
                    "bin_dir":  "D:\\T2.DIP\\Cluster\\bin",
                    "templates_dir":  "D:\\T2.DIP\\Cluster\\templates"
                },
    "instances":  [
                      {
                          "app":  "consul",
                          "template":  "consul_template_server.json",
                          "ports_dns":  53,
                          "start_join":  "127.0.0.1:8301",
                          "node_name":  "BY01-APP87",
                          "service_name":  "T2consuldevnomad",
                          "root_dir":  "D:\\T2.DIP\\Cluster",
                          "configs_dir":  "D:\\T2.DIP\\Cluster\\cluster_configs",
                          "data_dir":  "D:\\\\T2.DIP\\\\Cluster\\\\data\\\\consul",
                          "logs_dir":  "D:\\T2.DIP\\Cluster\\cluster_logs",
                          "bin_dir":  "D:\\T2.DIP\\Cluster\\bin",
                          "templates_dir":  "D:\\T2.DIP\\Cluster\\templates",
                          "app_bin_file":  "D:\\T2.DIP\\Cluster\\bin\\consul.exe",
                          "app_log_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\consul.log",
                          "app_err_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\consul.err",
                          "app_config":  "D:\\T2.DIP\\Cluster\\cluster_configs\\consul.json",
                          "app_params":  "agent -config-file \"\"D:\\T2.DIP\\Cluster\\cluster_configs\\consul.json\"\"",
                          "domain":  "devnomad",
                          "ports_http":  8500,
                          "ports_server":  8300,
                          "ports_serf_lan":  8301,
                          "ports_serf_wan":  8302,
                          "ports_grpc":  8502,
                          "advertise_addr":  "10.1.12.255",
                          "recursors":  "\"10.1.11.8\", \"10.1.11.7\""
                      },
                      {
                          "app":  "consul",
                          "template":  "consul_template_client.json",
                          "ports_dns":  53,
                          "start_join":  "127.0.0.1:8301",
                          "node_name":  "BY01-APP87-1",
                          "service_name":  "T2consuldevnomad1",
                          "root_dir":  "D:\\T2.DIP\\Cluster",
                          "configs_dir":  "D:\\T2.DIP\\Cluster\\cluster_configs",
                          "data_dir":  "D:\\\\T2.DIP\\\\Cluster\\\\data\\\\consul1",
                          "logs_dir":  "D:\\T2.DIP\\Cluster\\cluster_logs",
                          "bin_dir":  "D:\\T2.DIP\\Cluster\\bin",
                          "templates_dir":  "D:\\T2.DIP\\Cluster\\templates",
                          "app_bin_file":  "D:\\T2.DIP\\Cluster\\bin\\consul.exe",
                          "app_log_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\consul1.log",
                          "app_err_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\consul1.err",
                          "app_config":  "D:\\T2.DIP\\Cluster\\cluster_configs\\consul1.json",
                          "app_params":  "agent -config-file \"\"D:\\T2.DIP\\Cluster\\cluster_configs\\consul1.json\"\"",
                          "domain":  "devnomad",
                          "ports_http":  9500,
                          "ports_server":  9300,
                          "ports_serf_lan":  9301,
                          "ports_serf_wan":  9302,
                          "ports_grpc":  9502,
                          "advertise_addr":  "10.1.12.255"
                      },
                      {
                          "app":  "nomad",
                          "template":  "nomad_template_server.hcl",
                          "server_bootstrap_expect":  1,
                          "node_name":  "BY01-APP87",
                          "service_name":  "T2nomaddevnomad",
                          "root_dir":  "D:\\T2.DIP\\Cluster",
                          "configs_dir":  "D:\\T2.DIP\\Cluster\\cluster_configs",
                          "data_dir":  "D:\\\\T2.DIP\\\\Cluster\\\\data\\\\nomad2",
                          "logs_dir":  "D:\\T2.DIP\\Cluster\\cluster_logs",
                          "bin_dir":  "D:\\T2.DIP\\Cluster\\bin",
                          "templates_dir":  "D:\\T2.DIP\\Cluster\\templates",
                          "app_bin_file":  "D:\\T2.DIP\\Cluster\\bin\\nomad.exe",
                          "app_log_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\nomad.log",
                          "app_err_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\nomad.err",
                          "app_config":  "D:\\T2.DIP\\Cluster\\cluster_configs\\nomad.hcl",
                          "app_params":  "agent -config \"\"D:\\T2.DIP\\Cluster\\cluster_configs\\nomad.hcl\"\"",
                          "ports_http":  4646,
                          "ports_rpc":  4647,
                          "ports_serf":  4648,
                          "bind_addr":  "0.0.0.0",
                          "consul_address":  "127.0.0.1:8500",
                          "server_server_join_retry_join":  "\"BY01-APP87.node.devnomad:4646\""
                      },
                      {
                          "app":  "nomad",
                          "template":  "nomad_template_client.hcl",
                          "node_name":  "BY01-APP87-1",
                          "service_name":  "T2nomaddevnomad1",
                          "root_dir":  "D:\\T2.DIP\\Cluster",
                          "configs_dir":  "D:\\T2.DIP\\Cluster\\cluster_configs",
                          "data_dir":  "D:\\\\T2.DIP\\\\Cluster\\\\data\\\\nomad3",
                          "logs_dir":  "D:\\T2.DIP\\Cluster\\cluster_logs",
                          "bin_dir":  "D:\\T2.DIP\\Cluster\\bin",
                          "templates_dir":  "D:\\T2.DIP\\Cluster\\templates",
                          "app_bin_file":  "D:\\T2.DIP\\Cluster\\bin\\nomad.exe",
                          "app_log_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\nomad1.log",
                          "app_err_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\nomad1.err",
                          "app_config":  "D:\\T2.DIP\\Cluster\\cluster_configs\\nomad1.hcl",
                          "app_params":  "agent -config \"\"D:\\T2.DIP\\Cluster\\cluster_configs\\nomad1.hcl\"\"",
                          "ports_http":  5646,
                          "ports_rpc":  5647,
                          "ports_serf":  5648,
                          "bind_addr":  "0.0.0.0",
                          "consul_address":  "127.0.0.1:8500",
                          "client_servers":  "\"BY01-APP87.node.devnomad:4647\"",
                          "client_network_interface":  "Ethernet0"
                      },
                      {
                          "app":  "nomad",
                          "template":  "nomad_template_client_app.hcl",
                          "node_name":  "BY01-APP87-2",
                          "service_name":  "T2nomaddevnomad2",
                          "root_dir":  "D:\\T2.DIP\\Cluster",
                          "configs_dir":  "D:\\T2.DIP\\Cluster\\cluster_configs",
                          "data_dir":  "D:\\\\T2.DIP\\\\Cluster\\\\data\\\\nomad4",
                          "logs_dir":  "D:\\T2.DIP\\Cluster\\cluster_logs",
                          "bin_dir":  "D:\\T2.DIP\\Cluster\\bin",
                          "templates_dir":  "D:\\T2.DIP\\Cluster\\templates",
                          "app_bin_file":  "D:\\T2.DIP\\Cluster\\bin\\nomad.exe",
                          "app_log_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\nomad2.log",
                          "app_err_file":  "D:\\T2.DIP\\Cluster\\cluster_logs\\nomad2.err",
                          "app_config":  "D:\\T2.DIP\\Cluster\\cluster_configs\\nomad2.hcl",
                          "app_params":  "agent -config \"\"D:\\T2.DIP\\Cluster\\cluster_configs\\nomad2.hcl\"\"",
                          "ports_http":  6646,
                          "ports_rpc":  6647,
                          "ports_serf":  6648,
                          "bind_addr":  "0.0.0.0",
                          "consul_address":  "127.0.0.1:8500",
                          "client_servers":  "\"BY01-APP87.node.devnomad:4647\"",
                          "client_network_interface":  "Ethernet0"
                      }
                  ]
}
                "templates_dir":  "D:\\T2.DIP\\Cluster\\templates"
            },
"instances":  [
                  {
                      "app":  "consul",
                      "template":  "consul_template_server.json",
                      "ports_dns":  53,
                      "start_join":  "127.0.0.1:8301",
                      "node_name":  "BY01-APP87",
                      "service_name":  "T2consuldevnomad",
  • Improve this Doc
In This Article
Back to top Все права защищены (C) 1994-2022 ООО Топ Софт.