Managing Shards and Replicas
This section describes how to query the shards and replicas of a DCS Redis 4.0 or 5.0, or Redis 6.0 professional edition instance and how to manually promote a replica to master.
Currently, this function is supported only by master/standby, Proxy Cluster, and Redis Cluster DCS Redis 4.0 or 5.0 instances, and master/standby DCS Redis 6.0 professional edition instances. DCS Redis 3.0 instances do not support this function.
A master/standby instance has only one shard with one master and one replica. You can only view the sharding information. To manually switch the master and replica roles, see Performing a Master/Standby Switchover.
A Proxy Cluster or Redis Cluster instance has multiple shards. Each shard has one master and one replica. You can view the sharding information and manually switch the master and replica roles. For details about the number of shards for different instance specifications, see Proxy Cluster DCS Redis 4.0 and 5.0 Instances and Redis Cluster DCS Redis 4.0 and 5.0 Instances.
Promoting a Replica to Master
- Log in to the DCS console.
- Click
in the upper left corner of the management console and select a region and a project.
Select the same region as your application service.
- In the navigation pane, choose Cache Manager.
- Click an instance.
- Click the Shards and Replicas tab.
The page displays all shards in the instance and the list of replicas of each shard.
- Click
to show all replicas of a shard. Figure 1 Lists of shards and replicas
- Click Promote to Master in the row containing another replica whose role is Replica.
- Click Yes.
Last Article: Managing Tags
Next Article: Cache Analysis
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.