2017-07-06 17:35:38 +00:00
|
|
|
==========================
|
|
|
|
iSCSI Gateway Requirements
|
|
|
|
==========================
|
|
|
|
|
2020-10-02 04:09:56 +00:00
|
|
|
It is recommended to provision two to four iSCSI gateway nodes to
|
|
|
|
realize a highly available Ceph iSCSI gateway solution.
|
2017-07-06 17:35:38 +00:00
|
|
|
|
2020-10-02 04:09:56 +00:00
|
|
|
For hardware recommendations, see :ref:`hardware-recommendations` .
|
2017-07-06 17:35:38 +00:00
|
|
|
|
2017-08-08 23:14:57 +00:00
|
|
|
.. note::
|
2020-10-02 04:09:56 +00:00
|
|
|
On iSCSI gateway nodes the memory footprint is a function of
|
2020-12-02 06:07:34 +00:00
|
|
|
of the RBD images mapped and can grow to be large. Plan memory
|
2020-10-02 04:09:56 +00:00
|
|
|
requirements accordingly based on the number RBD images to be mapped.
|
2017-07-06 17:35:38 +00:00
|
|
|
|
|
|
|
There are no specific iSCSI gateway options for the Ceph Monitors or
|
2020-10-02 04:09:56 +00:00
|
|
|
OSDs, but it is important to lower the default heartbeat interval for
|
|
|
|
detecting down OSDs to reduce the possibility of initiator timeouts.
|
|
|
|
The following configuration options are suggested::
|
2017-08-08 23:14:57 +00:00
|
|
|
|
|
|
|
[osd]
|
|
|
|
osd heartbeat grace = 20
|
|
|
|
osd heartbeat interval = 5
|
2017-07-06 17:35:38 +00:00
|
|
|
|
2020-10-02 04:09:56 +00:00
|
|
|
- Updating Running State From a Ceph Monitor Node
|
2017-07-06 17:35:38 +00:00
|
|
|
|
|
|
|
::
|
|
|
|
|
2017-11-07 11:30:45 +00:00
|
|
|
ceph tell <daemon_type>.<id> config set <parameter_name> <new_value>
|
2017-07-06 17:35:38 +00:00
|
|
|
|
|
|
|
::
|
|
|
|
|
2020-10-02 04:09:56 +00:00
|
|
|
ceph tell osd.* config set osd_heartbeat_grace 20
|
|
|
|
ceph tell osd.* config set osd_heartbeat_interval 5
|
2017-07-06 17:35:38 +00:00
|
|
|
|
2020-10-02 04:09:56 +00:00
|
|
|
- Updating Running State On Each OSD Node
|
2017-07-06 17:35:38 +00:00
|
|
|
|
|
|
|
::
|
|
|
|
|
|
|
|
ceph daemon <daemon_type>.<id> config set osd_client_watch_timeout 15
|
|
|
|
|
|
|
|
::
|
|
|
|
|
2017-08-08 23:14:57 +00:00
|
|
|
ceph daemon osd.0 config set osd_heartbeat_grace 20
|
|
|
|
ceph daemon osd.0 config set osd_heartbeat_interval 5
|
2017-07-06 17:35:38 +00:00
|
|
|
|
2019-03-31 18:32:15 +00:00
|
|
|
For more details on setting Ceph's configuration options, see
|
2020-10-02 04:09:56 +00:00
|
|
|
:ref:`configuring-ceph`. Be sure to persist these settings in
|
|
|
|
``/etc/ceph.conf`` or, on Mimic and later releases, in the
|
|
|
|
centralized config store.
|
|
|
|
|
|
|
|
|