You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
7
6
8
7
.. 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``.
13
12
14
13
Config File Setup
15
14
=================
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.
18
17
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:
20
20
21
21
.. prompt:: bash #
22
22
23
23
ceph config generate-minimal-conf
24
24
25
25
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.
28
28
29
29
Keyring Setup
30
30
=============
31
31
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``,
34
34
log into an running cluster member and run the following command:
35
35
36
36
.. prompt:: bash $
@@ -40,6 +40,10 @@ log into an running cluster member and run the following command:
40
40
The resulting output is directed into a keyring file, typically
41
41
``/etc/ceph/ceph.keyring``.
42
42
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`.
44
45
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`.
0 commit comments