Ceph monitoring Ceph-dash Installation

Source: Internet
Author: User
Tags virtualenv

Ceph monitoring Ceph-dash Installation

There are a lot of Ceph monitors, such as calamari or inkscope. When I started to try to install these, they all failed, and then Ceph-dash came into my eyes, according to the official description of Ceph-dash, I personally think it is the simplest installation, but it is difficult to use it during the installation process, in addition, the lack of relevant Ceph-dash installation materials on the Internet still takes a lot of time.

My environment:

OS: RedHat 6.1)

Network: None)

Ceph version: 0.80.7

Enter the subject:

First download ceph-dash. If it is not easy to use, download it at https://github.com/crapworks/ceph-dash.

After the download is complete, follow the prompts on the official website to install the tool. The steps are as follows:

  • Clone this repository
  • Place it on one of your ceph monitor nodes
  • Run ceph-dash.py
  • Point your browser to http: // ceph-monitor: 5000/
  • Enjoy!

I will not talk much about it in simple English. If there is no problem with installing this operation, congratulations, you have a better character than me. You can skip it. I have not installed this file, or I will not write this article... If the installation fails, follow these steps.

Because ceph-dash is written in python, it is missing some additional ceph software package: Flask when I fail to succeed. After installing Flask, it should be okay to run ceph-dash again, if you are still not OK, then I can't help it, Because I encountered this error.

If your machine is connected to the Internet, congratulations, you will install Flask conveniently.

1. Install Flask on the network. For more information, see

2. There is no network for Flask installation. I mainly write more about this because my data center does not have a network.

A. Download The flasksource code package, and I will download flask-0.10.1.tar.gz,

Download the virtualenvsource code package, virtualenv-12.0.4.tar.gz,

Download the itsdangeroussource code package.

These are my latest versions at this time. I have packed all my packages for your convenience to download. ceph-dash monitors all the installation packages.

B. Install virtualenv first.

Decompress:

Tar-zxvf virtualenv-12.0.4.tar.gz

Enter the decompressed directory:

Cd virtualenv-12.0.4

Install virtualenv (ps: python must be installed on your machine before installation. python will be installed for normal yum. I remember it was 2.6 ~ 2.7, I use 2.6.X ):

Python setup. py install

After the installation is complete, you can try the virtualenv command. If not, close the current terminal, re-open the terminal, re-install it, and try again, sometimes the first installation does not have the virtualenv command, and the installation is repeated several times.

C、decompress flask-0.10.1.tar.gz, enter the decompressed directory, and perform the following operations:

Tar-zxvf Flask-0.10.1.tar.gz
Cd Flask-0.10.1
Virtualenv env // create a directory named env, which is an independent python Environment
. Env/bin/activate // activate the Environment named env. Note that there are spaces after;
Python setup. py develop

(During the last step, I am prompted that there is no itsdangerous during installation, so we will stop here to install itsdangerous)

DNT decompress itsdangerous-0.24.tar.gz, enter the decompressed directory, and perform the following operations:

Tar-zxvf itsdangerous-0.24.tar.gz
Cd itsdangerous-0.24
Python setup. py install

After installing itsdangerous, go to the Flask installation directory and try the last step of the previous Flask installation.

Python setup. py develop

Whether the message "itsdangerous" is displayed. If the prompt still does not exist, close the current terminal, re-open the terminal, and re-install it several times.

After Flask is successfully installed, run ceph-dash again.

-------------------------------------- Split line --------------------------------------

Ceph environment configuration document PDF

Deploying Ceph on CentOS 6.3

Ceph Installation Process

HOWTO Install Ceph On FC12 and FC Install Ceph Distributed File System

Ceph File System Installation

CentOS 6.2 64-bit installation of Ceph 0.47.2

Ubuntu 12.04 Distributed File System (Ceph)

Install Ceph 0.24 on Fedora 14

-------------------------------------- Split line --------------------------------------

Ceph details: click here
Ceph: click here

This article permanently updates the link address:

Related Article

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.