summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-06-05 09:20:51 +0000
committerGerrit Code Review <review@openstack.org>2018-06-05 09:20:51 +0000
commita8b50bff6f23411b7fcb27c4c8c5a306853419c5 (patch)
tree0fdce445e69ef394b81441302ca574a8d0594ae3
parent1514ea0c3e64eacf816d5bc578ed24a7cc1f7f1d (diff)
parent8a1e2e548b5cbfd4ef6ae3463275baec77692831 (diff)
Merge "Update README.md with information on initializing disks"
-rw-r--r--README.md32
1 files changed, 22 insertions, 10 deletions
diff --git a/README.md b/README.md
index edc26e0..a3f22bf 100644
--- a/README.md
+++ b/README.md
@@ -5,8 +5,8 @@ Ceph is a distributed storage and network file system designed to provide
5excellent performance, reliability, and scalability. 5excellent performance, reliability, and scalability.
6 6
7This charm deploys additional Ceph OSD storage service units and should be 7This charm deploys additional Ceph OSD storage service units and should be
8used in conjunction with the 'ceph' charm to scale out the amount of storage 8used in conjunction with the 'ceph-mon' charm to scale out the amount of
9available in a Ceph cluster. 9storage available in a Ceph cluster.
10 10
11Usage 11Usage
12===== 12=====
@@ -18,6 +18,10 @@ cluster::
18 A list of devices that the charm will attempt to detect, initialise and 18 A list of devices that the charm will attempt to detect, initialise and
19 activate as ceph storage. 19 activate as ceph storage.
20 20
21 If the charm detects pre-existing data on a device it will go into a
22 blocked state and the operator must resolve the situation utilizing the
23 `list-disks`, `zap-disk` and/or `blacklist-*` actions.
24
21 This this can be a superset of the actual storage devices presented to 25 This this can be a superset of the actual storage devices presented to
22 each service unit and can be changed post ceph-osd deployment using 26 each service unit and can be changed post ceph-osd deployment using
23 `juju set`. 27 `juju set`.
@@ -25,20 +29,28 @@ cluster::
25For example:: 29For example::
26 30
27 ceph-osd: 31 ceph-osd:
32 options:
28 osd-devices: /dev/vdb /dev/vdc /dev/vdd /dev/vde 33 osd-devices: /dev/vdb /dev/vdc /dev/vdd /dev/vde
29 34
30Boot things up by using:: 35Example utilizing Juju storage::
36
37 ceph-osd:
38 storage:
39 osd-devices: cinder,20G
31 40
32 juju deploy -n 3 --config ceph.yaml ceph 41Please refer to [Juju Storage Documentation](https://docs.jujucharms.com/devel/en/charms-storage) for details on support for various storage providers and cloud substrates.
33 42
34You can then deploy this charm by simple doing:: 43How to deploy::
35 44
36 juju deploy -n 10 --config ceph.yaml ceph-osd 45 juju deploy -n 3 ceph-osd
37 juju add-relation ceph-osd ceph 46 juju deploy ceph-mon --to lxd:0
47 juju add-unit ceph-mon --to lxd:1
48 juju add-unit ceph-mon --to lxd:2
49 juju add-relation ceph-osd ceph-mon
38 50
39Once the ceph charm has bootstrapped the cluster, it will notify the ceph-osd 51Once the 'ceph-mon' charm has bootstrapped the cluster, it will notify the
40charm which will scan for the configured storage devices and add them to the 52ceph-osd charm which will scan for the configured storage devices and add them
41pool of available storage. 53to the pool of available storage.
42 54
43Network Space support 55Network Space support
44===================== 56=====================