Skip to content

Commit 89b0f27

Browse files
Merge pull request ceph#56113 from anthonyeleven/moar-improvements
doc/cephadm: Improve multiple files
2 parents 39899e4 + 800dd29 commit 89b0f27

File tree

7 files changed

+129
-119
lines changed

7 files changed

+129
-119
lines changed

doc/cephadm/adoption.rst

Lines changed: 33 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ Preparation
2222
#. Make sure that the ``cephadm`` command line tool is available on each host
2323
in the existing cluster. See :ref:`get-cephadm` to learn how.
2424

25-
#. Prepare each host for use by ``cephadm`` by running this command:
25+
#. Prepare each host for use by ``cephadm`` by running this command on that host:
2626

2727
.. prompt:: bash #
2828

2929
cephadm prepare-host
3030

3131
#. Choose a version of Ceph to use for the conversion. This procedure will work
32-
with any release of Ceph that is Octopus (15.2.z) or later, inclusive. The
32+
with any release of Ceph that is Octopus (15.2.z) or later. The
3333
latest stable release of Ceph is the default. You might be upgrading from an
3434
earlier Ceph release at the same time that you're performing this
35-
conversion; if you are upgrading from an earlier release, make sure to
35+
conversion. If you are upgrading from an earlier release, make sure to
3636
follow any upgrade-related instructions for that release.
3737

38-
Pass the image to cephadm with the following command:
38+
Pass the Ceph container image to cephadm with the following command:
3939

4040
.. prompt:: bash #
4141

@@ -50,62 +50,64 @@ Preparation
5050

5151
cephadm ls
5252

53-
Before starting the conversion process, ``cephadm ls`` shows all existing
54-
daemons to have a style of ``legacy``. As the adoption process progresses,
55-
adopted daemons will appear with a style of ``cephadm:v1``.
53+
Before starting the conversion process, ``cephadm ls`` reports all existing
54+
daemons with the style ``legacy``. As the adoption process progresses,
55+
adopted daemons will appear with the style ``cephadm:v1``.
5656

5757

5858
Adoption process
5959
----------------
6060

61-
#. Make sure that the ceph configuration has been migrated to use the cluster
62-
config database. If the ``/etc/ceph/ceph.conf`` is identical on each host,
63-
then the following command can be run on one single host and will affect all
64-
hosts:
61+
#. Make sure that the ceph configuration has been migrated to use the cluster's
62+
central config database. If ``/etc/ceph/ceph.conf`` is identical on all
63+
hosts, then the following command can be run on one host and will take
64+
effect for all hosts:
6565

6666
.. prompt:: bash #
6767

6868
ceph config assimilate-conf -i /etc/ceph/ceph.conf
6969

7070
If there are configuration variations between hosts, you will need to repeat
71-
this command on each host. During this adoption process, view the cluster's
71+
this command on each host, taking care that if there are conflicting option
72+
settings across hosts, the values from the last host will be used. During this
73+
adoption process, view the cluster's central
7274
configuration to confirm that it is complete by running the following
7375
command:
7476

7577
.. prompt:: bash #
7678

7779
ceph config dump
7880

79-
#. Adopt each monitor:
81+
#. Adopt each Monitor:
8082

8183
.. prompt:: bash #
8284

8385
cephadm adopt --style legacy --name mon.<hostname>
8486

85-
Each legacy monitor should stop, quickly restart as a cephadm
87+
Each legacy Monitor will stop, quickly restart as a cephadm
8688
container, and rejoin the quorum.
8789

88-
#. Adopt each manager:
90+
#. Adopt each Manager:
8991

9092
.. prompt:: bash #
9193

9294
cephadm adopt --style legacy --name mgr.<hostname>
9395

94-
#. Enable cephadm:
96+
#. Enable cephadm orchestration:
9597

9698
.. prompt:: bash #
9799

98100
ceph mgr module enable cephadm
99101
ceph orch set backend cephadm
100102

101-
#. Generate an SSH key:
103+
#. Generate an SSH key for cephadm:
102104

103105
.. prompt:: bash #
104106

105107
ceph cephadm generate-key
106108
ceph cephadm get-pub-key > ~/ceph.pub
107109

108-
#. Install the cluster SSH key on each host in the cluster:
110+
#. Install the cephadm SSH key on each host in the cluster:
109111

110112
.. prompt:: bash #
111113

@@ -118,9 +120,10 @@ Adoption process
118120
SSH keys.
119121

120122
.. note::
121-
It is also possible to have cephadm use a non-root user to SSH
123+
It is also possible to arrange for cephadm to use a non-root user to SSH
122124
into cluster hosts. This user needs to have passwordless sudo access.
123-
Use ``ceph cephadm set-user <user>`` and copy the SSH key to that user.
125+
Use ``ceph cephadm set-user <user>`` and copy the SSH key to that user's
126+
home directory on each host.
124127
See :ref:`cephadm-ssh-user`
125128

126129
#. Tell cephadm which hosts to manage:
@@ -129,10 +132,10 @@ Adoption process
129132

130133
ceph orch host add <hostname> [ip-address]
131134

132-
This will perform a ``cephadm check-host`` on each host before adding it;
133-
this check ensures that the host is functioning properly. The IP address
134-
argument is recommended; if not provided, then the host name will be resolved
135-
via DNS.
135+
This will run ``cephadm check-host`` on each host before adding it.
136+
This check ensures that the host is functioning properly. The IP address
137+
argument is recommended. If the address is not provided, then the host name
138+
will be resolved via DNS.
136139

