github.com/matrixorigin/matrixone@v1.2.0/etc/launch-dynamic-with-proxy/launch.toml (about)

     1  logservices = [
     2      "./etc/launch-dynamic-with-proxy/log.toml",
     3  ]
     4  
     5  tnservices = [
     6      "./etc/launch-dynamic-with-proxy/tn.toml"
     7  ]
     8  
     9  proxy-services = [
    10      "./etc/launch-dynamic-with-proxy/proxy.toml"
    11  ]
    12  
    13  # dynamic is used to launch dynamic cn service. Each cn service will run 
    14  # in a separate process.
    15  [dynamic]
    16  enable = true
    17  # http ctl server address. We can use cn index to start and stop dynamic cn.
    18  # start cn0: curl "http://localhost:16000/dynamic/cn?cn=0&action=start"
    19  # stop cn0: curl "http://localhost:16000/dynamic/cn?cn=0&action=stop"
    20  ctl-address = ":16000"
    21  # cn template config toml file
    22  cn-template = "./etc/launch-dynamic-with-proxy/cn.toml.base"
    23  # how many cn service can be launched
    24  service-count = 2
    25  # how many cpu can used pr cn instance
    26  cpu-count = 2
    27  
    28  [dynamic.chaos]
    29  enable = false
    30  
    31  # random restart nodes tester
    32  [dynamic.chaos.restart]
    33  kill-interval = "10s"
    34  restart-interval = "5s"
    35  targets = [0, 1]
    36