]>
Commit | Line | Data |
---|---|---|
181888fb FG |
1 | ========================== |
2 | iSCSI Gateway Requirements | |
3 | ========================== | |
4 | ||
f67539c2 TL |
5 | It is recommended to provision two to four iSCSI gateway nodes to |
6 | realize a highly available Ceph iSCSI gateway solution. | |
181888fb | 7 | |
f67539c2 | 8 | For hardware recommendations, see :ref:`hardware-recommendations` . |
181888fb FG |
9 | |
10 | .. note:: | |
f67539c2 TL |
11 | On iSCSI gateway nodes the memory footprint is a function of |
12 | of the RBD images mapped and can grow to be large. Plan memory | |
13 | requirements accordingly based on the number RBD images to be mapped. | |
181888fb FG |
14 | |
15 | There are no specific iSCSI gateway options for the Ceph Monitors or | |
f67539c2 TL |
16 | OSDs, but it is important to lower the default heartbeat interval for |
17 | detecting down OSDs to reduce the possibility of initiator timeouts. | |
18 | The following configuration options are suggested:: | |
181888fb FG |
19 | |
20 | [osd] | |
21 | osd heartbeat grace = 20 | |
22 | osd heartbeat interval = 5 | |
23 | ||
f67539c2 | 24 | - Updating Running State From a Ceph Monitor Node |
181888fb FG |
25 | |
26 | :: | |
27 | ||
11fdf7f2 | 28 | ceph tell <daemon_type>.<id> config set <parameter_name> <new_value> |
181888fb FG |
29 | |
30 | :: | |
31 | ||
f67539c2 TL |
32 | ceph tell osd.* config set osd_heartbeat_grace 20 |
33 | ceph tell osd.* config set osd_heartbeat_interval 5 | |
181888fb | 34 | |
f67539c2 | 35 | - Updating Running State On Each OSD Node |
181888fb FG |
36 | |
37 | :: | |
38 | ||
39 | ceph daemon <daemon_type>.<id> config set osd_client_watch_timeout 15 | |
40 | ||
41 | :: | |
42 | ||
43 | ceph daemon osd.0 config set osd_heartbeat_grace 20 | |
44 | ceph daemon osd.0 config set osd_heartbeat_interval 5 | |
45 | ||
81eedcae | 46 | For more details on setting Ceph's configuration options, see |
f67539c2 TL |
47 | :ref:`configuring-ceph`. Be sure to persist these settings in |
48 | ``/etc/ceph.conf`` or, on Mimic and later releases, in the | |
49 | centralized config store. | |
50 | ||
51 |