doc/config-cluster/deploying-ceph-conf.rst <-added sudo. required.
doc/config-cluster/deploying-ceph-with-mkcephfs.rst <-cd to /etc/ceph so keyring goes there.
doc/install/chef.rst <-added update and install opscode-keyring, and upgrade.
doc/install/debian.rst <-added ceph-common to the install
Signed-off-by: John Wilkins <john.wilkins@dreamhost.com>
cd ~/.chef
git clone https://github.com/ceph/ceph-cookbooks.git
- knife cookbook site upload parted btrfs parted
+ knife cookbook upload parted btrfs ceph
Install Apache Cookbooks
------------------------
On ``myserver01``::
- mkdir srv/osd.0
- mkdir srv/mon.a
+ sudo mkdir srv/osd.0
+ sudo mkdir srv/mon.a
On ``myserver02``::
- mkdir srv/osd.1
- mkdir srv/mon.b
+ sudo mkdir srv/osd.1
+ sudo mkdir srv/mon.b
On ``myserver03``::
- mkdir srv/osd.2
- mkdir srv/mon.c
+ sudo mkdir srv/osd.2
+ sudo mkdir srv/mon.c
On ``myserver04``::
- mkdir srv/osd.3
+ sudo mkdir srv/osd.3
.. important:: The ``host`` variable determines which host runs each instance of a Ceph daemon.
For production environments, you deploy Ceph using Chef cookbooks. To run
``mkcephfs``, execute the following::
+ cd /etc/ceph
sudo mkcephfs -a -c /etc/ceph/ceph.conf -k ceph.keyring
The script adds an admin key to the ``ceph.keyring``, which is analogous to a
gpg --keyserver keys.gnupg.net --recv-keys 83EF826A
gpg --export packages@opscode.com | sudo apt-key add -
+ sudo apt-get update
+ sudo apt-get install opscode-keyring
To install Chef, execute ``update`` and ``install``. For example::
+ sudo apt-get upgrade
sudo apt-get update
sudo apt-get install chef
Install Ceph::
sudo apt-get install ceph
+ sudo apt-get install ceph-common