DMマスターConfiguration / コンフィグレーションファイル
このドキュメントでは、DMマスターの構成を紹介します。これには、構成ファイルテンプレートと、このファイルの各構成パラメーターの説明が含まれます。
Configuration / コンフィグレーションファイルテンプレート
以下は、DM-masterの構成ファイルテンプレートです。
name = "dm-master"
# log configuration
log-level = "info"
log-file = "dm-master.log"
# DM-master listening address
master-addr = ":8261"
advertise-addr = "127.0.0.1:8261"
# URLs for peer traffic
peer-urls = "http://127.0.0.1:8291"
advertise-peer-urls = "http://127.0.0.1:8291"
# cluster configuration
initial-cluster = "master1=http://127.0.0.1:8291,master2=http://127.0.0.1:8292,master3=http://127.0.0.1:8293"
join = ""
ssl-ca = "/path/to/ca.pem"
ssl-cert = "/path/to/cert.pem"
ssl-key = "/path/to/key.pem"
cert-allowed-cn = ["dm"]
Configuration / コンフィグレーションパラメーター
このセクションでは、DM-masterの構成パラメーターを紹介します。