forked from daos-stack/daos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
daos_server_docker_main.yml
47 lines (41 loc) · 1.24 KB
/
daos_server_docker_main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# For a single-server system
name: daos_server
access_points: ['172.17.0.2']
provider: ofi+sockets
control_log_mask: DEBUG
control_log_file: /tmp/daos_server.log
transport_config:
allow_insecure: false
client_cert_dir: /etc/daos/certs/clients
ca_cert: /etc/daos/certs/daosCA.crt
cert: /etc/daos/certs/server.crt
key: /etc/daos/certs/server.key
engines:
-
targets: 1
first_core: 0
nr_xs_helpers: 0
fabric_iface: eth0
fabric_iface_port: 31416
log_mask: debug
log_file: /tmp/daos_engine.0.log
env_vars:
- FI_LOG_LEVEL=warn
- FI_SOCKETS_MAX_CONN_RETRY=1
- FI_SOCKETS_CONN_TIMEOUT=2000
- D_LOG_MASK=DEBUG
- DD_SUBSYS=all
- DD_MASK=all
- HG_LOG_LEVEL=debug
# Storage definitions
# When scm_class is set to ram, tmpfs will be used to emulate SCM.
# The size of ram is specified by scm_size in GB units.
scm_mount: /mnt/daos # map to -s /mnt/daos
scm_class: ram
scm_size: 4 #内存模拟scm
# When bdev_class is set to file, Linux AIO will be used to emulate NVMe.
# The size of file that will be created is specified by bdev_size in GB units.
# The location of the files that will be created is specified in bdev_list.
bdev_class: file
bdev_size: 16 #文件模拟nvme
bdev_list: [/tmp/daos-bdev]