lab_code: demo_303
title_en: Dual Data Center Deployment Solution - TiDB Disaster Recovery Auto-Sync
title_zh: 双数据中心部署方案 - TiDB 容灾自动同步
title_ja: "TiDB デュアルデータセンター展開ソリューション: DR Auto-Sync"
title_ko: "TiDB 이중 데이터 센터 배포 솔루션: DR Auto-Sync"
description_en:
  In the financial industry, a dual data center architecture is a common
  deployment model, especially for core business systems. Banks and financial institutions
  place a high premium on data availability and disaster recovery capabilities. TiDB's
  DR Auto-sync solution is specifically designed for such environments, providing
  robust data protection on dual data center infrastructures while ensuring an RPO
  (Recovery Point Objective) of 0 and an RTO (Recovery Time Objective) measured in
  minutes. This lab simulates the deployment of DR Auto-Sync in a dual data center
  scenario, demonstrating how to achieve data consistency and high availability when
  one of the data centers is unavailable or experiences network disruptions.
description_zh:
  在金融行业，双数据中心架构是一种常见的部署模式，尤其是对于核心业务系统。银行和金融机构高度重视数据可用性和灾难恢复能力。TiDB 的
  DR Auto-sync 解决方案专为此类环境而设计，可在双数据中心基础架构上提供强大的数据保护，同时确保 RPO（恢复点目标）为 0 和 RTO（恢复时间目标）以分钟为单位。本实验在双数据中心场景中部署
  DR Auto-Sync，演示了当其中一个数据中心不可用或遇到网络中断时如何实现数据一致性和高可用性。
description_ja:
  金融業界では、デュアル データ センター アーキテクチャは、特にコア ビジネス システム向けの一般的な導入モデルです。銀行や金融機関は、データの可用性と災害復旧機能を重視しています。TiDB
  の DR Auto-Sync ソリューションは、このような環境向けに特別に設計されており、デュアル データ センター インフラストラクチャで堅牢なデータ保護を提供しながら、RPO
  (リカバリ ポイント目標) 0 と RTO (リカバリ時間目標) を数分で測定します。この演習では、デュアル データ センター シナリオでの DR 自動同期の導入をシミュレートし、データ
  センターの 1 つが使用不可になったり、ネットワークが中断したりした場合に、データの一貫性と高可用性を実現する方法を示します。
description_ko:
  금융 업계에서 이중 데이터 센터 아키텍처는 특히 핵심 비즈니스 시스템에서 일반적인 배포 모델입니다. 은행과 금융 기관은
  데이터 가용성과 재해 복구 기능을 매우 중요하게 여깁니다. TiDB의 DR Auto-sync 솔루션은 이러한 환경을 위해 특별히 설계되어 이중
  데이터 센터 인프라에서 강력한 데이터 보호를 제공하면서 RPO(복구 지점 목표) 0과 분 단위로 측정되는 RTO(복구 시간 목표)를 보장합니다.
  이 실습은 이중 데이터 센터 시나리오에서 DR Auto-Sync 배포를 시뮬레이션하여 데이터 센터 중 하나가 사용할 수 없거나 네트워크 중단이
  발생할 때 데이터 일관성과 고가용성을 달성하는 방법을 보여줍니다.
splash_image_en: https://lab-static.pingcap.com/quick-demo/demo_303-en.png
splash_image_zh: https://lab-static.pingcap.com/quick-demo/demo_303-en.png
splash_image_ja: https://lab-static.pingcap.com/quick-demo/demo_303-en.png
splash_image_ko: https://lab-static.pingcap.com/quick-demo/demo_303-en.png
external_materials_en:
  - name: "FinTech First Call Deck Template"
    url: https://docs.google.com/presentation/d/1darGl3oz3_2RBcrL0l2sch6SGEmQNJSnMDXl--odMjA/edit?slide=id.p#slide=id.p
    employee_only: true
  - name: "DR Auto-Sync Solution Deck Template"
    url: https://docs.google.com/presentation/d/1vcCHYTltC0LY4coJ4QB5FYWx5a4TwBlG/edit?slide=id.p1#slide=id.p1
    employee_only: true
external_materials_ja:
  - name: "FinTech向けファーストコールデッキテンプレート"
    url: https://docs.google.com/presentation/d/1darGl3oz3_2RBcrL0l2sch6SGEmQNJSnMDXl--odMjA/edit?slide=id.p#slide=id.p
    employee_only: true
  - name: "DR Auto-Syncソリューションデッキテンプレート"
    url: https://docs.google.com/presentation/d/1vcCHYTltC0LY4coJ4QB5FYWx5a4TwBlG/edit?slide=id.p1#slide=id.p1
    employee_only: true
external_materials_zh:
  - name: "FinTech首次交流演示文稿模板"
    url: https://docs.google.com/presentation/d/1darGl3oz3_2RBcrL0l2sch6SGEmQNJSnMDXl--odMjA/edit?slide=id.p#slide=id.p
    employee_only: true
  - name: "DR Auto-Sync技术方案演示文稿模板"
    url: https://docs.google.com/presentation/d/1vcCHYTltC0LY4coJ4QB5FYWx5a4TwBlG/edit?slide=id.p1#slide=id.p1
    employee_only: true
external_materials_ko:
  - name: "FinTech용 첫 미팅 자료"
    url: https://docs.google.com/presentation/d/1darGl3oz3_2RBcrL0l2sch6SGEmQNJSnMDXl--odMjA/edit?slide=id.p#slide=id.p
    employee_only: true
  - name: "DR Auto-Sync기술 솔루션 자료 템플릿"
    url: https://docs.google.com/presentation/d/1vcCHYTltC0LY4coJ4QB5FYWx5a4TwBlG/edit?slide=id.p1#slide=id.p1
    employee_only: true
lab_level: Advanced
category_en:
  - Fintech
  - Disaster Recovery
category_zh:
  - 金融科技
  - 容灾
category_ja:
  - フィンテック
  - ディザスタリカバリ
category_ko:
  - 금융 기술
  - 재해 복구
authors:
  - Yule Hu (CEG)
  - Todd Bao (CEG)
delivery_type: Self-Paced
tidb_environments:
  - TiDB Self-Managed
tidb_versions:
  - 8.1.1
  - 8.5.1
target_audience:
  - Architect
  - DBA
  - DevOps
regions:
  aws:
    - oregon
    - tokyo
    - singapore
    - frankfurt
credits: 15
credit_redeemable: true
employee_only: false
estimated_duration_minutes: 100

requirements:
  - type: "CloudStack"

topology:
  - role: az1monitor
    node_count: 1
    ssh_user: ec2-user
    web_ssh: true
    web_ssh_name: "Client in DC1"
  - role: az2monitor
    node_count: 1
    ssh_user: ec2-user
    web_ssh: true
    web_ssh_name: "Client in DC2"
  - role: az1db
    node_count: 1
  - role: az2db
    node_count: 1
  - role: az1pd
    node_count: 2
  - role: az2pd
    node_count: 2
  - role: az1kv
    node_count: 2
  - role: az2kv
    node_count: 2

bootstrap:
  - name: "prepare monitor"
    type: "ShellScript"
    target:
      - az1monitor1
      - az2monitor1
    script: ./scripts/prepare-monitor.sh

features:
  enable_content_explain: false
