rladmin restart

重新启动特定数据库的 Redis Enterprise Software 进程。

Redis 企业软件

计划在特定数据库的主实例和副本实例上重新启动 Redis Enterprise Software 进程。

rladmin restart db { db:<id> | <name> }
        [preserve_roles]
        [discard_data]
        [force_discard]

Parameters

Parameter Type/Value Description
db db:<id>
name
Restarts Redis Enterprise Software processes for the specified database
discard_data Allows discarding data if there is no persistence or replication
force_discard Forcibly discards data even if there is persistence or replication
preserve_roles Performs an additional failover to maintain shard roles

Returns

Returns Done if the restart completed successfully. Otherwise, it returns an error.

Example

$ rladmin restart db db:5 preserve_roles
Monitoring 1db07491-35da-4bb6-9bc1-56949f4c312a
active - SMUpgradeBDB init
active - SMUpgradeBDB stop_forwarding
active - SMUpgradeBDB stop_active_expire
active - SMUpgradeBDB check_slave
oactive - SMUpgradeBDB stop_active_expire
active - SMUpgradeBDB second_failover
completed - SMUpgradeBDB
Done
RATE THIS PAGE
Back to top ↑