consul 命令行通常,Consul会从“.json”或“.hcl”扩展名中检测置文件的格式。将此选项设置为“json”或“hcl”会强制Consul解释具有或不具有扩展名的任何文,以便以该格式进行解释。 ● data-dir:此标志为代理程序存储状态提供数据目录。这是所有代理商都需要的。该目录在重新启后应该是持久的。这对于在服务器模式下运行的代理尤其重要,因为它们必须能够持久化群集状态。外,该目录必须支持使用文件0 码力 | 5 页 | 346.62 KB | 2 年前3
consul 集群搭建## consul集群搭建 consul agent -data-dir /tmp/node0 -node=node0 -bind=192.168.64.59 -datacenter=dc1 -ui -lient=192.168.64.59 -server -bootstrap-expect 1 consul agent -data-dir /tmp/node1 -node=node1 -bind=192 -bind=192.168.64.94 -datacenter=dc1 -ui consul agent -data-dir /tmp/node2 -node=node2 -bind=192.168.64.249 -datacenter=dc1 -ui client=192.168.64.249 consul join 192.168.64.59 consul members -rpc-addr=192 249:8400 192.168.64.59 agent -data-dir /tmp/node0 -node=node0 -bind=192.168.64.59 -datacenter=dc1 -ui -server bootstrap-expect 1 consul agent -server -bootstrap-expect 3 -data-dir /tmp/consul -node 192.1680 码力 | 2 页 | 124.59 KB | 2 年前3
Pandoc User’s Guide (April 7, 2024)unpack the zip archive there (unless FILE already exists, in which case an error will be raised). --data-dir= DIRECTORY Specify the user data directory to search for pandoc data files. If this option is not in the working directory, and then in the defaults subdirectory of the user data directory (see --data-dir). The .yaml extension may be omitted. See the section Defaults files for more information on the $DATADIR/filters (executable or non-executable) where $DATADIR is the user data directory (see --data-dir, above), 3. $PATH (executable only). Filters, Lua-filters, and citeproc processing are applied0 码力 | 168 页 | 475.29 KB | 2 年前3
TiDB中文技术文档TiDB 启动参数文档。 对于使用本地存储引擎的情况,数据存储在本机硬盘上,目录位置通过 path 参数控制。 对于使用 TiKV 引擎的情况,数据存储在 TiKV 节点上,目录位置通过 data-dir 参数控制。 ## TiDB 服务器日志文件 TiDB 集群的三个组件(tidb-server)、tikv-server、pd-server)默认会将日志输出到标准错误中,并且三个组件都支持设置 /etc/localtime:/etc/localtime:ro \ 5. -v /data:/data \ 6. pingcap/pd:latest \ 7. --name="pd1" \ 8. --data-dir="/data/pd1" \ 9. --client-urls="http://0.0.0.0:2379" \ 10. --advertise-client /etc/localtime:/etc/localtime:ro \ 5. -v /data:/data \ 6. pingcap/pd:latest \ 7. --name="pd2" \ 8. --data-dir="/data/pd2" \ 9. --client-urls="http://0.0.0.0:2379" \ 10. --advertise-client0 码力 | 444 页 | 4.89 MB | 1 年前3
CIS Benchmark Rancher Self-Assessment Guide - v2.4PASS Remediation: On the etcd server node, get the etcd data directory, passed as an argument --data-dir, from the below command: ps -ef | grep etcd Run the below command (based on the etcd data directory 11.sh #!/bin/bash -e etcd_bin= {1} test_dir= (ps -ef | grep {etcd_bin} | grep -- --data-dir | sed 's%.*data-dir[=] $ ([^ ]*) $ .%%\1%') docker inspect etcd | jq -r '.[].HostConfig.Binds[]' PASS Remediation: On the etcd server node, get the etcd data directory, passed as an argument --data-dir, from the below command: ps -ef | grep etcd Run the below command (based on the etcd data directory0 码力 | 54 页 | 447.77 KB | 2 年前3
CIS 1.5 Benchmark - Self-Assessment Guide - Rancher v2.5PASS Remediation: On the etcd server node, get the etcd data directory, passed as an argument --data-dir, from the below command: ps -ef | grep etcd Run the below command (based on the etcd data directory 11.sh #!/bin/bash -e etcd_bin= {1} test_dir= (ps -ef | grep {etcd_bin} | grep -- --data-dir | sed 's%.*data-dir[=] $ ([^ ]*) $ .%%\1%') docker inspect etcd | jq -r '.[].HostConfig.Binds[]' v2.5 Remediation: On the etcd server node, get the etcd data directory, passed as an argument --data-dir, from the below command: ps -ef | grep etcd Run the below command (based on the etcd data directory0 码力 | 54 页 | 447.97 KB | 2 年前3
CIS 1.6 Benchmark - Self-Assessment Guide - Rancher v2.5.4pass Remediation: On the etcd server node, get the etcd data directory, passed as an argument --data-dir, from the below command: ps -ef | grep etcd Run the below command (based on the etcd data directory pass Remediation: On the etcd server node, get the etcd data directory, passed as an argument --data-dir, from the below command: ps -ef | grep etcd Run the below command (based on the etcd data directory --advertise-client-urls=https://192.168.1.225:2379,https://192.168.1.225:4001 --election-timeout=5000 --data-dir=/var/lib/rancher/etcd/ --peer-cert-file=/etc/kubernetes/ssl/kube-etcd-192-168-1-225.pem --enable-v2=true0 码力 | 132 页 | 1.12 MB | 2 年前3
使用Spring Cloud与Docker实战微服务This can be specified multiple times. 19. Path to a data directory to store agent state 20. -data-dir=path state Starts the agent in development mode. 21. -dev Address of an upstream DNS server. containing the Web UI 49. -pid-file=path Path to file to store agent PID consul agent 命令的常用选项,如下: -data-dir 。作用:指定agent储存状态的数据目录 。这是所有agent都必须的 。对于server尤其重要,因为他们必须持久化集群的状态 -config-dir 作用:指定service的配置文件和检查定义所在的位置 consul agent -data-dir /tmp/node0 -node=node0 -bind=192.168.11.143 -datacenter=dc1 -ui -client=192.168.11.143 -server -bootstrap- expect 1 启动node1机器上的Consul(node1机器上执行): consul agent -data-dir /tmp/node10 码力 | 179 页 | 2.57 MB | 1 月前3
TiDB v5.3 Documentation--status-addr 0.0.0.0:20188 --advertise-status-addr 172.16.6.118:20188 --pd 172.16.6.118:2379 --data-dir /home/user1/tidb-data/tikv-20162 --config conf/tikv.toml --log-file /home/user1/tidb-deploy/tikv-20162/log/tikv --status-addr 0.0.0.0:20189 --advertise-status-addr 172.16.6.118:20189 --pd 172.16.6.118:2379 --data-dir /home/user1/tidb-data/tikv-20161 --config conf/tikv.toml --log-file /home/user1/tidb-deploy/tikv-20161/log/tikv "cn-east-1", host = "118", disk = "ssd"} [storage] ### The data directory ### data-dir = "/tmp/tikv/store" ### In most cases, you can use the default value. When importing data0 码力 | 2996 页 | 49.30 MB | 2 年前3
TiDB v5.1 Documentation"cn-east-1", host = "118", disk = "ssd"} [storage] ### The data directory ### data-dir = "/tmp/tikv/store" ### In most cases, you can use the default value. When importing data 'log-file="pd.log"' 'data-dir="pd.data" printf > tikv.toml %s\\n 'log-file="tikv.log"' '[storage]' 'data-dir="tikv. → data"' '[pd]' '[raftdb]' max-open-files=1024 printf > pump.toml %s\\n 'log-file="pump.log"' 'data-dir="pump.data"' 'addr → ="127.0.0.1:8250"' 'advertise-addr="1270 码力 | 2745 页 | 47.65 MB | 2 年前3
共 28 条
- 1
- 2
- 3













