Category: Percona

Install Percona Server 5.5 On CentOS 6.5

Today we’re going to install Percona Server 5.5 on a CentOS 6.5 server. Our server is hosted on Amazon AWS but the procedure should be the same for any host. Percona Server is a drop-in replacement for MySQL that features enhanced performance. You can learn more about Percona here: http://www.percona.com/ We’re going to do our install using the Percona Yum repository. The documentation is here: http://www.percona.com/doc/percona-server/5.5/installation/yum_repo.html Lets get started by adding the repository. Run this command as root:

and you’ll get output similar to this:

Now if you run this command:

You’ll see a list of available packages like:

Since our goal is to install Percona 5.5, we’ll do the following:

The install proceeds like this:

As you can see a number of supporting packages were also installed. Next let’s configure Percona to start on boot:

And run it for the first time:

Read More »

Percona XtraDB Upgrade With Yum Shell

Ran into dependency problems today trying to upgrade a Percona XtraDB server cluster. Yum shell to the rescue:

This way I can run the remove and installs as part of a single transaction.

Read More »

Percona XtraDB Cluster On CentOS

This article is built off of a similar article we published last month: Percona XtraDB Cluster on Ubuntu The primary difference is this time we’re going to use CentOS instead of Ubuntu. In this article we’re going to build a Percona XtraDB Cluster using a pair of RackSpace Cloud Servers. Percona XtraDB Cluster is a MySQL compatible replacement supporting multi-master replication. For this project we’ll use the latest CentOS release and we’re going to use RackSpace Cloud Networks to setup an isolated segment for the replication between the cluster nodes. We’ll do two nodes in the cluster but you can add additional nodes as desired. Finally we’ll use a RackSpace Cloud Load Balancer to distribute traffic between the nodes. To get started, create the cloud servers from the RackSpace control panel using the following guidelines: Make sure you choose a Next Gen region for the servers. For the Image choose

Read More »

Percona XtraDB Cluster on Ubuntu

In this article we’re going to build a Percona XtraDB Cluster using a pair of RackSpace Cloud Servers. Percona XtraDB Cluster is a MySQL compatible replacement supporting multi-master replication. For this project we’ll use the latest Ubuntu release and we’re going to use RackSpace Cloud Networks to setup an isolated segment for the replication between the cluster nodes. We’ll do two nodes in the cluster but you can add additional nodes as desired. Finally we’ll use a RackSpace Cloud Load Balancer to distribute traffic between the nodes. To get started, create the cloud servers from the RackSpace control panel using the following guidelines: Make sure you choose a Next Gen region for the servers. For the Image choose “Ubuntu 13.04 (Raring Ringtail)” Select a size based on your requirements. We’re using 1GB for this article. In the Networks section, when creating the first server, click the “Create Network” button and

Read More »

MySQL Monitoring With myq_gadgets

Great set of utilities for monitoring MySQL performance: https://github.com/jayjanssen/myq_gadgets/ Here are the steps to install:

The tools will be in the myq_gadgets-master folder. There’s no installer so you can just start using the tools immediately. For instructions see the enclosed README.txt. Also this presentation demonstrates many of the features: http://www.percona.com/live/mysql-conference-2013/sites/default/files/slides/myq_gadgets%20talk.pdf

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.