ceph-cli

0.7.0 • Public • Published

ceph-cli

CEPH command line interface

Help you easily managing your CEPH storage.

Table of contents

Links

Get Started

# After installation, a global command "ceph" will be available. 
npm install -g ceph-cli
 
# List available sub commands. 
ceph 
 
# Show help info of sub command. 
ceph help download
 
# Download object from CEPH storage and save into local file. 
ceph upload --file foo.txt --name my/foo --connection conn.json

Here conn.json is a JSON formatted file which contains necessary connection configuration to a remote CEPH storage. See osapi README / OpenStack Swift Style for an example.

Sub Commands

The following sub commands or command-sets are avaiable under command ceph:

  • container
    To manage the containers.

    • clear
    • create
    • delete
    • list
  • delete
    To delete an object.

  • download
    To download an object to local file system.

  • info
    Display meta data of container or object.

  • list
    To list/find objects.

  • rename
    Rename an existing object.

  • upload
    To create an object with content in the specified file.

  1. Run ceph to print main manual page.
  2. Run ceph <subset-name> to print manual page for sub command set.

Recommendations

Readme

Keywords

Package Sidebar

Install

npm i ceph-cli

Weekly Downloads

9

Version

0.7.0

License

none

Unpacked Size

30.1 kB

Total Files

32

Last publish

Collaborators

  • youngoat
  • youngoat.elite