DMマスターコンフィグレーションファイル
このドキュメントでは、構成ファイル テンプレートとこのファイル内の各構成パラメータの説明を含む、DM マスターの構成について紹介します。
コンフィグレーションファイルのテンプレート
以下は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"]
コンフィグレーションパラメータ
このセクションでは、DM マスターの設定パラメーターを紹介します。