redis-di 重置
将管道重置为初始全同步模式
用法
Usage: redis-di reset [OPTIONS]
选项
-
log_level
:- 类型: Choice(['DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'])
- 默认值:
info
- 用法:
--log-level -l
-
rdi_host
(必填):- 类型: 字符串
- 默认值:
none
- 用法:
--rdi-host
RDI数据库的主机/IP
-
rdi_port
(必填):- 类型: <IntRange 1<=x<=65535>
- 默认值:
none
- 用法:
--rdi-port
RDI 数据库的端口
-
rdi_user
:- 类型: 字符串
- 默认值:
none
- 用法:
--rdi-user
RDI 数据库用户名
-
rdi_password
:- 类型: 字符串
- 默认值:
none
- 用法:
--rdi-password
RDI 数据库密码
-
rdi_key
:- 类型: 字符串
- 默认值:
none
- 用法:
--rdi-key
用于身份验证的私钥文件
-
rdi_cert
:- 类型: 字符串
- 默认值:
none
- 用法:
--rdi-cert
用于身份验证的客户端证书文件
-
rdi_cacert
:- 类型: 字符串
- 默认值:
none
- 用法:
--rdi-cacert
用于验证的CA证书文件
-
rdi_key_password
:- 类型: 字符串
- 默认值:
none
- 用法:
--rdi-key-password
用于解锁加密私钥的密码
-
force
:- 类型: BOOL
- 默认值:
false
- 用法:
--force -f
强制操作。跳过验证提示
-
pause_for_confirmation
:- 类型: BOOL
- 默认值:
false
- 用法:
--pause-for-confirmation
如果需要手动关闭收集器,暂停以等待用户确认
-
help
:- 类型: BOOL
- 默认值:
false
- 用法:
--help
显示此消息并退出。
CLI 帮助
Usage: redis-di reset [OPTIONS]
Resets the pipeline into initial full sync mode
Options:
-l, --log-level [DEBUG|INFO|WARN|ERROR|CRITICAL]
[default: INFO]
--rdi-host TEXT Host/IP of RDI Database [required]
--rdi-port INTEGER RANGE Port of RDI Database [1<=x<=65535;
required]
--rdi-user TEXT RDI Database Username
--rdi-password TEXT RDI Database Password
--rdi-key TEXT Private key file to authenticate with
--rdi-cert TEXT Client certificate file to authenticate with
--rdi-cacert TEXT CA certificate file to verify with
--rdi-key-password TEXT Password for unlocking an encrypted private
key
-f, --force Force operation. skips verification prompts
--pause-for-confirmation Pause for user confirmation if manual
shutdown of collector required
--help Show this message and exit.