Code Monkey home page Code Monkey logo

glfs-health's Introduction

glfs-health.sh - Tool to inspect the health of a GlusterFS server
==============

Usage:
   sh# glfs-health.sh [SERVERIP [SERVERPORT [TRANSPORT [VOLNAME]]]]

The tool inspects the health of the GlusterFS server volume VOLNAME running on
the host SERVERIP on port SERVERPORT using the transport mechanism TRANSPORT.

The default four parameters are initialized in the script. They can be overriden
from the command line as shown above.

The health of the service is written to stdout. The possible output messages:

-- "OK"
   The server is healthy and capable of handling client connections.

-- "Connection refused"
   The machine is reachable, but GlusterFS is not running on the requested port.
   Possible reasons include GlusterFS not yet being started, or GlusterFS server
   has crashed.

-- "Host unreachable"
   The machine is unreachable. Very likely to be shutdown, or network interface
   has gone down on the server.

-- "Server Unresponsive"
   The machine is reachable. Connection could be established at the transport
   level but GlusterFS server is not responding. This could happen for at least
   two reasons.
    1) The OS has softlocked certain subsystems but networking is operational
    2) GlusterFS has deadlocked itself due to a bug

-- "Unknown service encountered"
   The service running on the requested HOST and PORT is not a GlusterFS service

-- "Authentication failed"
-- remote-subvolume "adsf" is not found
   Server is operational as such, but the might be misconfigured or the tool is
   invoked as non-root or with wrong parameters

-- "No version number specified"
   Server is a an old version and mismatching with the client

glfs-health's People

Contributors

avati avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.