How do I migrate Redis Enterprise shards and endpoints to other nodes?
Last updated 18, Apr 2024
Question
How do I Redis Enterprise migrate shards and endpoints to different nodes?
Answer
Moving shards/endpoints between nodes can be done using:
rladmin migrate shard <shard_id> target_node <node_id>
and
rladmin bind
[ db { db:<id> | <name> } ]
endpoint <id> exclude
<proxy_id1 .. proxy_idN>
It is also possible, in the case of the endpoints, to migrate them to the node where the majority of primary shards are located.
rladmin migrate [ db { db:<id> | <name> } ]
endpoint_to_shards
[ restrict_target_node <id> ]
[ commit ]
[ max_concurrent_bdb_migrations <value> ]
References
Consult the rladmin bind command documentation.