Merge pull request #5169 from beyondworld/master

beyondworld translated
This commit is contained in:
Xingyu.Wang 2017-02-21 21:40:16 +08:00 committed by GitHub
commit c4c6494e60
2 changed files with 94 additions and 86 deletions

View File

@ -1,86 +0,0 @@
beyondword translating
Getting Started with MySQL Clusters as a Service
============================================================
[MySQL Cluster.me][1] starts offering **MySQL Clusters** and **MariaDB Clusters** as a service based on **Galera Replication** technology.
In this article we will go through the main features of a **MySQL** and **MariaDB** clusters as a service.
[
![MySQL Clusters as a Service](http://www.tecmint.com/wp-content/uploads/2017/01/MySQL-Clusters-Service.png)
][2]
MySQL Clusters as a Service
### What is a MySQL Cluster?
If you have ever wondered how you can increase the reliability and scalability of your MySQL database you might have found that one of the ways to do that is through a **MySQL Cluster** based on **Galera Cluster** technology.
This technology allows you to have a complete copy of the MySQL database synchronized across many servers in one or several datacenters. This lets you achieve high database availability which means that if `1` or more of your database servers crash then you will still have a fully operational database on another server.
It is important to note that the minimum number of servers in a **MySQL Cluster** is `3` because when one server recovers from a crash it needs to copy data from one of the remaining two servers making one of them a “**donor**“. So in case of crash recovery you must have at least two online servers from which the crashed server can recover the data.
Also, a [MariaDB cluster][3] is essentially the same thing as MySQL cluster just based on a newer and more optimized version on MySQL.
[
![MySQL Clusters Galera Replications](http://www.tecmint.com/wp-content/uploads/2017/01/MySQL-Clusters-Galera-Replications.png)
][4]
MySQL Clusters Galera Replications
### What is a MySQL Cluster and MariaDB Cluster as a Service?
**MySQL Clusters** as a service offer you a great way to achieve both requirements at the same time.
First, you get **High Database Availability** with a high probability of **100% Uptime** in case of any datacenter issues.
Secondly, outsourcing the tedious tasks associated with managing a mysql cluster let you focus on your business instead of spending time on cluster management.
In fact, managing a cluster on your own may require you to perform the following tasks:
1. **Provision and setup the cluster**  may take you a few hours of an experienced database administrator to fully setup an operational cluster.
2. **Monitor the cluster**  one of your techs must keep an eye on the cluster 24×7 because many issues can happen cluster desynchronization, server crash, disk getting full etc.
3. **Optimize and resize the cluster**  this can be a huge pain if you have a large database and you need to resize the cluster. This task needs to be handled with extra care.
4. **Backups management**  you need to backup your cluster data to avoid it being lost if your cluster fails.
5. **Issue resolution**  you need an experienced engineer who will be able to dedicate a lot of effort optimizing and solving issues with your cluster.
Instead, you can save a lot of time and money by going with a **MySQL Cluster** as a Service offered by **MySQLcluster.me** team.
###### So whats included into MySQL Cluster as a Service offered by MySQLcluster.me?
Apart from high database availability with an almost guaranteed uptime of **100%**, you get the ability to:
1. **Resize the MySQL Cluster at any time**  you can increase or decrease cluster resources to adjust for the spikes in your traffic (RAM, CPU, Disk).
2. **Optimized Disks and Database Performance**  disks can achieve a rate of **100,000 IOPS** which is crucial for database operation.
3. **Datacenter Choice**  you can decide in which datacenter you would like to host the cluster. Currently supported Digital Ocean, Amazon AWS, RackSpace, Google Compute Engine.
4. **24×7 Cluster Support**  if anything happens to your cluster our team will always assist you and even provide you advice on your cluster architecture.
5. **Cluster Backups**  our team sets up backups for you so that your cluster is automatically backed up on a daily basis to a secure location.
6. **Cluster Monitoring**  our team sets up automatic monitoring so in case of any issue our team starts working on your cluster even if you are away from your desk.
There are a lot of advantages of having your own **MySQL Cluster** but this must be done with care and experience.
Speak to [MySQL Cluster][5] team to find the best suitable package for you.
--------------------------------------------------------------------------------
作者简介:
I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+
--------------------------------------------
via: http://www.tecmint.com/getting-started-with-mysql-clusters-as-a-service/
作者:[Ravi Saive][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/admin/
[1]:https://www.mysqlcluster.me/#utm_source=tecmintpost1&utm_campaign=tecmintpost1&utm_medium=tecmintpost1
[2]:http://www.tecmint.com/wp-content/uploads/2017/01/MySQL-Clusters-Service.png
[3]:https://www.mysqlcluster.me/#utm_source=tecmintpost1&utm_campaign=tecmintpost1&utm_medium=tecmintpost1
[4]:http://www.tecmint.com/wp-content/uploads/2017/01/MySQL-Clusters-Galera-Replications.png
[5]:https://www.mysqlcluster.me/#utm_source=tecmintpost1&utm_campaign=tecmintpost1&utm_medium=tecmintpost1

View File

@ -0,0 +1,94 @@
MySQL集群服务简介
=====================
[MySQL Cluster.me][1]开始提供基于**Galera Replication**技术的**MySQL**和**MariaDB**集群服务。
在本文中我们将会讨论**MySQL**和**MariaDB**集群服务的主要特性。
[
![MySQL集群服务](http://www.tecmint.com/wp-content/uploads/2017/01/MySQL-Clusters-Service.png)
][2]
MySQL集群服务
### 什么是MySQL集群
如果你曾经疑惑过如何提升MySQL数据库的可靠性和可扩展性然后你会发现其中一个解决办法就是通过基于**Galera Cluster**技术的**MySQL集群**解决方案。
这项技术使得你可以在一个或者多个数据中心的多个服务器上获得经过同步了的完整MySQL数据副本。这可以实现数据库的高可用性 - 当你的一个或者多个数据库服务器崩溃后,仍然能够从其它剩余服务器上获得完整的服务。
需要注意的是在**MySQL集群**中需要至少3台服务器因为当其中一台服务器从崩溃中恢复的时候需要从仍然存活的两台服务器中选择一个**捐赠者**拷贝一份数据,所以为了能够从崩溃中顺利恢复数据,必须要保证两台在线服务器以便从中恢复数据。
同样,[MariaDB集群][3]和MySQL集群在本质上是相同的因为MariaDB是基于MySQL开发的一个更新、更优化的版本。
[
![MySQL集群与Galera复制技术](http://www.tecmint.com/wp-content/uploads/2017/01/MySQL-Clusters-Galera-Replications.png)
][4]
MySQL集群与Galera复制技术
### 什么是MySQL和MariaDB集群服务?
**MySQL集群**服务提供了能够同时解决可靠性和可扩展性的方案。
首先,集群服务使你能够忽略任何数据中心引起的问题,并能获得高达**100%正常运行时间**的数据库高可用性。
其次将乏味无趣的MySQL集群相关管理工作外包出去能够使你更加专注于业务工作。
事实上,独立管理一个集群需要你能够完成以下所有工作:
1. **安装和设置集群**  这可能需要一个有经验的数据库管理员花费数小时来设置一个可用的集群。
2. **集群监控**  必须使用一种方案24 * 7监控集群运作因为会发生很多问题-集群不同步、服务器崩溃、硬盘空间满等
3. **优化及调整集群大小**  当你管理了很大的数据库时,调整集群大小将会是一个巨大的挑战。处理这个任务时需要格外小心。
4. **备份管理** –为了防止集群失败带来的危险,你需要备份集群数据。
5. **解决问题**  你需要一个经验丰富的工程师来对集群进行优化及解决相关问题。
但是现在你只需要通过使用**MySQLcluster.me**团队提供的**MySQL集群服务**就可以节省大量的时间和金钱。
###### MySQLcluster.me提供的MySQL集群服务包括了哪些内容
除了很多高可用性数据服务提供的**100%**可用性外,你还将获得如下保证:
1. **任何时候都可以调整MySQL集群大小**  你可以增加或者减少集群资源包括RAM,CPU,DISK以便满足业务尖峰需求。
2. **优化硬盘和数据库的表现**  硬盘能够达到**100,00 IOPS**,这对数据库操作十分重要。
3. **数据中心选择**  你可以选择将集群布置在哪个数据中心。.当前支持的数据中心有Digital Ocean, Amazon AWS, RackSpace, Google Compute Engine.
4. **24×7集群服务支持**  我们的团队能够为你集群上发生的任何问题提供支持,甚至包括对你的集群架构提供建议。
5. **集群备份**  我们团队会为你设置备份,这样你的集群数据能够每天备份到安全的地方。
6. **集群监控**  我们团队设置了自动监控以便能够及时发现你的集群出现的问题,并提供支持,哪怕你并没有在值班。
拥有自己的**MySQL集群**会有很多优势,但是需要你足够耐心和有经验才行。
与[MySQL Cluster][5]团队联系以便找到适合你的工具包.
--------------------------------------------------------------------------------
作者简介:
我是Ravi Saive,开发了TecMint.电脑极客和Linux专家喜欢分享关于Internet的建议和点子。我的大部分服务都运行在开源平台Linux上。关注我的Twitter,Facebook和Google+。
--------------------------------------------
via: http://www.tecmint.com/getting-started-with-mysql-clusters-as-a-service/
作者:[Ravi Saive][a]
译者:[beyondworld](https://github.com/beyondworld)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]:http://www.tecmint.com/author/admin/
[1]:https://www.mysqlcluster.me/#utm_source=tecmintpost1&utm_campaign=tecmintpost1&utm_medium=tecmintpost1
[2]:http://www.tecmint.com/wp-content/uploads/2017/01/MySQL-Clusters-Service.png
[3]:https://www.mysqlcluster.me/#utm_source=tecmintpost1&utm_campaign=tecmintpost1&utm_medium=tecmintpost1
[4]:http://www.tecmint.com/wp-content/uploads/2017/01/MySQL-Clusters-Galera-Replications.png
[5]:https://www.mysqlcluster.me/#utm_source=tecmintpost1&utm_campaign=tecmintpost1&utm_medium=tecmintpost1