Install Ganglia on Ubuntu 14.04 Server

Source: Internet
Author: User
Tags rrdtool

Install Ganglia on Ubuntu 14.04 Server

Ganglia is a cross-platform, scalable, distributed monitoring system in high-performance computing systems, such as clusters and grids. It is based on hierarchical design and is widely used technologies such as XML data representation, portable data transmission, and RRDtool for data storage and visualization. It uses well-designed data structures and algorithms to achieve extremely low concurrency between each node.

It has been transplanted to a wide range of operating systems and processor architectures and is currently in use in thousands of clusters around the world. It has been used to link university campuses and around the world and can handle 2000 nodes.

Expand the Python module under Ganglia 3.1.x (translated from the official wiki)

Use Ganglia to monitor Hadoop Clusters

Install and configure Hadoop and Ganglia in Ubuntu of VMware Workstation

Create a Grid

Ganglia installation tutorial yum

Ganglia Quick Start Guide (translated from the official wiki)

Install Ganglia-3.6.0 monitoring Hadoop-2.2.0 and HBase-0.96.0 on CentOS Cluster

Install Ganglia on CentOS 6.5

Good. You are ready to install it!

1. First, make sure that the LAMP service is installed on Ubuntu14.04.

Ganglia consists of two so-called main daemon gmond (Ganglia monitoring Daemon) and gmetad (Ganglia meta Daemon), a PHP-based Web Front-end and other small utilities.

2. Install Ganglia on Ubuntu14.04.

Open the terminal and run the following command:

sudo apt-get install ganglia-monitor rrdtool gmetad ganglia-webfrontend

During the installation process, you should see the following options for restarting the apache2 server after installation, directly Yes, and then press Enter.

3. Configure Ganglia

The basic installation has been completed. Now we need to configure it according to the following steps:

4. Ganglia master node configuration

Now, you need to copy the Ganglia webfrontend Apache configuration and use the following command to get the correct location:

sudo cp /etc/ganglia-webfrontend/apache.conf /etc/apache2/sites-enabled/ganglia.conf

Now, you need to use the following command to edit the configuration file of the Ganglia meta daemon:

sudo vi /etc/ganglia/gmetad.conf

The changes are as follows:

data_source "my cluster" localhost

To:

data_source "my cluster" 50 192.168.56.10:8649

The following lists the machine service data sources, IP: port or server name: port. If Port 8649 is not specified, the default gmond port is used ).
Run the following command to edit the configuration file of the master node:

sudo vi /etc/ganglia/gmond.conf

Make the following changes:

/* If a cluster attribute is specified, then all gmond hosts are wrapped inside
* of a tag. If you do not specify a cluster tag, then all will
* NOT be wrapped inside of a tag. */
cluster {
name = "unspecified"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}

To:

cluster {
name = "my cluster"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}

/* Feel free to specify as many udp_send_channels as you like. Gmond
used to only support having a single channel */
udp_send_channel {
mcast_join = 239.2.11.71
port = 8649
ttl = 1
}

To:

/* Feel free to specify as many udp_send_channels as you like. Gmond
used to only support having a single channel */
udp_send_channel {
# mcast_join = 239.2.11.71
host = 192.168.56.10
port = 8649
ttl = 1
}

/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel {
mcast_join = 239.2.11.71
port = 8649
bind = 239.2.11.71
}

To:

/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel {
# mcast_join = 239.2.11.71
port = 8649
#bind = 239.2.11.71
}

Save and close the file.

Restart the service:

sudo /etc/init.d/ganglia-monitor start
sudo /etc/init.d/gmetad start
sudo /etc/init.d/apache2 restart

Now you can use the following command to access gnglia webinterface:

Http: // serverip/ganglia/

 

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.