As businesses head into the cloud, it is tempting to reach for the first product that offers to make database operation as simple as punching a few buttons on a menu. However, there’s a big difference between firing up cloud database services such as Amazon RDS for testing or development and finding a solution that can handle hundreds of millions of transactions daily. This webinar-on-demand
In the previous post of this series we saw how you
could use mysqlrpladmin
to perform manual
failover/switchover when GTID replication is enabled in MySQL
5.6. Now we will review mysqlfailover
(version 1.4.3),
another tool from the MySQL Utilities that can be used for
automatic failover.
Summary
-
mysqlfailover
can perform automatic failover if MySQL 5.6′s GTID-replication is enabled. - All slaves must use
--master-info-repository=TABLE
. - The monitoring node is a single point of failure: don’t forget to monitor it! …
MySQL Utilities are a set of tools provided by
Oracle to perform many kinds of administrative tasks. When
GTID-replication is enabled, 2 tools can be used for slave
promotion: mysqlrpladmin
and mysqlfailover
. We will review
mysqlrpladmin
(version 1.4.3) in this post.
Summary
-
mysqlrpladmin
can perform manual failover/switchover when GTID-replication is enabled. - You need to have your servers configured with
--master-info-repository = TABLE
or to add the--rpl-user
option for the tool to work properly. - The check for errant transactions is …
We are pleased to inform you that the new Continuent Tungsten 2.0.2 is now available. Continuent Tungsten keeps data available to applications 7x24 through hardware failures, maintenance, and software upgrades. It ensures business continuity and performance by keeping up-to-date data closer to the user, and increases application throughput and improves response time by load balancing SQL
In this virtual course, you will learn how to get from a single database server to a scalable cluster, or from a brittle MySQL replication system to a transparent, manageable Continuent Tungsten cluster.
We discuss the benefits of leveraging Continuent Tungsten clustering with MySQL, and walk you through the steps to implement a Continuent Tungsten cluster in Amazon EC2.
In today's webinar, we discuss the multi-master capabilities of Continuent Tungsten to help you build and manage systems that spread data across multiple sites.
We cover important topics such as setting up large scale topologies, handling failures, and how to handle data privacy issues like removing personally identifiable information or handling privacy law restrictions on data movement. We
This post is an extension to my earlier posts about multi master replication cluster multi master replication in mysql and mysql multi master replication act II The problem I had encountered and discussed was with automatic failover. What happens when the master goes down? How can either a slave or another master be promoted to become the master? Once the settings are done on all the mysql dbs
MySQL Cluster claims to achieve sub-second failover without any
data loss for commited transactions. And I always wanted to show
this in a demo. Now we created that demo finally. See Mark's blog and Keith's blog for setting up MySQL Cluster on
RaspberryPi.
The nice thing about the RPis is that you can easily pull the
plug to test failover. Ok, that is only one possible failure
scenario but for sure the most obvious and more impressive than
"kill -9".
That demo application is constantly using the database for
storing new lines, removing old lines and reading all line data
for the graphical view. There is no caching. It uses JDBC
directly.
To document the setup here is the config.ini file for MySQL
Cluster:
[ndb_mgmd]
…
The occurrence of failures and crashes can compromise the high
availability of your database system affecting your revenue and
reputation. Therefore, it is fundamental to minimize downtime and
have an efficient strategy for crash recovery.
Replication and failover are commonly applied to deal with those
situations. However, other types of failures can also affect the
recovery process. In fact, the occurrence of unanticipated faults
can really be an headache! Thus, it is better to be prepared and
implement a good fault-tolerant failover strategy.
Performing failover is not trivial. It requires the execution of
several steps in order to ensure data consistency (i.e., no data
loss) -- especially if the "best" candidate to become the new
master is not the most up-to-date.
Note that, one might desire that the slave with the best hardware
should become the new master. In this case, the candidate must be …
Modern NoSQL solutions make good, old MySQL Replication appear weak on High Availability (HA). Basically, MySQL users have three choices for MySQL Replication HA: give up on HA, believe that doubling single points of failures means HA, or go for a proper but complex solution. Albeit, as NoSQL world and competition proves, solid HA can be dead simple: embed a Group Communication System (GCS) into MySQL! No single point of failure and near zero client deployment is doable. In parts, the proposal surpassed Pacemaker/Corosync. Read on: story, slides, experimental code.
[Read more]