]> git.proxmox.com Git - ceph.git/blame - ceph/doc/rbd/iscsi-requirements.rst
Import ceph 15.2.8
[ceph.git] / ceph / doc / rbd / iscsi-requirements.rst
CommitLineData
181888fb
FG
1==========================
2iSCSI Gateway Requirements
3==========================
4
5To implement the Ceph iSCSI gateway there are a few requirements. It is recommended
6to use two to four iSCSI gateway nodes for a highly available Ceph iSCSI gateway
7solution.
8
81eedcae
TL
9For hardware recommendations, see :ref:`hardware-recommendations` for more
10details.
181888fb
FG
11
12.. note::
13 On the iSCSI gateway nodes, the memory footprint of the RBD images
14 can grow to a large size. Plan memory requirements accordingly based
15 off the number RBD images mapped.
16
17There are no specific iSCSI gateway options for the Ceph Monitors or
18OSDs, but it is important to lower the default timers for detecting
19down OSDs to reduce the possibility of initiator timeouts. The following
20configuration options are suggested for each OSD node in the storage
21cluster::
22
23 [osd]
24 osd heartbeat grace = 20
25 osd heartbeat interval = 5
26
27- Online Updating Using the Ceph Monitor
28
29 ::
30
11fdf7f2 31 ceph tell <daemon_type>.<id> config set <parameter_name> <new_value>
181888fb
FG
32
33 ::
34
11fdf7f2
TL
35 ceph tell osd.0 config set osd_heartbeat_grace 20
36 ceph tell osd.0 config set osd_heartbeat_interval 5
181888fb
FG
37
38- Online Updating on the OSD Node
39
40 ::
41
42 ceph daemon <daemon_type>.<id> config set osd_client_watch_timeout 15
43
44 ::
45
46 ceph daemon osd.0 config set osd_heartbeat_grace 20
47 ceph daemon osd.0 config set osd_heartbeat_interval 5
48
81eedcae
TL
49For more details on setting Ceph's configuration options, see
50:ref:`configuring-ceph`.