137140
#. Verify that the adopted monitor and manager daemons are visible:
138141

@@ -153,8 +156,8 @@ Adoption process
153156
cephadm adopt --style legacy --name osd.1
154157
cephadm adopt --style legacy --name osd.2
155158

156-
#. Redeploy MDS daemons by telling cephadm how many daemons to run for
157-
each file system. List file systems by name with the command ``ceph fs
159+
#. Redeploy CephFS MDS daemons (if deployed) by telling cephadm how many daemons to run for
160+
each file system. List CephFS file systems by name with the command ``ceph fs
158161
ls``. Run the following command on the master nodes to redeploy the MDS
159162
daemons:
160163

@@ -189,19 +192,19 @@ Adoption process
189192
systemctl stop ceph-mds.target
190193
rm -rf /var/lib/ceph/mds/ceph-*
191194

192-
#. Redeploy RGW daemons. Cephadm manages RGW daemons by zone. For each
193-
zone, deploy new RGW daemons with cephadm:
195+
#. Redeploy Ceph Object Gateway RGW daemons if deployed. Cephadm manages RGW
196+
daemons by zone. For each zone, deploy new RGW daemons with cephadm:
194197

195198
.. prompt:: bash #
196199

197200
ceph orch apply rgw <svc_id> [--realm=<realm>] [--zone=<zone>] [--port=<port>] [--ssl] [--placement=<placement>]
198201

199202
where *<placement>* can be a simple daemon count, or a list of
200-
specific hosts (see :ref:`orchestrator-cli-placement-spec`), and the
203+
specific hosts (see :ref:`orchestrator-cli-placement-spec`). The
201204
zone and realm arguments are needed only for a multisite setup.
202205

203206
After the daemons have started and you have confirmed that they are
204-
functioning, stop and remove the old, legacy daemons:
207+
functioning, stop and remove the legacy daemons:
205208

206209
.. prompt:: bash #
207210

doc/cephadm/client-setup.rst

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
=======================
22
Basic Ceph Client Setup
33
=======================
4-
Client machines require some basic configuration to interact with
5-
Ceph clusters. This section describes how to configure a client machine
6-
so that it can interact with a Ceph cluster.
4+
Client hosts require basic configuration to interact with
5+
Ceph clusters. This section describes how to perform this configuration.
76

87
.. note::
9-
Most client machines need to install only the `ceph-common` package
10-
and its dependencies. Such a setup supplies the basic `ceph` and
11-
`rados` commands, as well as other commands including `mount.ceph`
12-
and `rbd`.
8+
Most client hosts need to install only the ``ceph-common`` package
9+
and its dependencies. Such an installation supplies the basic ``ceph`` and
10+
``rados`` commands, as well as other commands including ``mount.ceph``
11+
and ``rbd``.
1312

1413
Config File Setup
1514
=================
16-
Client machines usually require smaller configuration files (here
17-
sometimes called "config files") than do full-fledged cluster members.
15+
Client hosts usually require smaller configuration files (here
16+
sometimes called "config files") than do back-end cluster hosts.
1817
To generate a minimal config file, log into a host that has been
19-
configured as a client or that is running a cluster daemon, and then run the following command:
18+
configured as a client or that is running a cluster daemon, then
19+
run the following command:
2020

2121
.. prompt:: bash #
2222

2323
ceph config generate-minimal-conf
2424

2525
This command generates a minimal config file that tells the client how
26-
to reach the Ceph monitors. The contents of this file should usually
27-
be installed in ``/etc/ceph/ceph.conf``.
26+
to reach the Ceph Monitors. This file should usually
27+
be copied to ``/etc/ceph/ceph.conf`` on each client host.
2828

2929
Keyring Setup
3030
=============
3131
Most Ceph clusters run with authentication enabled. This means that
32-
the client needs keys in order to communicate with the machines in the
33-
cluster. To generate a keyring file with credentials for `client.fs`,
32+
the client needs keys in order to communicate with Ceph daemons.
33+
To generate a keyring file with credentials for ``client.fs``,
3434
log into an running cluster member and run the following command:
3535

3636
.. prompt:: bash $
@@ -40,6 +40,10 @@ log into an running cluster member and run the following command:
4040
The resulting output is directed into a keyring file, typically
4141
``/etc/ceph/ceph.keyring``.
4242

43-
To gain a broader understanding of client keyring distribution and administration, you should read :ref:`client_keyrings_and_configs`.
43+
To gain a broader understanding of client keyring distribution and administration,
44+
you should read :ref:`client_keyrings_and_configs`.
4445

45-
To see an example that explains how to distribute ``ceph.conf`` configuration files to hosts that are tagged with the ``bare_config`` label, you should read the section called "Distributing ceph.conf to hosts tagged with bare_config" in the section called :ref:`etc_ceph_conf_distribution`.
46+
To see an example that explains how to distribute ``ceph.conf`` configuration
47+
files to hosts that are tagged with the ``bare_config`` label, you should read
48+
the subsection named "Distributing ceph.conf to hosts tagged with bare_config"
49+
under the heading :ref:`etc_ceph_conf_distribution`.

doc/cephadm/compatibility.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ This table shows which version pairs are expected to work or not work together:
3030

3131
.. note::
3232

33-
While not all podman versions have been actively tested against
34-
all Ceph versions, there are no known issues with using podman
33+
While not all Podman versions have been actively tested against
34+
all Ceph versions, there are no known issues with using Podman
3535
version 3.0 or greater with Ceph Quincy and later releases.
3636

3737
.. warning::

0 commit comments

Comments
 (0)