Unplug the power of the database will happen? Ali cloud the new database disaster recovery architecture that allows cloud disaster recovery are "prepared" no risk ...

Unplug the power of the database will happen?

Suppose we unplug the database will happen?

On Ali cloud "enterprise-class" cloud disaster recovery solutions conference held recently, Chen Xu, director of technology strategy Ali intelligent cloud came a live "off" Demo , unplug the power of the database.

( Live Playback: https://yq.aliyun.com/live/1104/event )

Guess what happened to the scene?

Loss of data, business paralysis, impaired corporate funds?

51f8080c5955d89a59e83983f6164d25a5f.jpg

 

Enterprise-class cloud disaster recovery solutions in real-time big screen

Above all no! Without any loss of data, there is no business paralysis, after 10 seconds, the enterprise cloud service is completely restored.

So this is how to achieve it?

At the meeting, Ali cloud intelligent database Products Division Technical Director for everyone Tianyu comprehensive analysis of the "cloud era, new database disaster recovery architecture" , described in detail in the hybrid cloud architecture, from off-site backup, disaster recovery, a double live to unified management the one-stop database disaster recovery solutions.

With the new disaster recovery cloud database schema, even if the power then why not? Ali cloud provided by DBS , DTS , HDM and other services, your business can easily build disaster recovery system, to "be prepared."

Murphy's Law can not eggs in one basket

For each company, its database is the most core assets. But the single point of failure is inevitable, so in order to improve data security, need to do is data redundancy.50482b3216aef185267cbb30d0bf8ed8abf.jpg

国家对于数据库灾难恢复能力也定义了相应的标准。对于位于等级2~3的一般业务而言,需要每天进行备份;对于位于等级4的重要业务而言,需要每天全量+增量备份;对于等级5的关键业务而言,要求数据丢失不能超过半个小时,并且要求在分钟级别恢复业务;对于位于等级6的核心业务而言,则需要做到数据零丢失。

ea2dadb6512229234eca1eaf96e3e9b017a.jpg

阿里巴巴数据库从备份到多活的发展经过了以下历程:

2012年之前,阿里巴巴采用的是异地冷备+热备方案,提供只读副本,当时异地冷备和热备可能出现异地延时比较长的问题,导致出现灾难之后敢不敢进行数据库切换成为一个问题,可能现在很多传统企业还在使用该方案。

2013年,阿里巴巴通过数据库实时日志的解析能力实现了同城双活。

2014年,阿里巴巴实现了异地双活。

2015年,阿里巴巴就实现了中美同步以及多个地域、多点写入的数据同步策略。

2016年,阿里巴巴实现了分布式数据强一致的能力以及异地多活能力。

eed14862885644b76ffbeeca06b937c62d1.jpg

在不断提升阿里巴巴灾备能力的过程中,我们也在阿里云上孵化了数据库备份(DBS)、数据传输(DTS)、混合云数据库管理(HDM),搭建从备份、容灾、双活及混合云统一管理的一站式云灾备解决方案。

268b448abed4a2de52f632bb51a71c1081e.jpg

对于等级1到等级4的业务而言,可以通过DBS将数据实时备份到阿里云OSS上,该方案具有低成本、秒级RPO的优势;

0c0706e8fa41c72ca8a19a43b9ffe3189c4.jpg

对于等级5的业务而言,可以通过DTS数据传输服务将本地IDC或者其他云产商的数据库备份到阿里云上去,实现热备或者双活解决方案,实现秒级RPO和秒级RTO。

阿里云数据库新型灾备方案

众所周知,传统灾备解决方案存在成本高昂、实施困难、运维复杂、RTO和RPO无法保障等问题。

阿里云拥有遍布全球安全可靠的数据中心,是企业用户天然的异地灾备中心。阿里云的新型灾备方案可以为您提供低成本、高质量、开箱即用的数据库灾备服务。

1、数据库备份服务DBS
数据库备份服务DBS结合阿里云对象存储服务OSS,能够为用户提供秒级RPO以及低成本的特性,并且实现了国家灾备等级4的相应能力。

用户自建的IDC或者来自其他云厂商的数据库可以通过DBS备份到阿里云OSS之上,而且整个备份的实现过程非常简单,只需要打通网络就可以通过DBS实现数据备份到云上,当出现灾难的时候就能够完成云上数据库快速恢复。

除了和云上数据库进行打通之外,对于数据的备份集而言,也可以通过数据湖服务直接进行查询和验证(无需恢复),这也是阿里云特有的能力之一。

阿里云数据库备份服务DBS主要有如下优势:dbf5a64edb7048575594737fa8f28d2e21c.jpg

  • 秒级RPO:因为数据库发生变更的时候,首先会记录日志,再刷新数据。而阿里巴巴沉淀了一整套数据库解析技术,通过这个技术能够实现秒级冷备到阿里云上的能力,并且其冷备数据和在线数据之间仅存在秒级延时。
  • 低成本:借助OSS的能力可以实现对于数据的周期性归档,并且允许数据库只备份核心关注的数据业务表,仅备份有效数据,同时进行加密和压缩。
  • 备份数据可在线读,验证有效性:基于DLA的数据湖能力,备份逻辑数据集允许用户直接进行备份集查询,查询里面的数据内容并且校验其中的数据。基于RDS的能力能够帮助用户在出现灾难时实现数据库的快速恢复。
  • 丰富的备份数据源:阿里云数据库备份服务DBS能够支持非常丰富的数据源,包括Oracle、MySQL、SQLServer、MongoDB以及Redis等。

2、数据库热备以及双活架构DTS

结合DTS和RDS就能够实现云上数据库热备,可以实现国标等级5的灾备能力。无论是将业务中心建立在自建IDC还是其他云厂商上,通过DTS热备到阿里云上,当出现本地IDC出现数据库故障或者误操作的时候,用户就可以一键切换到云热备之上,实现秒级RPO和秒级RTO。8a236cd4f5d45b6f7b6c393d70249983db4.jpg

You could go further, with DTS and RDS for live, in addition to the business switched to Ali cloud, but also to reverse established Ali cloud sync link local IDC database in order to establish two-way synchronization channel, so it can ability to provide remote-active, both ends can be written and switching. Business can also be carried out between the cloud and on the local IDC shunt, in order to achieve the ability to query and writes the nearest proximity of services, while being able to support the achievement of disaster recovery.

ac9d0eef3f45a224125099499e7c1c389fb.jpg

If, after conventional hot standby embodiment, the hot standby data to the cloud in support database can switch the RPO second stage, but when the handover is completed if you want to restore disaster recovery system, the recovery process needs a certain, but when establishing a after the two-way synchronization channel, you can quickly switch to Ali cloud, but soon switched back, and therefore able to support disaster drills enterprises online.

Ali cloud database service transport About DTS:8fb2f6dba843acb8bcad078eedc3793e3bb.jpg

Ali Baba in about 2011 began to put into doing database log analysis, and DTS addition to enabling log analysis, but also enables efficient data synchronization infrastructure to achieve internal Alibaba live in different places, as well as data from Alibaba production data stream to infrastructure spending.

DTS also supports a very rich data sources, including 17 kinds of data sources relational databases, NoSQL and Big Data, etc., took more than 40 million data transfer tasks on Ali cloud.

3, DMS + HDM unified database management program based on

In addition to the two DBS disaster recovery products and DTS, when the user data is synchronized using a line to line or line to the data line after hot standby, it will form a hybrid cloud database schema.

Ali cloud aims to provide a set of database unified hybrid cloud management solutions , the precipitated Ali audit program in desensitization, and many of the ability to change control and research and development collaboration and so on.

dbf5c9b99e6476b46c07d1bdb8717a75c3e.jpg

In the hybrid cloud, if the database is distributed in self-built IDC, vendors and other cloud Ali cloud, can be carried out through unified management of hybrid cloud Ali cloud database management (HDM), unified monitoring via One Console, alarm, performance optimization and risk identification.


Original link
This article Yunqi community original content may not be reproduced without permission.

Reproduced in: https: //my.oschina.net/u/1464083/blog/3060052

Guess you like

Origin blog.csdn.net/weixin_34128501/article/details/92127819