2012-10-31 21:11:12 +00:00
|
|
|
====================
|
|
|
|
OS Recommendations
|
|
|
|
====================
|
|
|
|
|
|
|
|
Ceph Dependencies
|
|
|
|
=================
|
|
|
|
|
|
|
|
As a general rule, we recommend deploying Ceph on newer releases of Linux.
|
2014-06-12 19:48:29 +00:00
|
|
|
We also recommend deploying on releases with long-term support.
|
2012-10-31 21:11:12 +00:00
|
|
|
|
2012-11-07 22:10:40 +00:00
|
|
|
Linux Kernel
|
|
|
|
------------
|
2012-10-31 21:11:12 +00:00
|
|
|
|
2014-10-03 15:23:27 +00:00
|
|
|
- **Ceph Kernel Client**
|
|
|
|
|
2017-07-07 19:46:08 +00:00
|
|
|
If you are using the kernel client to map RBD block devices or mount
|
|
|
|
CephFS, the general advice is to use a "stable" or "longterm
|
|
|
|
maintenance" kernel series provided by either http://kernel.org or
|
|
|
|
your Linux distribution on any client hosts.
|
2014-10-03 15:23:27 +00:00
|
|
|
|
2017-02-10 20:20:16 +00:00
|
|
|
For RBD, if you choose to *track* long-term kernels, we currently recommend
|
|
|
|
4.x-based "longterm maintenance" kernel series:
|
|
|
|
|
2018-04-17 16:50:04 +00:00
|
|
|
- 4.14.z
|
2017-02-10 20:20:16 +00:00
|
|
|
- 4.9.z
|
2014-10-03 15:23:27 +00:00
|
|
|
|
2016-10-19 17:12:49 +00:00
|
|
|
For CephFS, see `CephFS best practices`_ for kernel version guidance.
|
|
|
|
|
2017-07-07 19:46:08 +00:00
|
|
|
Older kernel client versions may not support your `CRUSH tunables`_ profile
|
|
|
|
or other newer features of the Ceph cluster, requiring the storage cluster
|
|
|
|
to be configured with those features disabled.
|
2014-10-03 15:23:27 +00:00
|
|
|
|
2012-10-31 21:11:12 +00:00
|
|
|
|
2012-11-01 04:24:56 +00:00
|
|
|
Platforms
|
|
|
|
=========
|
|
|
|
|
|
|
|
The charts below show how Ceph's requirements map onto various Linux
|
|
|
|
platforms. Generally speaking, there is very little dependence on
|
|
|
|
specific distributions aside from the kernel and system initialization
|
|
|
|
package (i.e., sysvinit, upstart, systemd).
|
|
|
|
|
2017-06-22 19:26:14 +00:00
|
|
|
Luminous (12.2.z)
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Distro | Release | Code Name | Kernel | Notes | Testing |
|
|
|
|
+==========+==========+====================+==============+=========+============+
|
|
|
|
| CentOS | 7 | N/A | linux-3.10.0 | 3 | B, I, C |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Debian | 8.0 | Jessie | linux-3.16.0 | 1, 2 | B, I |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Debian | 9.0 | Stretch | linux-4.9 | 1, 2 | B, I |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Fedora | 22 | N/A | linux-3.14.0 | | B, I |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| RHEL | 7 | Maipo | linux-3.10.0 | | B, I |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Ubuntu | 14.04 | Trusty Tahr | linux-3.13.0 | | B, I, C |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Ubuntu | 16.04 | Xenial Xerus | linux-4.4.0 | 3 | B, I, C |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
|
|
|
|
|
2017-07-07 19:46:08 +00:00
|
|
|
Jewel (10.2.z)
|
|
|
|
--------------
|
2014-06-12 19:48:29 +00:00
|
|
|
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Distro | Release | Code Name | Kernel | Notes | Testing |
|
|
|
|
+==========+==========+====================+==============+=========+============+
|
2017-06-22 19:26:14 +00:00
|
|
|
| CentOS | 7 | N/A | linux-3.10.0 | 3 | B, I, C |
|
2014-06-12 19:48:29 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| Debian | 8.0 | Jessie | linux-3.16.0 | 1, 2 | B, I |
|
2014-06-12 19:48:29 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| Fedora | 22 | N/A | linux-3.14.0 | | B, I |
|
2014-06-12 19:48:29 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| RHEL | 7 | Maipo | linux-3.10.0 | | B, I |
|
2014-06-12 19:48:29 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| Ubuntu | 14.04 | Trusty Tahr | linux-3.13.0 | | B, I, C |
|
2014-06-12 19:48:29 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
|
2017-07-07 19:46:08 +00:00
|
|
|
Hammer (0.94.z)
|
|
|
|
---------------
|
2015-10-22 16:20:49 +00:00
|
|
|
|
2014-12-02 17:45:26 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| Distro | Release | Code Name | Kernel | Notes | Testing |
|
|
|
|
+==========+==========+====================+==============+=========+============+
|
|
|
|
| CentOS | 6 | N/A | linux-2.6.32 | 1, 2 | |
|
2014-06-12 19:48:29 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| CentOS | 7 | N/A | linux-3.10.0 | | B, I, C |
|
2014-06-12 19:48:29 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| Debian | 7.0 | Wheezy | linux-3.2.0 | 1, 2 | |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Ubuntu | 12.04 | Precise Pangolin | linux-3.2.0 | 1, 2 | |
|
2014-06-12 19:48:29 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2014-12-04 16:27:35 +00:00
|
|
|
| Ubuntu | 14.04 | Trusty Tahr | linux-3.13.0 | | B, I, C |
|
2014-06-12 19:48:29 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
|
2017-07-07 19:46:08 +00:00
|
|
|
Firefly (0.80.z)
|
|
|
|
----------------
|
2013-09-30 18:31:23 +00:00
|
|
|
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Distro | Release | Code Name | Kernel | Notes | Testing |
|
|
|
|
+==========+==========+====================+==============+=========+============+
|
2015-10-22 16:20:49 +00:00
|
|
|
| CentOS | 6 | N/A | linux-2.6.32 | 1, 2 | B, I |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| CentOS | 7 | N/A | linux-3.10.0 | | B |
|
2013-09-30 18:31:23 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
|
|
|
| Debian | 7.0 | Wheezy | linux-3.2.0 | 1, 2 | B |
|
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2014-12-02 23:31:06 +00:00
|
|
|
| Fedora | 19 | Schrödinger's Cat | linux-3.10.0 | | B |
|
2013-09-30 18:31:23 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| Fedora | 20 | Heisenbug | linux-3.14.0 | | B |
|
2013-09-30 18:31:23 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| RHEL | 6 | Santiago | linux-2.6.32 | 1, 2 | B, I, C |
|
2014-12-04 16:27:35 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| RHEL | 7 | Maipo | linux-3.10.0 | | B, I, C |
|
2014-12-04 16:27:35 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| Ubuntu | 12.04 | Precise Pangolin | linux-3.2.0 | 1, 2 | B, I, C |
|
2014-12-04 16:27:35 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2015-10-22 16:20:49 +00:00
|
|
|
| Ubuntu | 14.04 | Trusty Tahr | linux-3.13.0 | | B, I, C |
|
2014-12-04 16:27:35 +00:00
|
|
|
+----------+----------+--------------------+--------------+---------+------------+
|
2013-09-30 18:31:23 +00:00
|
|
|
|
2012-11-01 04:24:56 +00:00
|
|
|
Notes
|
2012-11-07 22:10:40 +00:00
|
|
|
-----
|
2012-11-01 04:24:56 +00:00
|
|
|
|
|
|
|
- **1**: The default kernel has an older version of ``btrfs`` that we do not
|
2017-06-30 17:54:18 +00:00
|
|
|
recommend for ``ceph-osd`` storage nodes. We recommend using ``XFS``.
|
2012-11-01 04:24:56 +00:00
|
|
|
|
|
|
|
- **2**: The default kernel has an old Ceph client that we do not recommend
|
|
|
|
for kernel client (kernel RBD or the Ceph file system). Upgrade to a
|
|
|
|
recommended kernel.
|
|
|
|
|
2017-06-22 19:26:14 +00:00
|
|
|
- **3**: The default kernel regularly fails in QA when the ``btrfs``
|
2017-06-30 17:54:18 +00:00
|
|
|
file system is used. We do not recommend using ``btrfs`` for
|
|
|
|
backing Ceph OSDs.
|
2017-06-22 19:26:14 +00:00
|
|
|
|
2013-09-30 18:31:23 +00:00
|
|
|
|
2012-11-01 04:24:56 +00:00
|
|
|
Testing
|
2012-11-07 22:10:40 +00:00
|
|
|
-------
|
2012-11-01 04:24:56 +00:00
|
|
|
|
2014-12-02 22:52:58 +00:00
|
|
|
- **B**: We build release packages for this platform. For some of these
|
|
|
|
platforms, we may also continuously build all ceph branches and exercise
|
|
|
|
basic unit tests.
|
2012-11-01 04:24:56 +00:00
|
|
|
|
|
|
|
- **I**: We do basic installation and functionality tests of releases on this
|
|
|
|
platform.
|
|
|
|
|
|
|
|
- **C**: We run a comprehensive functional, regression, and stress test suite
|
2013-05-07 18:49:30 +00:00
|
|
|
on this platform on a continuous basis. This includes development branches,
|
2014-08-14 13:09:50 +00:00
|
|
|
pre-release, and released code.
|
2014-10-03 15:23:27 +00:00
|
|
|
|
|
|
|
.. _CRUSH Tunables: ../../rados/operations/crush-map#tunables
|
2016-10-19 17:12:49 +00:00
|
|
|
|
|
|
|
.. _CephFS best practices: ../../cephfs/best-practices
|