分布式对象存储Ceph部署工具ceph-deploy常用命令
Posted 白-胖-子
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了分布式对象存储Ceph部署工具ceph-deploy常用命令相关的知识,希望对你有一定的参考价值。
ceph-deploy常用命令
- new 初始化网络,生成key
- install 安装包
- uninstall 在远端主机删除包
- key在本地都需要保存,所以就不用gatherkeys
- disk 管理远端磁盘的 擦除zap和列出list 远端主机磁盘,擦除时磁盘要裸干净
用pe工具大白菜从u盘启动,完全初始化,重新,dr
osd 列出list和创建create osd,将对端磁盘加入到osd - admin 管理远端主机
- repo 管理源,一般不用
- config 管理ceph的配置文件
- purge 删除远端 一般不会用
- purgedata 删除远端数据 一般不会用
- calamari 一般不用
- forgetkey 丢掉key在远端 一般也不用
[root@u20-ceph1-241 ceph-cluster]# ceph-deploy --help
usage: ceph-deploy [-h] [-v | -q] [--version] [--username USERNAME] [--overwrite-conf]
[--ceph-conf CEPH_CONF]
COMMAND ...
Easy Ceph deployment
-^-
/ \\
|O o| ceph-deploy v2.0.1
).-.(
'/|||\\`
| '|` |
'|`
Full documentation can be found at: http://ceph.com/ceph-deploy/docs
optional arguments:
-h, --help show this help message and exit
-v, --verbose be more verbose
-q, --quiet be less verbose
--version the current installed version of ceph-deploy
--username USERNAME the username to connect to the remote host
--overwrite-conf overwrite an existing conf file on remote host (if present)
--ceph-conf CEPH_CONF
use (or reuse) a given ceph.conf file
commands:
COMMAND description
new Start deploying a new cluster, and write a CLUSTER.conf and keyring for it.
install Install Ceph packages on remote hosts.
mds Ceph MDS daemon management
mgr Ceph MGR daemon management
mon Ceph MON Daemon management
rgw Ceph RGW daemon management
gatherkeys Gather authentication keys for provisioning new nodes.
disk Manage disks on a remote host.
osd Prepare a data disk on remote host.
admin Push configuration and client.admin key to a remote host.
config Copy ceph.conf to/from remote host(s)
repo Repo definition management
purge Remove Ceph packages from remote hosts and purge all data.
purgedata Purge (delete, destroy, discard, shred) any Ceph data from /var/lib/ceph
uninstall Remove Ceph packages from remote hosts.
calamari Install and configure Calamari nodes. Assumes that a repository with
Calamari packages is already configured. Refer to the docs for examples
(http://ceph.com/ceph-deploy/docs/conf.html)
forgetkeys Remove authentication keys from the local directory.
pkg Manage packages on remote hosts.
See 'ceph-deploy <command> --help' for help on a specific command
以上是关于分布式对象存储Ceph部署工具ceph-deploy常用命令的主要内容,如果未能解决你的问题,请参考以下文章