Loading...
MySQL 9.5 Reference Manual 9.5의 20 Group Replication의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
Table of Contents
20.1 Group Replication Background
20.1.1 Replication Technologies
20.1.2 Group Replication Use Cases
20.1.3 Multi-Primary and Single-Primary Modes
20.1.4 Group Replication Services
20.1.5 Group Replication Plugin Architecture
20.2 Getting Started
20.2.1 Deploying Group Replication in Single-Primary Mode
20.2.2 Deploying Group Replication Locally
20.3 Requirements and Limitations
20.3.1 Group Replication Requirements
20.3.2 Group Replication Limitations
20.4 Monitoring Group Replication
20.4.1 GTIDs and Group Replication
20.4.2 Group Replication Server States
20.4.3 The replication_group_members Table
20.4.4 The replication_group_member_stats Table
20.5 Group Replication Operations
20.5.1 Configuring an Online Group
20.5.2 Restarting a Group
20.5.3 Transaction Consistency Guarantees
20.5.4 Distributed Recovery
20.5.5 Support For IPv6 And For Mixed IPv6 And IPv4 Groups
20.5.6 Using MySQL Enterprise Backup with Group Replication
20.6 Group Replication Security
20.6.1 Communication Stack for Connection Security Management
20.6.2 Securing Group Communication Connections with Secure Socket Layer (SSL)
20.6.3 Securing Distributed Recovery Connections
20.6.4 Group Replication IP Address Permissions
20.7 Group Replication Performance and Troubleshooting
20.7.1 Fine Tuning the Group Communication Thread
20.7.2 Flow Control
20.7.3 Single Consensus Leader
20.7.4 Message Compression
20.7.5 Message Fragmentation
20.7.6 XCom Cache Management
20.7.7 Responses to Failure Detection and Network Partitioning
20.7.8 Handling a Network Partition and Loss of Quorum
20.7.9 Monitoring Group Replication Memory Usage with Performance Schema Memory Instrumentation
20.8 Upgrading Group Replication
20.8.1 Combining Different Member Versions in a Group
20.8.2 Group Replication Offline Upgrade
20.8.3 Group Replication Online Upgrade
20.9 Group Replication Variables
20.9.1 Group Replication System Variables
20.9.2 Group Replication Status Variables
20.10 Frequently Asked Questions
이 장에서는 MySQL 9.5에서의 Group Replication과, 그룹을 설치, 설정 및 모니터링하는 방법을 설명합니다. MySQL Group Replication을 사용하면 탄력적이고, 고가용성이며, 장애 허용 기능을 갖춘 레플리케이션 토폴로지를 만들 수 있습니다.
그룹은 자동 primary 선출 기능이 있는 싱글 프라이머리 모드로 동작할 수 있으며, 이 모드에서는 한 번에 하나의 서버만 업데이트를 허용합니다. 또는, 모든 서버가 동시에 발행된 업데이트라도 허용할 수 있는 멀티 프라이머리 모드로 그룹을 배포할 수도 있습니다.
내장된 그룹 멤버십 서비스가 있어서, 어떤 시점에서든 그룹의 뷰를 모든 서버에 대해 일관되고 사용 가능하도록 유지합니다. 서버는 그룹을 떠나거나 그룹에 조인할 수 있으며, 이에 따라 뷰가 갱신됩니다. 때때로 서버가 예상치 못하게 그룹을 떠날 수 있는데, 이 경우 장애 감지 메커니즘이 이를 감지하고 뷰가 변경되었음을 그룹에 알립니다. 이 모든 것은 자동으로 수행됩니다.
Group Replication은 데이터베이스 서비스가 지속적으로 사용 가능함을 보장합니다. 그러나 그룹 멤버 중 하나가 사용 불가능해지는 경우, 그 그룹 멤버에 연결되어 있던 클라이언트는 커넥터, 로드 밸런서, 라우터 또는 어떤 형태의 미들웨어를 사용하여 그룹 내의 다른 서버로 리다이렉트되거나 페일오버되어야 한다는 점을 이해하는 것이 중요합니다. Group Replication 자체에는 이를 수행하는 내장 메서드가 없습니다. 예를 들어 MySQL Router 9.5를 참조하십시오.
Group Replication은 MySQL Server에 대한 플러그인으로 제공됩니다. 이 장의 지침을 따라 그룹에 포함하려는 각 서버 인스턴스에 대해 플러그인을 구성하고, 그룹을 시작하고, 그룹을 모니터링 및 관리할 수 있습니다. MySQL 서버 인스턴스 그룹을 배포하는 또 다른 방법은 InnoDB Cluster를 사용하는 것입니다.
참고
여러 MySQL 인스턴스를 배포하려면 InnoDB Cluster를 사용할 수 있으며, 이것은 MySQL Shell에서 MySQL 서버 인스턴스 그룹을 쉽게 관리할 수 있게 해 줍니다. InnoDB Cluster는 MySQL Group Replication을 프로그래밍 환경으로 감싸서, 고가용성을 달성하기 위해 MySQL 인스턴스 클러스터를 쉽게 배포할 수 있게 합니다. 추가로, InnoDB Cluster는 MySQL Router와 원활하게 연동되므로, 자체 페일오버 프로세스를 작성하지 않고도 애플리케이션이 클러스터에 연결할 수 있습니다. 그러나 고가용성이 필요하지 않은 유사한 사용 사례의 경우에는 InnoDB ReplicaSet을 사용할 수 있습니다. MySQL Shell에 대한 설치 지침은 여기에서 찾을 수 있습니다.
MySQL 9.5 이상에서는 MySQL Group Replication과 함께 사용할 수 있는 여러 MySQL 컴포넌트를 지원합니다. 자세한 내용은 Section 7.5.6, “Replication Components”를 참조하십시오.
이 장은 다음과 같이 구성됩니다:
Section 20.1, “Group Replication Background”에서는 그룹 소개와 Group Replication이 어떻게 동작하는지를 제공합니다.
Section 20.2, “Getting Started”에서는 그룹을 생성하기 위해 여러 MySQL Server 인스턴스를 구성하는 방법을 설명합니다.
Section 20.3, “Requirements and Limitations”에서는 Group Replication에 대한 아키텍처 및 설정 요구 사항과 제한 사항을 설명합니다.
Section 20.4, “Monitoring Group Replication”에서는 그룹을 모니터링하는 방법을 설명합니다.
Section 20.5, “Group Replication Operations”에서는 그룹을 사용하는 방법을 설명합니다.
Section 20.6, “Group Replication Security”에서는 그룹을 보호하는 방법을 설명합니다.
Section 20.7, “Group Replication Performance and Troubleshooting”에서는 그룹의 성능을 미세 조정하는 방법을 설명합니다.
Section 20.8, “Upgrading Group Replication”에서는 그룹을 업그레이드하는 방법을 설명합니다.
Section 20.9, “Group Replication Variables”는 Group Replication에 특화된 시스템 변수에 대한 레퍼런스입니다.
Section 20.10, “Frequently Asked Questions”에서는 Group Replication을 배포하고 운영하는 것과 관련된 일부 기술적 질문에 대한 답을 제공합니다.
19.5.5 How to Report Replication Bugs or Problems
20.1 Group Replication Background