[问题]
[解答]
[问题] 删除 ceph-node1上的osd.4节点的方法?
[解答]
ceph-admin-node@ceph-admin-node:~/my-cluster$ ceph osd tree
ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 0.07149 root default
-2 0.02859 host ceph-node2
0 0.01430 osd.0 down 0 1.00000
2 0.01430 osd.2 up 1.00000 1.00000
-3 0.01430 host ceph-node3
1 0.01430 osd.1 down 0 1.00000
-4 0.01430 host ceph-node1
4 0.01430 osd.4 up 1.00000 1.00000
-5 0.01430 host ceph-client-node
3 0.01430 osd.3 up 1.00000 1.00000
ceph-admin-node@ceph-admin-node:~/my-cluster$ ssh ceph-node1
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-31-generic x86_64)
Documentation: https://help.ubuntu.com/
System information as of Sun Feb 26 11:28:25 CST 2017
System load: 0.43 Processes: 115
Usage of /: 47.6% of 14.64GB Users logged in: 0
Memory usage: 26% IP address for eth0: 192.168.1.249
Swap usage: 0%Graph this data and manage this system at:
https://landscape.canonical.com/
New release ‘16.04.2 LTS’ available.
Run ‘do-release-upgrade’ to upgrade to it.
Last login: Sun Feb 26 11:28:25 2017
将 osd.4 设置为 out 状态
ceph osd out osd.4
停止 ceph-node1 上的 osd.4 的服务进程
@H_301_49@
harvis@ceph-node1:~@H_301_49@