From 5f1aa05563fe3a2fc54ef02d39ad279f573da914 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 4 Jun 2021 11:24:48 +0200 Subject: [PATCH] doc/dev/cephadm: cephadm bootstrap --shared_ceph_folder Signed-off-by: Sebastian Wagner --- doc/dev/cephadm/developing-cephadm.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/dev/cephadm/developing-cephadm.rst b/doc/dev/cephadm/developing-cephadm.rst index 6eb6cc1eba215..5068dab1aa453 100644 --- a/doc/dev/cephadm/developing-cephadm.rst +++ b/doc/dev/cephadm/developing-cephadm.rst @@ -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//.ssh/id_rsa \ + --skip-mon-network \ + --skip-monitoring-stack --single-host-defaults \ + --skip-dashboard \ + --shared_ceph_folder /home//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 ============================================== -- 2.39.5