首批通过分布式安全可靠测评,为关键业务系统打造
无需修改的参数
更新时间:2026-07-22 14:20:57
编辑
分享
本文介绍无需修改的 ODP 参数。
| 参数名 | 默认值 | 取值范围 | 是否需重启 | 说明 |
|---|---|---|---|---|
need_convert_vip_to_tname |
false | / | false | 判断是否需要将 VIP 转换为租户名。 |
username_separator |
:;-;. | 支持 ':'、'-'、'.' | false | 客户端连接 ODP 时使用的用户名分隔符。 |
max_connections |
60000 | (128,65535] | false | ODP 允许使用的 fd 最大值,ODP 内部使用。 |
enable_client_connection_lru_disconnect |
false | / | false | 判断客户端连接数达到上限时是否断开连接。
|
local_bound_ip |
0.0.0.0 | / | true | ODP 本地 IP。此参数为启动参数。 |
listen_port |
6688 | (1024, 65536) | true | ODP 的监听端口。此参数为启动参数。 |
rootservice_cluster_name |
undefined | / | true | 默认集群名。 |
obproxy_config_server_url |
默认为空 | / | true | 此参数为启动 ODP 的参数。 |
current_local_config_version |
0 | [0, +∞) | false | 当前配置版本号。 |
enable_proxy_scramble |
false | / | false | 判断是否需要启用 ODP 的挑战随机数 。 |
proxy_service_mode |
client |
|
true | ODP 部署和服务模式。 |
proxy_id |
0 | [0,255] | true | ODP ID 标识。 |
app_name |
undefined | / | true | ODP 服务的应用名。 |
enable_metadb_used |
true | / | true | 判断是否开启 MetaDB 访问。 |
enable_get_rslist_remote |
false | / | true | 判断是否从 config server 获取 rslist。 |
rootservice_list |
默认为空 | / | true | rslist |
proxy_tenant_name |
默认为空 | / | true | 默认租户名。 |
proxy_idc_name |
默认为空 | / | true | ODP IDC 名。 |