8.4 中文镜像

MySQL 8.4 参考手册 · 中文镜像

正文为中文,英文原文默认隐藏。点击任意中文段落即可展开 / 收起对应英文原文。

打开官方英文原文 ↗

译文由机器翻译生成,仅供理解参考;有疑问请以官方英文原文为准。

MySQL 8.4 参考手册 / 20 组复制 / 20.2 入门 / 20.2.1 单主模式部署组复制
中文点击中文段落可显示 / 隐藏英文原文本页译文覆盖 100%

20.2.1 以单主模式部署组复制20.2.1 Deploying Group Replication in Single-Primary Mode

群组中的每个 MySQL 服务器实例都可以运行在独立的物理主机上,这是部署群组复制推荐的方式。本节说明如何创建一个包含三台 MySQL 服务器实例的复制群组,每台实例运行在不同的主机上。有关在同一主机上运行群组复制的多个 MySQL 服务器实例(例如用于测试目的)的部署信息,请参阅第 20.2.2 节,“部署群组复制到本地”。Each of the MySQL server instances in a group can run on an independent physical host machine, which is the recommended way to deploy Group Replication. This section explains how to create a replication group with three MySQL Server instances, each running on a different host machine. See Section 20.2.2, “Deploying Group Replication Locally” for information about deploying multiple MySQL server instances running Group Replication on the same host machine, for example for testing purposes.

图 20.7 群组架构Figure 20.7 Group Architecture

Three server instances, S1, S2, and S3, are deployed as an interconnected group, and clients communicate with each of the server instances.

本教程说明了如何获取并部署带有 Group Replication 插件的 MySQL 服务器,如何在创建组之前配置每个服务器实例,以及如何使用 Performance Schema 监控来验证一切是否正常工作。This tutorial explains how to get and deploy MySQL Server with the Group Replication plugin, how to configure each server instance before creating a group, and how to use Performance Schema monitoring to verify that everything is working correctly.