Last active
August 25, 2016 07:43
-
-
Save tkuchiki/c4ea89df94c8e2a51b83 to your computer and use it in GitHub Desktop.
Consul Multi-DC 検証用設定ファイル
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"datacenter": "dc01", | |
"data_dir": "/tmp/dc01/node4", | |
"log_level": "INFO", | |
"dns_config": { | |
"allow_stale": true, | |
"node_ttl": "60s", | |
"max_stale": "60s", | |
"service_ttl": { | |
"*": "15s" | |
} | |
}, | |
"ports": { | |
"dns": 8630, | |
"http": 8530, | |
"rpc": 8430, | |
"server": 8330, | |
"serf_lan": 8331, | |
"serf_wan": 8332 | |
}, | |
"node_name": "consul04-dc01", | |
"start_join": [ | |
"127.0.0.1:8301", | |
"127.0.0.1:8311", | |
"127.0.0.1:8321" | |
], | |
"recursor": "8.8.8.8" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"datacenter": "dc01", | |
"data_dir": "/tmp/dc01/node1", | |
"log_level": "INFO", | |
"dns_config": { | |
"allow_stale": true, | |
"node_ttl": "60s", | |
"max_stale": "60s", | |
"service_ttl": { | |
"*": "15s" | |
} | |
}, | |
"node_name": "consul01-dc01", | |
"start_join": [], | |
"server": true, | |
"bootstrap_expect": 3 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"datacenter": "dc01", | |
"data_dir": "/tmp/dc01/node2", | |
"log_level": "INFO", | |
"dns_config": { | |
"allow_stale": true, | |
"node_ttl": "60s", | |
"max_stale": "60s", | |
"service_ttl": { | |
"*": "15s" | |
} | |
}, | |
"ports": { | |
"dns": 8610, | |
"http": 8510, | |
"rpc": 8410, | |
"server": 8310, | |
"serf_lan": 8311, | |
"serf_wan": 8312 | |
}, | |
"node_name": "consul02-dc01", | |
"start_join": ["127.0.0.1:8301"], | |
"server": true, | |
"recursor": "8.8.8.8" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"datacenter": "dc01", | |
"data_dir": "/tmp/dc01/node3", | |
"log_level": "INFO", | |
"dns_config": { | |
"allow_stale": true, | |
"node_ttl": "60s", | |
"max_stale": "60s", | |
"service_ttl": { | |
"*": "15s" | |
} | |
}, | |
"ports": { | |
"dns": 8620, | |
"http": 8520, | |
"rpc": 8420, | |
"server": 8320, | |
"serf_lan": 8321, | |
"serf_wan": 8322 | |
}, | |
"node_name": "consul03-dc01", | |
"start_join": [ | |
"127.0.0.1:8301", | |
"12y.0.0.1:8311" | |
], | |
"server": true, | |
"recursor": "8.8.8.8" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"datacenter": "dc02", | |
"data_dir": "/tmp/dc02/node4", | |
"log_level": "INFO", | |
"dns_config": { | |
"allow_stale": true, | |
"node_ttl": "60s", | |
"max_stale": "60s", | |
"service_ttl": { | |
"*": "15s" | |
} | |
}, | |
"ports": { | |
"dns": 18630, | |
"http": 18530, | |
"rpc": 18430, | |
"server": 18330, | |
"serf_lan": 18331, | |
"serf_wan": 18332 | |
}, | |
"node_name": "consul04-dc02", | |
"start_join": [ | |
"127.0.0.1:18301", | |
"127.0.0.1:18311", | |
"127.0.0.1:18321" | |
], | |
"recursor": "8.8.8.8" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"datacenter": "dc02", | |
"data_dir": "/home/consul/tmp/dc02/node1", | |
"log_level": "INFO", | |
"dns_config": { | |
"allow_stale": true, | |
"node_ttl": "60s", | |
"max_stale": "60s", | |
"service_ttl": { | |
"*": "15s" | |
} | |
}, | |
"node_name": "consul01-dc02", | |
"ports": { | |
"dns": 18600, | |
"http": 18500, | |
"rpc": 18400, | |
"server": 18300, | |
"serf_lan": 18301, | |
"serf_wan": 18302 | |
}, | |
"start_join": [], | |
"start_join_wan": [ | |
"127.0.0.1:8302", | |
"127.0.0.1:8312", | |
"127.0.0.1:8322" | |
], | |
"server": true, | |
"bootstrap_expect": 3 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"datacenter": "dc02", | |
"data_dir": "/tmp/dc02/node2", | |
"log_level": "INFO", | |
"dns_config": { | |
"allow_stale": true, | |
"node_ttl": "60s", | |
"max_stale": "60s", | |
"service_ttl": { | |
"*": "15s" | |
} | |
}, | |
"ports": { | |
"dns": 18610, | |
"http": 18510, | |
"rpc": 18410, | |
"server": 18310, | |
"serf_lan": 18311, | |
"serf_wan": 18312 | |
}, | |
"node_name": "consul02-dc02", | |
"start_join": ["127.0.0.1:18301"], | |
"start_join_wan": [ | |
"127.0.0.1:8302", | |
"127.0.0.1:8312", | |
"127.0.0.1:8322" | |
], | |
"server": true, | |
"recursor": "8.8.8.8" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"datacenter": "dc02", | |
"data_dir": "/tmp/dc02/node3", | |
"log_level": "INFO", | |
"dns_config": { | |
"allow_stale": true, | |
"node_ttl": "60s", | |
"max_stale": "60s", | |
"service_ttl": { | |
"*": "15s" | |
} | |
}, | |
"ports": { | |
"dns": 18620, | |
"http": 18520, | |
"rpc": 18420, | |
"server": 18320, | |
"serf_lan": 18321, | |
"serf_wan": 18322 | |
}, | |
"node_name": "consul03-dc02", | |
"start_join": [ | |
"127.0.0.1:18301", | |
"127.0.0.1:18311" | |
], | |
"start_join_wan": [ | |
"127.0.0.1:8302", | |
"127.0.0.1:8312", | |
"127.0.0.1:8322" | |
], | |
"server": true, | |
"recursor": "8.8.8.8" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment