Neuigkeiten

MPM and Percona Server

Oli Sennhauser - Fri, 2012-06-15 09:58

Hi John,

MPM can work with any MySQL branch/fork. Some of the branches try to make their product unique by adding features or changing things. Because we are parsing the output of SHOW ENGINE INNODB STATUS amongst other things some values can become wrong over time when the output format is changed by the vendors.

The values you mention base most probably on the MySQL status information (SHOW GLOBAL STATUS) Innodb_data_fsyncs and Innodb_data_writes. So those should be correct on any MySQL branch/fork.

But I …


Taxonomy upgrade extras: 

GLB init script

Oli Sennhauser - Wed, 2012-06-13 07:21

Daniel the Hazard wrote us:

just wanted to leave this complement to your GLB post: a init script for GLB that supports adding and removing targets

Thanks Daniel!

#!/bin/sh
#
# glbd          Start/Stop the Galera Load Balancer daemon.
#
# processname: glbd
# chkconfig: 2345 90 60
# description: GLB is a TCP load balancer similar to Pen. \
#              It lacks most of advanced Pen features, as \
#              the aim was to make a user-space TCP proxy which is \
#              as fast as …

Taxonomy upgrade extras: 

Using screen for support and/or surveillance

Oli Sennhauser - Mon, 2012-05-21 16:01

See also Byobu.

Often support customers want to see what you do on their databases. For this screen is the ideal tool.

Screen commands typically look like this:

screen> Ctrl+a ?

This means press Ctrl+a, release Ctrl+a, press ? and NOT press Ctrl+a+? together. Often you can find Ctrl+A which is wrong. It is a lower case a!

Start first screen

Start and leave a screen:

shell> screen
screen> exit

or k for kill

screen> Ctrl+a k

Comment: Does not work if done with sudo, typically used with ssh.

A …


Taxonomy upgrade extras:  Support  Screen  Tmux  Terminal 

CentOS 6 and bonding

Oli Sennhauser - Wed, 2012-05-02 11:52

Some updates if you want to use bonding on CentOS 6:

Due to the fact that /etc/modprobe.conf has been deprecated in CentOS 6, the process of bonding network interfaces has changed a bit.

Now instead of defining your bond in your /etc/modprobe.conf, you define it in /etc/modprobe.d/bonding.conf [ 1 ].


Taxonomy upgrade extras: 

FromDual Newsletter Spring 2012

Oli Sennhauser - Fri, 2012-04-27 11:12

Dear MySQL User,

With this newsletter we bring you up to date about MySQL and our Services.

If you are not interested in this newsletter or if you are the wrong recipient, you can unsubscribe here or even better send this newsletter to the right person.

There are some news about the following topics:


Taxonomy upgrade extras:  Support  Training  Newsletter  Galera  Maas  Mysql Support  Mysql-Training 

MySQL Performance Monitor installation guide for Windows

Oli Sennhauser - Fri, 2012-04-20 17:56

Taxonomy upgrade extras:  Performance Monitor  Fpmmm  Maas  Windows 

Database label

Oli Sennhauser - Fri, 2012-04-20 08:43

Hello Matthew,

In the proposed way it does not work. In Zabbix a host name must be unique. What you call db_label is the Zabbix hostname.

We have for our MaaS customers the following constellations:

  • Several companies
  • Master/Slave set-ups
  • Galera Cluster set-ups
  • Several MySQL instances (mysqld) per server.

We recommend to use the db_label as follows:

[Company.Server_name.Db_fantasy_name]

In your case you possibly can omit the Company tag. So we have:

[Server_A.Prod]

[Server_B.Failover] …

Taxonomy upgrade extras: 

Resources

Oli Sennhauser - Mon, 2012-04-16 17:53

Some more information about FromDual:

Some FromDual tools:


Taxonomy upgrade extras: 

Solved: host name was wrong

Oli Sennhauser - Sat, 2012-04-14 10:29

Hello Wills,

No problem. I am lucky we finally found it. Any improvement suggestions are welcome!

Oli


Taxonomy upgrade extras: 

active vs. passive Zabbix Config

Oli Sennhauser - Fri, 2012-04-13 17:05

Hello Wills,

First I would check if the host ‘util-mysql0’ matches EXACTLY the hostname in Zabbix server. That is the typical problem. Are you sure this specific item (FromDual.MySQL.mysql.version) exists under this host?

I still do not get what you mean with active and passive. Can you please elaborate?

Best regards, Oli


Taxonomy upgrade extras: 

active vs. passive Zabbix Config

Oli Sennhauser - Fri, 2012-04-13 10:15

Hello Wills,

