]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: consistent alternate cluster name arguments 4081/head
authorIan Kelling <ian@iankelling.org>
Wed, 18 Mar 2015 23:41:21 +0000 (16:41 -0700)
committerIan Kelling <ian@iankelling.org>
Wed, 18 Mar 2015 23:47:55 +0000 (16:47 -0700)
In doc/install/manual-deployment.rst at least.

Signed-off-by: Ian Kelling <iank@iankelling.org>
doc/install/manual-deployment.rst

index e1100d960a4175a42406e134cea0dd0742956512..aef4d64547e277a6eb62524a38367032227ba0c7 100644 (file)
@@ -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::