Monitor MySQL database restore progress with pv Rumi, January 12, 2013 The pv command is one that I really enjoy using but it's also one that I often forget about. You can't get a much more concise definition of what pv does than this one: pv allows a user to see the progress of data through a pipeline, by giving information… Continue Reading
Installing XHProf on Debian Rumi, January 12, 2013January 12, 2013 xhprof provides profiling information, down to the function call. This includes execution time, CPU and memory usage for each operation. The module allows you to find and optimise bottlenecks in your application. The library includes a GUI output, you just use the classes provided to create the reports. I installed… Continue Reading
Nagios- Memory Check Plugin Rumi, January 6, 2013January 6, 2013 Dave the below code as check_mem.sh using nano and chmod it to +x. (file to be saved inside nagios libexec- such as /usr/local/nagios/libexec/check_mem.sh Continue Reading
MySQLTuner adjust your MySQL database Rumi, January 6, 2013 MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability. Within seconds, it will display statistics about your MySQL installation and the areas where it can be improved. It's key to remember that MySQLTuner is a script… Continue Reading
Monitoring multiple server using Munin on Debian/Ubuntu Distribution Rumi, January 6, 2013 This tutorial was written for Debian Etch, but the configuration should apply to other distributions with little changes as well. I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is… Continue Reading
Openfiler Install NRPE Rumi, January 1, 2013January 1, 2013 INSTALL Compiler Dependency conary update gcc (a C-Compilter to compile the NRPE) conary update glibc:devel conary update openssl:devel conary update xinetd Add User ——– useradd nagios passwd nagios INSTALL NRPE ———— cd /usr/local/src/ wget http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.13/nrpe-2.13.tar.gz?r=http%3A%2F%2Fexchange.nagios.org%2Fdirectory%2FAddons%2FMonitoring-Agents%2FNRPE–2D-Nagios-Remote-Plugin-Executor%2Fdetails&ts=1342427280&use_mirror=nchc tar xzfv nrpe-2.12.tar.gz cd nrpe-2.12 Continue Reading
apt-get drush install on Debian Rumi, December 25, 2012December 25, 2012 These are the installation instructions that are recommended on Debian. Aegir dependencies (Apache, MySQL, PHP…) are also automatically installed. If you are managing the installation from a remote Windows computer, well-known open source tools for this task are for example PuTTY (a SSH client for command line), and WinSCP (a… Continue Reading
Mercury on Ubuntu 10.04 (Lucid) Rumi, December 22, 2012December 22, 2012 This high performance Drupal system is based on the work of Project Mercury. Project Mercury aims to increase the performance and ability of Drupal powered websites to respond to increased load. This document leverages the same collection of popular open source tools including the Varnish Accelerating Proxy, the APC bytecode… Continue Reading
MySQL Master-Master Replication with Heartbeat Rumi, December 5, 2012December 5, 2012 Setting Up The Two Base Systems In this setup there will be one master server (which runs the ISPConfig control panel interface) and one slave server which mirrors the web (apache), email (postfix and dovecot) and database (MySQL) services of the master server. To install the clustered setup, we need… Continue Reading
Install Varnish on CentOS/RedHat/SL 5 or 6 Rumi, December 5, 2012December 5, 2012 Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. It is installed in front of the web application and it speeds up the web application significantly. Since varnish is not available in CentOS repo, you have to add the EPEL repo. However Varnish suggests… Continue Reading