redis-di create

创建 Write-behind Database 实例

用法

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 企业集群的 Host/IP(k8s 情况下的服务名称)

  • cluster_api_port(必填):

    • 类型:<IntRange 1000<=x<=65535>
    • 违约:9443
    • 用法:--cluster-api-port

    Redis 企业集群 API 端口

  • cluster_user(必填):

    • 类型:STRING
    • 违约:none
    • 用法:--cluster-user

    具有 DB Member、Cluster Member 或 Cluster Admin 角色的 Redis 企业集群用户名

  • cluster_password:

    • 类型:STRING
    • 违约:none
    • 用法:--cluster-password

    Redis 企业集群密码

  • 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

    将 ReJSON 包含在 Write-behind 数据库中

  • 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.