]>
Commit | Line | Data |
---|---|---|
181888fb FG |
1 | ========================== |
2 | iSCSI Gateway Requirements | |
3 | ========================== | |
4 | ||
5 | To implement the Ceph iSCSI gateway there are a few requirements. It is recommended | |
6 | to use two to four iSCSI gateway nodes for a highly available Ceph iSCSI gateway | |
7 | solution. | |
8 | ||
81eedcae TL |
9 | For hardware recommendations, see :ref:`hardware-recommendations` for more |
10 | details. | |
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 | ||
17 | There are no specific iSCSI gateway options for the Ceph Monitors or | |
18 | OSDs, but it is important to lower the default timers for detecting | |
19 | down OSDs to reduce the possibility of initiator timeouts. The following | |
20 | configuration options are suggested for each OSD node in the storage | |
21 | cluster:: | |
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 |
49 | For more details on setting Ceph's configuration options, see |
50 | :ref:`configuring-ceph`. |