]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/dev/cephadm: cephadm bootstrap --shared_ceph_folder 41693/head
authorSebastian Wagner <sewagner@redhat.com>
Fri, 4 Jun 2021 09:24:48 +0000 (11:24 +0200)
committerSebastian Wagner <sewagner@redhat.com>
Tue, 8 Jun 2021 10:16:49 +0000 (12:16 +0200)
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
doc/dev/cephadm/developing-cephadm.rst

index 6eb6cc1eba215809ccc0eced4851f9d45c8f60ad..5068dab1aa453e4e0a514a8594b7b14d14d0fd88 100644 (file)
@@ -10,6 +10,7 @@ vstart --cephadm
 
 - Start a cluster with vstart, with cephadm configured
 - Manage any additional daemons with cephadm
+- Requires compiled ceph binaries
 
 In this case, the mon and manager at a minimum are running in the usual
 vstart way, not managed by cephadm.  But cephadm is enabled and the local
@@ -87,6 +88,26 @@ When you're done, you can tear down the cluster with::
   sudo ../src/ckill.sh   # or,
   sudo ../src/cephadm/cephadm rm-cluster --force --fsid `cat fsid`
 
+cephadm bootstrap --shared_ceph_folder
+======================================
+
+Cephadm can also be used directly without compiled ceph binaries.
+
+Run cephadm like so::
+
+  sudo ./cephadm bootstrap --mon-ip 127.0.0.1 \
+    --ssh-private-key /home/<user>/.ssh/id_rsa \
+    --skip-mon-network \
+    --skip-monitoring-stack --single-host-defaults \
+    --skip-dashboard \ 
+    --shared_ceph_folder /home/<user>/path/to/ceph/
+
+- ``~/.ssh/id_rsa`` is used as the cluster key.  It is assumed that
+  this key is authorized to ssh with no passphrase to root@`hostname`.
+
+Source code changes made in the ``pybind/mgr/`` directory then
+require a daemon restart to take effect. 
+
 Note regarding network calls from CLI handlers
 ==============================================