Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
A-Tune
提交
3ffcc55b
A
A-Tune
项目概览
openeuler
/
A-Tune
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
A-Tune
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3ffcc55b
编写于
1月 03, 2020
作者:
S
shanshishi
提交者:
Gitee
1月 03, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
删除文件 Documentation/UserGuide/配置介绍.md
上级
48436b46
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
0 addition
and
93 deletion
+0
-93
Documentation/UserGuide/配置介绍.md
Documentation/UserGuide/配置介绍.md
+0
-93
未找到文件。
Documentation/UserGuide/配置介绍.md
已删除
100755 → 0
浏览文件 @
48436b46
# 配置介绍<a name="ZH-CN_TOPIC_0213178456"></a>
A-Tune配置文件/etc/atuned/atuned.cnf的配置项说明如下:
-
A-Tune服务启动配置
可根据需要进行修改。
-
address:系统grpc服务的侦听地址,默认为127.0.0.1,若为多机部署,需进行修改。
-
port:系统grpc服务的侦听端口,范围为0
\~
65535未使用的端口。
-
rest
\_
port:系统restservice的侦听端口, 范围为0
\~
65535未使用的端口。
-
sample
\_
num:系统执行analysis流程时采集样本的数量。
-
system信息
system为系统执行相关的优化需要用到的参数信息,必须根据系统实际情况进行修改。
-
disk:执行analysis流程时需要采集的对应磁盘的信息或执行磁盘相关优化时需要指定的磁盘。
-
network:执行analysis时需要采集的对应的网卡的信息或执行网卡相关优化时需要指定的网卡。
-
user:执行ulimit相关优化时用到的用户名。目前只支持root用户。
-
tls:开启A-Tune的gRPC和http服务SSL/TLS证书校验,默认不开启。开启TLS后atune-adm命令在使用前需要设置以下环境变量方可与服务端进行通讯:
-
export ATUNE
\_
TLS=yes
-
export ATUNE
\_
CLICERT=<客户端证书路径
\>
-
tlsservercertfile:gPRC服务端证书路径。
-
tlsserverkeyfile:gPRC服务端秘钥路径。
-
tlshttpcertfile:http服务端证书路径。
-
tlshttpkeyfile:http服务端秘钥路径。
-
tlshttpcacertfile:http服务端CA证书路径。
-
日志信息
根据情况修改日志的路径和级别,默认的日志信息在/var/log/message中。
-
monitor信息
为系统启动时默认采集的系统的硬件信息。
## 配置示例<a name="section616213774714"></a>
```
#################################### server ###############################
# atuned config
[server]
# the address the grpc server to bind to, default is 127.0.0.1
address = 127.0.0.1
# the atuned grpc listening port, default is 60001
# the port can be set between 0 to 65535 the not be used
port = 60001
# the rest service listening port, default is 8383
# the port can be set between 0 to 65535 than not be used
rest_port = 8383
# when run analysis command, the numbers of collected data.
# default is 20
sample_num = 20
# Enable gRPC and http server authentication SSL/TLS
# default is false
# tls = true
# tlsservercertfile = /etc/atuned/server.pem
# tlsserverkeyfile = /etc/atuned/server.key
# tlshttpcertfile = /etc/atuned/http/server.pem
# tlshttpkeyfile = /etc/atuned/http/server.key
# tlshttpcacertfile = /etc/atuned/http/cacert.pem
#################################### log ###############################
# Either "debug", "info", "warn", "error", "critical", default is "info"
level = info
#################################### monitor ###############################
[monitor]
# With the module and format of the MPI, the format is {module}_{purpose}
# The module is Either "mem", "net", "cpu", "storage"
# The purpose is "topo"
module = mem_topo, cpu_topo
#################################### system ###############################
# you can add arbitrary key-value here, just like key = value
# you can use the key in the profile
[system]
# the disk to be analysis
disk = sda
# the network to be analysis
network = enp189s0f0
user = root
```
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录