mirror of
https://github.com/ceph/ceph
synced 2024-12-26 05:25:09 +00:00
doc: update the cephadm download instructions
Starting with reef, cephadm is a compiled (zipapp) python application. The cephadm script has been renamed and thus the old curl-based download instructions will no loner work. While cephadm still has no dependencies outside the Python stdlib, this will be changed in future versions so it is no longer appropriate to just download the source file of cephadm and run it either. This change updates the `Install cephadm` section of the doc to explain how to acquire a "compiled" version of cephadm as well as: * moving and tweaking the note that the two installation methods are distinct * adding a new note linking to instructions on building cephadm * moving the distribution-specific installations before the curl-based installation to subtly hint that we prefer you to get it using packages if you can * Noting cephadm's minimal required python verision and how to run it with a particular python version. Signed-off-by: John Mulligan <jmulligan@redhat.com> (cherry picked from commitd11cf0e82a
) doc: make instructions to get an updated cephadm common As discussed in person and over the ceph orch weekly, we want all users to use a recent supported version of cephadm. Previously, the instructions only had those downloading cephadm with curl using the "add-repo" and "install" commands to get a up-to-date cephadm build. According to ADK we've seen cases of users get "old" distro packages in the past. Change the instructions so that the "update cephadm" steps are common after acquiring a "bootstrap copy" of cephadm. Signed-off-by: John Mulligan <jmulligan@redhat.com> (cherry picked from commitd7921e88d6
)
This commit is contained in:
parent
6bd900d05e
commit
8a835f1a91
@ -171,6 +171,45 @@ A successful ``which cephadm`` command will return this:
|
||||
|
||||
/usr/sbin/cephadm
|
||||
|
||||
* Although the standalone cephadm is sufficient to get a cluster started, it is
|
||||
convenient to have the ``cephadm`` command installed on the host. To install
|
||||
the packages that provide the ``cephadm`` command, run the following
|
||||
commands:
|
||||
|
||||
update cephadm
|
||||
--------------
|
||||
|
||||
The cephadm binary can be used to bootstrap a cluster and for a variety
|
||||
of other management and debugging tasks. The Ceph team strongly recommends
|
||||
using an actively supported version of cephadm. Additionally, although
|
||||
the standalone cephadm is sufficient to get a cluster started, it is
|
||||
convenient to have the ``cephadm`` command installed on the host. Older or LTS
|
||||
distros may also have ``cephadm`` packages that are out-of-date and
|
||||
running the commands below can help install a more recent version
|
||||
from the Ceph project's repositories.
|
||||
|
||||
To install the packages provided by the Ceph project that provide the
|
||||
``cephadm`` command, run the following commands:
|
||||
|
||||
.. prompt:: bash #
|
||||
:substitutions:
|
||||
|
||||
./cephadm add-repo --release |stable-release|
|
||||
./cephadm install
|
||||
|
||||
Confirm that ``cephadm`` is now in your PATH by running ``which`` or
|
||||
``command -v``:
|
||||
|
||||
.. prompt:: bash #
|
||||
|
||||
which cephadm
|
||||
|
||||
A successful ``which cephadm`` command will return this:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
/usr/sbin/cephadm
|
||||
|
||||
|
||||
|
||||
Bootstrap a new cluster
|
||||
|
Loading…
Reference in New Issue
Block a user