summaryrefslogtreecommitdiffstats
path: root/doc/install/manual-deployment.rst
diff options
context:
space:
mode:
authorIan Kelling <ian@iankelling.org>2015-03-19 00:41:21 +0100
committerIan Kelling <ian@iankelling.org>2015-03-19 00:47:55 +0100
commit64851f5e186d477740eb4dc8279c4f1eb620bec3 (patch)
tree797bdf74102ec9faa452cf76b65c537a56b0a145 /doc/install/manual-deployment.rst
parentMerge pull request #3951 from ceph/wip-cephfs-snaps (diff)
downloadceph-64851f5e186d477740eb4dc8279c4f1eb620bec3.tar.xz
ceph-64851f5e186d477740eb4dc8279c4f1eb620bec3.zip
doc: consistent alternate cluster name arguments
In doc/install/manual-deployment.rst at least. Signed-off-by: Ian Kelling <iank@iankelling.org>
Diffstat (limited to 'doc/install/manual-deployment.rst')
-rw-r--r--doc/install/manual-deployment.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/install/manual-deployment.rst b/doc/install/manual-deployment.rst
index e1100d960a4..aef4d64547e 100644
--- a/doc/install/manual-deployment.rst
+++ b/doc/install/manual-deployment.rst
@@ -192,7 +192,7 @@ The procedure is as follows:
#. Populate the monitor daemon(s) with the monitor map and keyring. ::
- ceph-mon --mkfs -i {hostname} --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring
+ ceph-mon [--cluster {cluster-name}] --mkfs -i {hostname} --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring
For example::
@@ -248,7 +248,7 @@ The procedure is as follows:
For Ubuntu, use Upstart::
- sudo start ceph-mon id=node1
+ sudo start ceph-mon id=node1 [cluster={cluster-name}]
In this case, to allow the start of the daemon at each reboot you
must create two empty files like this::
@@ -366,7 +366,7 @@ OSDs with the long form procedure, execute the following on ``node2`` and
#. Create the default directory on your new OSD. ::
ssh {new-osd-host}
- sudo mkdir /var/lib/ceph/osd/ceph-{osd-number}
+ sudo mkdir /var/lib/ceph/osd/{cluster-name}-{osd-number}
#. If the OSD is for a drive other than the OS drive, prepare it
@@ -374,7 +374,7 @@ OSDs with the long form procedure, execute the following on ``node2`` and
ssh {new-osd-host}
sudo mkfs -t {fstype} /dev/{hdd}
- sudo mount -o user_xattr /dev/{hdd} /var/lib/ceph/osd/ceph-{osd-number}
+ sudo mount -o user_xattr /dev/{hdd} /var/lib/ceph/osd/{cluster-name}-{osd-number}
#. Initialize the OSD data directory. ::
@@ -391,12 +391,12 @@ OSDs with the long form procedure, execute the following on ``node2`` and
``ceph-{osd-num}`` in the path is the ``$cluster-$id``. If your
cluster name differs from ``ceph``, use your cluster name instead.::
- sudo ceph auth add osd.{osd-num} osd 'allow *' mon 'allow profile osd' -i /var/lib/ceph/osd/ceph-{osd-num}/keyring
+ sudo ceph auth add osd.{osd-num} osd 'allow *' mon 'allow profile osd' -i /var/lib/ceph/osd/{cluster-name}-{osd-num}/keyring
#. Add your Ceph Node to the CRUSH map. ::
- ceph osd crush add-bucket {hostname} host
+ ceph [--cluster {cluster-name}] osd crush add-bucket {hostname} host
For example::
@@ -413,7 +413,7 @@ OSDs with the long form procedure, execute the following on ``node2`` and
bucket (if it's not already in the CRUSH map), add the device as an item in the
host, assign it a weight, recompile it and set it. ::
- ceph osd crush add {id-or-name} {weight} [{bucket-type}={bucket-name} ...]
+ ceph [--cluster {cluster-name}] osd crush add {id-or-name} {weight} [{bucket-type}={bucket-name} ...]
For example::
@@ -426,7 +426,7 @@ OSDs with the long form procedure, execute the following on ``node2`` and
For Ubuntu, use Upstart::
- sudo start ceph-osd id={osd-num}
+ sudo start ceph-osd id={osd-num} [cluster={cluster-name}]
For example::
@@ -435,7 +435,7 @@ OSDs with the long form procedure, execute the following on ``node2`` and
For Debian/CentOS/RHEL, use sysvinit::
- sudo /etc/init.d/ceph start osd.{osd-num}
+ sudo /etc/init.d/ceph start osd.{osd-num} [--cluster {cluster-name}]
For example::