DM-master Configuration File
This document introduces the configuration of DM-master, including a configuration file template and a description of each configuration parameter in this file.
Configuration file template
The following is a configuration file template of 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"]
This section introduces the configuration parameters of DM-master.
|The name of the DM-master.|
|Specifies a log level from |
|Specifies the log file directory. If the parameter is not specified, the logs are printed onto the standard output.|
|Specifies the address of DM-master which provides services. You can omit the IP address and specify the port number only, such as ":8261".|
|Specifies the address that DM-master advertises to the outside world.|
|Specifies the peer URL of the DM-master node.|
|Specifies the peer URL that DM-master advertises to the outside world. The value of |
|The value of |
|The value of |
|The path of the file that contains list of trusted SSL CAs for DM-master to connect with other components.|
|The path of the file that contains X509 certificate in PEM format for DM-master to connect with other components.|
|The path of the file that contains X509 key in PEM format for DM-master to connect with other components.|
|Common Name list.|