Last active
August 29, 2015 14:25
-
-
Save amatus/7af3dd9a51b00fb1e622 to your computer and use it in GitHub Desktop.
Installing ceph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove systemd (http://tracker.ceph.com/issues/11344) | |
http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/sid_installation | |
dpkg -i ceph_*.deb ceph-common_*.deb librados2_*.deb python-rados_*.deb python-cephfs_*.deb librbd1_*.deb libcephfs1_*.deb python-rbd_*.deb | |
apt-get install -fy | |
Setup cluster: http://ceph.com/docs/master/install/manual-deployment/ | |
before starting the ceph monitor node: touch /var/lib/ceph/mon/{cluster-name}-{hostname}/sysvinit | |
before preparing osd nodes: copy /etc/ceph/ceph.conf and /var/lib/ceph/bootstrap-osd/ceph.keyring to the corresponding directories on the osd | |
Setup mds: | |
copy /etc/ceph/ceph.conf and /var/lib/ceph/bootstrap-mds/ceph.keyring to the corresponding directories on the mds | |
mkdir /var/lib/ceph/mds/{cluster}-{name} | |
ex: mkdir /var/lib/ceph/mds/ceph-ceph-mds0 | |
ceph --cluster ceph --name client.bootstrap-mds --keyring /var/lib/ceph/bootstrap-mds/ceph.keyring auth get-or-create mds.ceph-mds0 osd "allow rwx" mds allow mon "allow profile mds" -o /var/lib/ceph/mds/ceph-ceph-mds0/keyring | |
touch /var/lib/ceph/mds/ceph-ceph-mds0/{done,sysvinit} | |
service ceph start mds.ceph-mds0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment