Git Product home page Git Product logo

cn-core's Introduction

cn-core

cn-core replaces the demo.sh scenario of the ceph-container project for a faster bootstrap time, better test coverage and error handling.

cn-core init

See it in action:

[root@37c246814969 tmp]# ./cn-core init
2019/01/14 10:57:29 init: no daemon was selected. Deploying mon, mgr, osd, rgw, dash.
2019/01/14 10:57:29 init mon: run prerequisites
2019/01/14 10:57:29 init mon: writing monitor initial keyring
2019/01/14 10:57:29 init mon: writing ceph configuration file
2019/01/14 10:57:29 init mon: generating monitor map
2019/01/14 10:57:29 init mon: populating monitor store
2019/01/14 10:57:29 init mon: running monitor
2019/01/14 10:57:29 init mgr: run prerequisites
2019/01/14 10:57:29 init mgr: fetching admin keyring
2019/01/14 10:57:29 init mgr: generating manager keyring
2019/01/14 10:57:29 init mgr: running manager
2019/01/14 10:57:29 init osd: run prerequisites
2019/01/14 10:57:29 init osd: generating osd keyring
2019/01/14 10:57:30 init osd: populating osd store
2019/01/14 10:57:31 init osd: running osd
2019/01/14 10:57:33 init rgw: run prerequisites
2019/01/14 10:57:33 init rgw: generating rgw keyring
2019/01/14 10:57:33 init rgw: running rgw on port 8000
2019/01/14 10:57:33 init rgw: creating rgw user
2019/01/14 10:57:41 init dashboard: run prerequisites
2019/01/14 10:57:41 init dashboard: running dashboard on port 5000
2019/01/14 10:57:41 init ceph: running ceph health watcher

Or for daemon in particular cn-core init --daemon mon.

Full CLI example:

$ cn-core init -h
Init a Ceph cluster

Usage:
  cn-core init [flags]

Examples:
cn-core init
cn-core init --daemon mon


Flags:
  -d, --daemon string            Specify which daemon to bootstrap. Valid choices are: mon, mgr, osd, rgw, dash, health.
      --rgw-port string          Specify binding port for Rados Gateway. (default "8000")
      --dash-port string         Specify binding port for Sree dashboard. (default "5000")
      --dash-exposed-ip string   Specify binding port for Sree dashboard.
  -h, --help

cn-core's People

Contributors

kshithijiyer avatar leseb 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.