diff options
author | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-01-04 13:43:33 +0800 |
---|---|---|
committer | Qiaowei Ren <qiaowei.ren@intel.com> | 2018-01-05 11:59:39 +0800 |
commit | 812ff6ca9fcd3e629e49d4328905f33eee8ca3f5 (patch) | |
tree | 04ece7b4da00d9d2f98093774594f4057ae561d4 /src/ceph/doc/rbd/iscsi-requirements.rst | |
parent | 15280273faafb77777eab341909a3f495cf248d9 (diff) |
initial code repo
This patch creates initial code repo.
For ceph, luminous stable release will be used for base code,
and next changes and optimization for ceph will be added to it.
For opensds, currently any changes can be upstreamed into original
opensds repo (https://github.com/opensds/opensds), and so stor4nfv
will directly clone opensds code to deploy stor4nfv environment.
And the scripts for deployment based on ceph and opensds will be
put into 'ci' directory.
Change-Id: I46a32218884c75dda2936337604ff03c554648e4
Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'src/ceph/doc/rbd/iscsi-requirements.rst')
-rw-r--r-- | src/ceph/doc/rbd/iscsi-requirements.rst | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/ceph/doc/rbd/iscsi-requirements.rst b/src/ceph/doc/rbd/iscsi-requirements.rst new file mode 100644 index 0000000..1ae19e0 --- /dev/null +++ b/src/ceph/doc/rbd/iscsi-requirements.rst @@ -0,0 +1,49 @@ +========================== +iSCSI Gateway Requirements +========================== + +To implement the Ceph iSCSI gateway there are a few requirements. It is recommended +to use two to four iSCSI gateway nodes for a highly available Ceph iSCSI gateway +solution. + +For hardware recommendations, see the `Hardware Recommendation page <http://docs.ceph.com/docs/master/start/hardware-recommendations/>`_ +for more details. + +.. note:: + On the iSCSI gateway nodes, the memory footprint of the RBD images + can grow to a large size. Plan memory requirements accordingly based + off the number RBD images mapped. + +There are no specific iSCSI gateway options for the Ceph Monitors or +OSDs, but it is important to lower the default timers for detecting +down OSDs to reduce the possibility of initiator timeouts. The following +configuration options are suggested for each OSD node in the storage +cluster:: + + [osd] + osd heartbeat grace = 20 + osd heartbeat interval = 5 + +- Online Updating Using the Ceph Monitor + + :: + + ceph tell <daemon_type>.<id> injectargs '--<parameter_name> <new_value>' + + :: + + ceph tell osd.0 injectargs '--osd_heartbeat_grace 20' + ceph tell osd.0 injectargs '--osd_heartbeat_interval 5' + +- Online Updating on the OSD Node + + :: + + ceph daemon <daemon_type>.<id> config set osd_client_watch_timeout 15 + + :: + + ceph daemon osd.0 config set osd_heartbeat_grace 20 + ceph daemon osd.0 config set osd_heartbeat_interval 5 + +For more details on setting Ceph's configuration options, see the `Configuration page <http://docs.ceph.com/docs/master/rados/configuration/>`_. |