-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathreadme
More file actions
30 lines (22 loc) · 1.17 KB
/
readme
File metadata and controls
30 lines (22 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
EasyCeph - deploy ceph easy and fast
Create cluster with first monitor and one MGR daemon
host-one # ec-cluster-create monip=192.168.1.1:6789 clusternet=192.168.1.0/24 osdnet=192.168.2.0/24
host-one # ec-mgr-create prima --start
host-one # ec-bootstrap-keys ceph
Deploy monitor on other host (copy configs and deploy second mon and mgr)
host-one # scp /etc/ceph/ceph.conf /etc/ceph/ceph.client.admin.keyring root@host-two
host-one # ssh root@host-two
host-two # ec-mon-add monip=192.168.1.2:6789 monname=secunda
host-two # ec-mgr-create secunda --start
Create custom OSD (two OSDs on one disk)
host-two # ec-part-tool create sdb 1 100M // creates sdb1 of 100MiB
host-two # ec-part-tool create sdb 2 123G // creates sdb2 of 123GiB
host-two # ec-part-tool create sdb 3 100M // creates sdb3 of 100MiB
host-two # ec-part-tool create sdb 4 // creates sdb4 of all remaining size
host-two # ec-part-tool mark sdb 1 osd
host-two # ec-part-tool mark sdb 2 block
host-two # ec-part-tool mark sdb 3 osd
host-two # ec-part-tool mark sdb 4 block
host-two # chown ceph:ceph /dev/sdb?
host-two # ec-osd-create bluestore sdb1 sdb2 --start
host-two # ec-osd-create bluestore sdb3 sdb4 --start