summaryrefslogtreecommitdiffstats
path: root/doc/install/windows-install.rst
blob: fb5b5b6f52f886698cc1f3e83c7ce7d9b465af6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
:orphan:

==========================
Installing Ceph on Windows
==========================

The Ceph client tools and libraries can be natively used on Windows. This avoids
the need of having additional layers such as iSCSI gateways or SMB shares,
drastically improving the performance.

Prerequisites
=============

Supported platforms
-------------------

Windows Server 2019 and Windows Server 2016 are supported. Previous Windows
Server versions, including Windows client versions such as Windows 10, might
work but haven't been tested.

Windows Server 2016 does not provide Unix sockets, in which case some commands
might be unavailable.

Secure boot
-----------

The ``WNBD`` driver hasn't been signed by Microsoft, which means that Secure Boot
must be disabled.

Dokany
------

In order to mount Ceph filesystems, ``ceph-dokan`` requires Dokany to be
installed. You may fetch the installer as well as the source code from the
Dokany Github repository: https://github.com/dokan-dev/dokany/releases

The minimum supported Dokany version is 1.3.1. At the time of the writing,
Dokany 2.0 is in Beta stage and is unsupported.

Unlike ``WNBD``, Dokany isn't included in the Ceph MSI installer.

MSI installer
=============

Using the MSI installer is the recommended way of installing Ceph on Windows.
It can be downloaded from here: https://cloudbase.it/ceph-for-windows/

As mentioned earlier, the Ceph installer does not include Dokany, which has
to be installed separately.

A server reboot is required after uninstalling the driver, otherwise subsequent
install attempts may fail.

The following project allows building the MSI installer:
https://github.com/cloudbase/ceph-windows-installer. It can either use prebuilt
Ceph and WNBD binaries or compile them from scratch.

Manual installation
===================

The following document describes the build process and manual installation:
https://github.com/ceph/ceph/blob/master/README.windows.rst

Configuration
=============

Please check the `Windows configuration sample`_ to get started.

You'll also need a keyring file. The `General CephFS Prerequisites`_ page provides a
simple example, showing how a new CephX user can be created and how its secret
key can be retrieved.

For more details on CephX user management, see the `Client Authentication`_
and :ref:`User Management <user-management>`.

Further reading
===============

* `RBD Windows documentation`_
* `CephFS Windows documentation`_
* `Windows troubleshooting`_

.. _CephFS Windows documentation: ../../cephfs/ceph-dokan
.. _Windows configuration sample: ../windows-basic-config
.. _RBD Windows documentation: ../../rbd/rbd-windows/
.. _Windows troubleshooting: ../windows-troubleshooting
.. _General CephFS Prerequisites: ../../cephfs/mount-prerequisites
.. _Client Authentication: ../../cephfs/client-auth