redis-di create
创建 Write-behind 数据库实例
用法
Usage: redis-di create [OPTIONS]
选项
-
loglevel
:- 类型: Choice(['DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'])
- 默认:
info
- 用法:
--loglevel -log-level
-
silent
:- 类型: BOOL
- 默认:
false
- 用法:
--silent
静默安装。 不要提示输入缺失的参数
-
no_configure
:- 类型: BOOL
- 默认:
false
- 用法:
--no-configure
不要将 Write-behind 引擎安装到 Write-behind 数据库
-
cluster_host
(必需)- 类型: STRING
- 默认:
none
- 用法:
--cluster-host
Redis Enterprise 集群的主机/IP(如果是 k8s,则为服务名称)
-
cluster_api_port
(必需)- 类型: <IntRange 1000<=x<=65535>
- 默认:
9443
- 用法:
--cluster-api-port
Redis Enterprise 集群的 API 端口
-
cluster_user
(必需)- 类型: STRING
- 默认:
none
- 用法:
--cluster-user
具有 DB Member、Cluster Member 或 Cluster Admin 角色的 Redis Enterprise 集群用户名
-
cluster_password
:- 类型: STRING
- 默认:
none
- 用法:
--cluster-password
Redis Enterprise 集群密码
-
rdi_port
:- 类型: <IntRange 1000<=x<=65535>
- 默认:
none
- 用法:
--rdi-port
新 Write-behind 数据库的端口
-
rdi_password
:- 类型: STRING
- 默认: ``
- 用法:
--rdi-password
新 Write-behind 数据库的密码(字母数字字符,可以包含零个或多个以下字符:! & # $ ^ < > -)
-
rdi_memory
:- 类型
=30> - 默认:
100
- 用法:
--rdi-memory
Write-behind 数据库的内存(以 MB 为单位)
- 类型
-
rdi_shards
:- 类型
=1> - 默认:
1
- 用法:
--rdi-shards
数据库服务器端分片的数量
- 类型
-
replication
:- 类型: BOOL
- 默认:
false
- 用法:
--replication
内存数据库复制
-
redisgears_module
:- 类型: STRING
- 默认: ``
- 用法:
--redisgears-module
RedisGears 模块文件
-
with_rejson
:- 类型: BOOL
- 默认:
false
- 用法:
--with-rejson
在 Write-behind 数据库中包含 ReJSON
-
help
:- 类型: BOOL
- 默认:
false
- 用法:
--help
显示此消息并退出。
CLI 帮助
Usage: redis-di create [OPTIONS]
Creates the Write-behind Database instance
Options:
-log-level, --loglevel [DEBUG|INFO|WARN|ERROR|CRITICAL]
[default: INFO]
--silent Silent install. Do not prompt to enter
missing parameters
--no-configure Do not install Write-behind Engine to the Write-behind
Database
--cluster-host TEXT Host/IP of Redis Enterprise Cluster (service
name in case of k8s) [required]
--cluster-api-port INTEGER RANGE
API Port of Redis Enterprise Cluster
[default: 9443; 1000<=x<=65535; required]
--cluster-user TEXT Redis Enterprise Cluster username with
either DB Member, Cluster Member or Cluster
Admin roles [required]
--cluster-password TEXT Redis Enterprise Cluster Password
--rdi-port INTEGER RANGE Port for the new Write-behind Database
[1000<=x<=65535]
--rdi-password TEXT Password for the new Write-behind Database
(alphanumeric characters with zero or more
of the following: ! & # $ ^ < > -)
--rdi-memory INTEGER RANGE Memory for Write-behind Database (in MB) [x>=30]
--rdi-shards INTEGER RANGE Number of database server-side shards
[x>=1]
--replication In-memory database replication
--redisgears-module TEXT RedisGears module file
--help Show this message and exit.