Book Image

Mastering Mesos

By : Dipa Dubhashi, Akhil Das
Book Image

Mastering Mesos

By: Dipa Dubhashi, Akhil Das

Overview of this book

Apache Mesos is open source cluster management software that provides efficient resource isolations and resource sharing distributed applications or frameworks. This book will take you on a journey to enhance your knowledge from amateur to master level, showing you how to improve the efficiency, management, and development of Mesos clusters. The architecture is quite complex and this book will explore the difficulties and complexities of working with Mesos. We begin by introducing Mesos, explaining its architecture and functionality. Next, we provide a comprehensive overview of Mesos features and advanced topics such as high availability, fault tolerance, scaling, and efficiency. Furthermore, you will learn to set up multi-node Mesos clusters on private and public clouds. We will also introduce several Mesos-based scheduling and management frameworks or applications to enable the easy deployment, discovery, load balancing, and failure handling of long-running services. Next, you will find out how a Mesos cluster can be easily set up and monitored using the standard deployment and configuration management tools. This advanced guide will show you how to deploy important big data processing frameworks such as Hadoop, Spark, and Storm on Mesos and big data storage frameworks such as Cassandra, Elasticsearch, and Kafka.
Table of Contents (16 chapters)
Mastering Mesos
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface
Index

Common deployment issues and solutions


This module contains a few common issues that are faced while installing or setting up the tools and modules described in this chapter:

  1. For the Ansible python-setup tools, take a look at the following screenshot:

    If your Ansible installation shows the preceding message, then execute the following command to resolve it:

    $ sudo pip install setuptools
    
  2. SSH runs on a different port, and nagios shows a connection refused error.

    You will get the following exception if you run your ssh server on a different port:

    SERVICE ALERT: localhost;SSH;CRITICAL;HARD;4;Connection refused

    This can be fixed by editing the following line from /etc/nagios/conf.d/services_nagios.cfg:

    # check that ssh services are running
    define service {
      hostgroup_name          ssh-servers
      service_description     SSH
      check_command           check_ssh_port!6666!server
      use                     generic-service
      notification_interval   0 ; set > 0 if you want to be renotified

    Here, we used...