What about uploading data of some of the relevant modules (mysql or innodb for example)? Have you changed something except upgrading the mpm agent?

With: Monitoring -> Last data you can see if items are uploaded.

You can simulate this manually as follows:

/usr/bin/zabbix_sender –zabbix-server util-zabbix0 –port 10051 –host ‘util-mysql0’ –key FromDual.MySQL.mysql.version –value ’test version’ -vv

Then you should get something like: …


Taxonomy upgrade extras: 

FromDual.server.check does not exist.

Oli Sennhauser - Thu, 2012-04-12 09:10

Hi Wills,

This is OK because the key does not exist in any template.

  # This tag does NOT exist in templates!!!
  my $lKey    = 'FromDual.server.check';

Did it stop before you did the upgrade or did it stop when you did the upgrade?

Can you set Debug = 4 in the mpm configuration file and let us know the output? Is the zabbix_agent triggered at all?

Regards, Oli


Taxonomy upgrade extras: 

New approach of ndb_size.pl from ioggstream

Oli Sennhauser - Wed, 2012-04-04 11:41

Available in 5.5

Oli Sennhauser - Wed, 2012-03-28 10:43

Hello Cédric,

OK. I see. 5.1 is a bit outdated now… Most of our customers are going to 5.5 now or are already on it. So we have to focus on the future.

Oli


Taxonomy upgrade extras: 

InnoDB compression time calculation

Oli Sennhauser - Wed, 2012-03-28 08:38

Hello Cédric,

What the monitor does is the following:

SELECT SUM(compress_time) AS compress_time, SUM(uncompress_time) AS uncompress_time
  FROM information_schema.INNODB_CMP

The MySQL documentation states in chapter The INFORMATION_SCHEMA INNODB_CMP and INNODB_CMP_RESET Tables:

COMPRESS_TIME: Total time in seconds spent in attempts to compress B-tree pages of the size PAGE_SIZE.
UNCOMPRESS_TIME: Total time in seconds spent in uncompressing B-tree pages of the size PAGE_SIZE.

So we store the delta and can …


Taxonomy upgrade extras: 

zabbix_sender failed

Oli Sennhauser - Tue, 2012-03-13 08:05

zabbix_sender was capable to connect and send (sent: 1) but processing the item failed (Processed 0, Failed 1)

This can happen because of the following reasons:

  1. The host name does not match
  2. The item does not exist
  3. There is a bug

The second problem imho is independent from the first one (except you hit a bug). Zabbix server could not reach Zabbix agent for some reasons. We also get this error from time to time.

So it could be that the bug you described causes this or some other reasons mentioned here: …


Taxonomy upgrade extras: 

Once in a while Zabbix graphs do not display any information

Oli Sennhauser - Mon, 2012-03-05 21:38

Hello

I have successfully installed and configured zabbix to work with your performance monitoring. However, every once in a while, the graphs in zabbix do not display any information. It seems when I invoke FromDualMySQLagent.pl things go back to normal. Do I need to setup a cron to refresh the data?

I have included the following line in /etc/zabbix/zabbix_agentd/userparameter_mysql.conf:

UserParameter=FromDual.MySQL.check,/usr/local/mysql_performance_monitor/FromDualMySQLagent.pl …

Taxonomy upgrade extras:  Mpm Installation 

Zabbix agent stopps working

Oli Sennhauser - Mon, 2012-03-05 21:58

Hello William,

A cron job should not be necessary. It looks like the Zabbix Server disables this specific Zabbix agent/host for some reasons. So we should find, why! Could you please have a look at the zabbix_server.log and the zabbix_agent.log and let us know if you find anything?

Hopefully the solution should be found there.

Regards, Oli


Taxonomy upgrade extras: 

Test Zabbix/mpm Agent

Oli Sennhauser - Fri, 2012-03-02 12:01

Hi handon,

In the MPM installation guide I can find this:

This means that the item FromDual.MySQL.check is not known to the Zabbix Server. Then you have possibly forgotten to ad the mysql module template to the host you want to monitor.

This seems to be not true any more! Now it is the mpm module. We will fix this in the documentation asap!

When you have added the mpm module to the/a server and disable/enable it once Zabbix should detect it and start polling the agent.

I hope this helps. If not, please let …


Taxonomy upgrade extras: 

ndb%count output

Oli Sennhauser - Mon, 2012-02-13 09:24

Hello amatus,

Not sure if I understood you correctly. But the output is in the following Before and After code boxes…

I have changed this now a bit for beeing more clear.

Please elaborate a bit more if I missed you. Regards, Oli


Taxonomy upgrade extras: 

Pages

Subscribe to FromDual aggregator - FromDual all (de)