简体   繁体   English

在启用集群模式的情况下将副本提升为主副本

[英]promote replica to primary with cluster mode enabled

is there a way to promote a replica node to primary with cluster mode enabled?有没有办法在启用集群模式的情况下将副本节点提升为主节点? I have googled but only found solution with cluster mode disabled.我用谷歌搜索但只找到禁用集群模式的解决方案。

You can send CLUSTER FAILOVER command to the replica to promote it to be a new master.您可以向副本发送CLUSTER FAILOVER命令以将其提升为新的主服务器。 However, you must ensure that the replica has already been known by majority of the masters in the cluster.但是,您必须确保副本已被集群中的大多数主节点所知。

Check the doc on manually failover for detail.有关详细信息,请查看有关手动故障转移的文档。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 terraform 将云 SQL 副本提升为主要副本,因此提升的实例应该在 TF 控制下 - How to Promote Cloud SQL replica to primary using terraform so promoted instance should be in TF control 在启用集群模式的情况下批量上传到 Elasticache 时,redis-cli --pipe 会产生 MOVED 错误 - redis-cli --pipe yields MOVED errors when bulk uploading to Elasticache with cluster-mode enabled AWS - 是否可以在与主帐户不同的帐户中创建 KMS 副本密钥 - AWS - Can a KMS replica key be created in a different account from the primary 集群模式下的 Redis `TIME` 命令 - Redis `TIME` Command in Cluster Mode 如何在 AWS Elasticache Redis 上禁用集群模式 - How to disable cluster mode on a AWS Elasticache Redis 用于 Redis 的 ElastiCache - 禁用集群模式的重定向? - ElastiCache for Redis - redirections for cluster mode disabled? 将服务结构应用程序部署到公共服务结构集群后出现“分区低于目标副本或实例计数”错误 - "Partition is below target replica or instance count" error after deploying service fabric application to public service fabric cluster 集群模式下的自动故障转移处理已禁用 Redis ElastiCache - Auto failover handling in cluster mode disabled Redis ElastiCache 我如何从 databricks spark 连接到 docu.net db 启用 TLS 的集群? - How can i connect to documnet db TLS enabled cluster from databricks spark? 关于在启用 TLS 的情况下将 node.js 客户端设置到 Elasticache memcached 集群中的问题 - Question about setting up a node js client into Elasticache memcached cluster with TLS enabled
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM