Commit Graph

649 Commits

Author SHA1 Message Date
Sage Weil
553a2b91ae Merge pull request #8551 from scienceluo/patch-1
doc: Fixes Different font of the title

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Yatin Kumbhare <yatinkumbhare@gmail.com>
2016-04-22 12:31:50 -04:00
Sage Weil
bbb6283efe Merge pull request #8581 from emenguy/pgnum_pools_documentation
doc: adding pg_num to pools documentation

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2016-04-22 12:16:00 -04:00
Sage Weil
73130b6ca6 Merge pull request #8674 from yatinkumbhare/doc-fix2
doc: fix broken link to monitor quorum

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2016-04-22 11:44:51 -04:00
Yatin Kumbhare
c244eb2d61 doc: fix broken link to monitor quorum
Link pointing in Monitor Quorum section to
ceph configuration file was broken.
Fixing it to point to configuration section.

Signed-off-by: Yatin Kumbhare yatinkumbhare@gmail.com
2016-04-21 11:42:39 +05:30
Etienne Menguy
fa32bd3cb9 adding pg_num to pools documentation
Signed-off-by: Etienne Menguy <etienne.menguy@corp.ovh.com>
2016-04-13 13:25:30 +02:00
Sage Weil
489324f113 doc/configuration/filesystem-recommendations: recommend against ext4
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 13:24:56 -04:00
Sage Weil
638fd2ec2b doc/rados/configuration: minor cleanup of inline xattr description
- whitespace
- it's not omap

Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 11:19:13 -04:00
Sage Weil
61c4c1c99b doc: list ext4 last
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-12 08:48:25 -04:00
scienceluo
931b975f92 doc: Fixes Different font of the title
Which makes the title "Take the OSD out of the Cluster" of http://docs.ceph.com/docs/master/rados/operations/add-or-rm-osds/#take-the-osd-out-of-the-cluster looks ugly.

Signed-off-by: luo kexue luo.kexue@zte.com.cn
2016-04-12 16:14:57 +08:00
Vikhyat Umrao
1611dfbf17 doc: Remove Ceph Monitors do lots of fsync()
and change the ligature of "fl" to "f" and "l"

Fixes: #15288

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-03-28 13:29:09 +05:30
Kefu Chai
3e8bb4b19e doc/rados/operations/crush: fix the formatting
unlike in LaTeX, we should use ``foo`` instead of ``bar'' in the
sphinx markdown for the double quote.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-03-25 15:53:13 +08:00
Sage Weil
2cf3f964a6 Merge pull request #7838 from rldleblanc/pg_prime-enable
mon: enable 'mon osd prime pg temp' by default

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-17 21:59:33 -04:00
Kefu Chai
f9bc07a616 Merge pull request #7975 from JiYou/fix-config-opts
config: fix osd_crush_initial_weight

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-15 22:17:57 +08:00
Kefu Chai
5e82bb26b0 Merge pull request #7879 from xiexingguo/xxg-wip-doc-rados-api
doc/rados/api/librados-intro.rst: fix typo

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2016-03-15 14:44:24 +08:00
xie xingguo
01db964f4e doc: fix typo
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-03-15 14:38:05 +08:00
youji
b4157fae73 doc: add doc for osd_crush_initial_weight
Signed-off-by: You Ji <jiyou09@gmail.com>
2016-03-13 20:09:35 -07:00
Sage Weil
e48c708b8a doc/rados/operations/crush: rewrite crush tunables section
- break it down by tunable profile
- explicitly call out the migration impact for each profile jump.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-07 20:50:49 -05:00
Sage Weil
efd7625f38 Merge pull request #7837 from rldleblanc/wpq-documentation
doc: osd-config Add Configuration Options for op queue.
2016-03-01 09:27:21 -05:00
Kefu Chai
7bc42aaac5 Merge pull request #7829 from xiexingguo/xxg-wip-doc
doc: fix typo, indention etc.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-29 21:13:10 +08:00
xiexingguo
bcc2866e0f doc: fix typo, indention etc.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-03-01 02:26:18 +08:00
Robert LeBlanc
1ab5fcdb21 doc: mon-config Add information about pg_prime
Signed-off-by: Robert LeBlanc <robert.leblanc@endurance.com>
2016-02-28 23:04:38 -07:00
Robert LeBlanc
8aa159befa doc: osd-config Add Configuration Options for op queue.
Signed-off-by: Robert LeBlanc <robert.leblanc@endurance.com>
2016-02-28 10:06:33 -07:00
xiexingguo
ca50f42359 doc: batch small fixes, including typo, syntax etc.
Signed-off-by: xiexingguo <xie.xingguo@zte.com.cn>
2016-02-26 23:25:02 +08:00
xiexingguo
dc7e027ea5 doc: fix typo
Signed-off-by: xiexingguo <xie.xingguo@zte.com.cn>
2016-02-26 22:39:57 +08:00
Mehdi Abaakouk
67f95c8f66 Update the documentation
Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
2016-02-17 15:16:56 +01:00
Sage Weil
04289a9206 Merge pull request #7000 from zhouyuan/fix_cache_tier_doc
doc: fix misleading configuration guide on cache tiering

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-29 08:46:15 -05:00
Sage Weil
391199d7bb Merge pull request #7217 from vumrao/wip-14356-vumrao
osd: FileStore: cleanup: remove obsolete option "filestore_xattr_use_omap"

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-01-27 13:13:00 -05:00
Sage Weil
27784ff34f Merge pull request #7320 from yuyuyu101/kill-keyvaluestore
os/keyvaluestore: kill KeyValueStore

Reviewed-by: Sage Weil <sage@redhat.com>
2016-01-27 13:07:13 -05:00
Ivan Grcic
5003770fd8 doc: Fixes a CRUSH map step take argument
Signed-off-by: Ivan Grcic <igrcic@gmail.com>
2016-01-22 18:59:11 +01:00
Vikhyat Umrao
c00945eb8b cleanup: remove obsolete option "filestore_xattr_use_omap"
This patch does cleanup for option "filestore_xattr_use_omap",
as this option was removed in #7408.

Fixes: #14356
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-01-22 18:01:09 +05:30
Haomai Wang
19c39faead KeyValueStore: Kill this
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-01-22 11:15:10 +08:00
lafont
f526716e47 doc: fix "mon osd down out subtree limit" option name
The name of the parameter `mon osd down out subtree limit`
was incorrect (with `downout` instead of `down out`).
Furthermore, the description seemed to me a little bit
ambiguous.

Signed-off-by: François Lafont <francois.lafont@ac-versailles.fr>
2016-01-20 08:19:47 +01:00
Sage Weil
44a3dbb96e Merge pull request #6572 from liewegas/wip-crush-chooseleaf-stable
crush: add chooseleaf_stable tunable

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-12-23 17:05:23 -05:00
Sage Weil
d812e03b79 Merge pull request #7004 from jazeltq/master
doc: fix typo

Reviewed-by: Sage Weil <sage@redhat.com>
2015-12-23 08:36:26 -05:00
Kefu Chai
d821acada3 doc: document "readforward" and "readproxy" cache mode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-12-23 13:43:36 +08:00
litianqing
877f332f57 ceph doc fix slip of pen
mon client hung interval -> mon client hunt interval

Signed-off-by: tianqing <tianqing@unitedstack.com>
2015-12-23 10:56:19 +08:00
Yuan Zhou
0b951fde26 Doc: fix misleading configuration guide on cache tiering
* The flush/evict won't work if target_max_bytes/objects are not configured.

* All client requests will be blocked only when target_max_bytes/objects
  are reached. Hitting on cache_target_full_ratio will not block client
  requests.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-12-21 16:27:37 +08:00
Sage Weil
beacff5c2a doc/rados/operations/crush-map: update docs on crush tunables
Signed-off-by: Sage Weil <sage@redhat.com>
2015-12-14 09:46:05 -05:00
Drunkard Zhang
593c1249d2 doc: rst style fix for pools document
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2015-12-07 10:45:03 +08:00
Accela Zhao
117e63041a Correct typo 'restared' to 'restarted'
There is a typo in document "Monitoring OSDs and PGs" as below

    An OSD was ``down``, was restared, and is now ``recovering``.

This patch corrects 'restared' to 'restarted'. The whole code base
is also searched to ensure there is no more 'restared'.

Signed-off-by: Yilong Zhao <accelazh@gmail.com>
2015-11-30 22:24:26 +08:00
Mykola Golub
e6dcf1419a osd: store per pool scrub intervals in pool options
ceph osd pool set $POOL scrub_min_interval N
  ceph osd pool set $POOL scrub_max_interval N
  ceph osd pool set $POOL deep_scrub_interval N

If N > 0, this value is used for the pool instead of
the corresponding global parameter from the config
(osd_scrub_min_interval, osd_scrub_max_interval or
osd_deep_scrub_interval).

Fixes: #13077
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-11-27 13:35:51 +02:00
Chris Holcombe
07f68b5b7a Typo in the apt-get command.
Signed-off-by: Chris Holcombe <xfactor973@gmail.com>
2015-11-20 08:00:14 -08:00
MingXin Liu
738d64c7e4 Doc: add temperature related stuff in documents and test scripts
Signed-off-by: MingXin Liu <mingxinliu@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
2015-11-11 15:22:33 +08:00
Ken Dreyer
f119fb5f3d doc: download GPG key from download.ceph.com
Fixes: #13603
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-10-26 13:19:40 -06:00
Yuan Zhou
65d0fc44c1 doc: fix outdated content in cache tier
same as d5a56c497a

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-10-15 10:19:19 +08:00
Guang Yang
6b1e4a69c5 cleanup: make the pool setting GET decription point to SET description
Signed-off-by: Guang Yang yguang@yahoo-inc.com
2015-09-30 00:48:12 +00:00
Guang Yang
ef59f7c737 doc: update doc for with new pool settings
Signed-off-by: Guang Yang yguang@yahoo-inc.com
2015-09-30 00:48:01 +00:00
Sage Weil
216eef53e9 Revert "osd: new pool settings: scrub intervals"
This reverts commit 30810da4b5.

After some discussion we have decided it is better to build a generic
dictionary in pg_pool_t to store infrequently used per-pool properties.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-25 14:01:19 -04:00
Mykola Golub
30810da4b5 osd: new pool settings: scrub intervals
ceph osd pool set $POOL scrub_min_interval N
 ceph osd pool set $POOL scrub_max_interval N
 ceph osd pool set $POOL deep_scrub_interval N

If N > 0, this value is used for the pool instead of
the corresponding global parameter from the config
(osd_scrub_min_interval, osd_scrub_max_interval or
osd_deep_scrub_interval).

Fixes: #13077
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-09-21 09:08:16 +03:00
Mykola Golub
48db7b16d4 osd: new pool flags: noscrub, nodeep-scrub
This allows to disable periodic scrub on per pool basis.

Fixes: #13076
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-09-21 09:08:16 +03:00
Mykola Golub
10235e3ff3 osd: refactor setting write_fadvise_dontneed pool flag
Handle together with other flags.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-09-21 09:08:16 +03:00
weiqian
1f7a2dc506 doc:Replaces 'osd host' with 'host'
Signed-off-by: weiqian <weiq@dtdream.com>
2015-09-16 11:04:52 +08:00
Li Peng
71f6529573 doc: fix a broken hyperlink
Signed-off-by: Li Peng <lip@dtdream.com>
2015-09-15 20:55:08 +08:00
John Spray
865708120f doc: remove references to default data/metadata pools
These haven't existed since 0.84 -- the cephfs documentation
was updated at the time, but there were also references in the
rados documentation.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-09-11 16:46:52 +01:00
Kefu Chai
351d957992 doc: fix the typo in command example
always indent using tab, the rendered html looks good, but it helps with
editor to highlight the codeblock properly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-09-06 19:30:02 +08:00
Sage Weil
7d781f7a09 doc: 'ceph --admin-daemon ...' -> 'ceph daemon ...'
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-04 15:59:34 -04:00
Vikhyat Umrao
406b1d0347 doc: Add pgcalc tool link in placement-groups document
Fixes #12944

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-09-04 17:03:57 +05:30
Zhiqiang Wang
89aacaf699 doc: add the doc for min_write_recency_for_promote
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-09-02 14:00:40 +08:00
Zhiqiang Wang
d5a56c497a doc: update some of the outdated cache tiering doc
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-08-20 10:58:45 +08:00
Zhiqiang Wang
de00f6d0df doc: add the description for min_read_recency_for_promote
This cache tiering option is introduced in proxy read.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
2015-08-20 10:49:30 +08:00
Sage Weil
792e24bd30 doc: ceph-osd binds to up to 4 ports, not 3
Signed-off-by: Sage Weil <sage@redhat.com>
2015-08-18 13:57:37 -04:00
Loic Dachary
fe28e19b5d Merge pull request #5495 from tchaikov/wip-12620
doc/rados/operations/add-or-rm-mons: simplify the steps to add a mon

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-08-12 09:49:18 +02:00
John Wilkins
f3330a18f5 Merge pull request #5546 from ritz303/wip-doc-11897
doc: Clarify how 'ceph auth caps' works.

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2015-08-11 10:11:12 -07:00
Kefu Chai
b199ac6c41 doc/rados/operations/add-or-rm-mons: simplify the steps to add a mon
this change removes the step to "ceph mon add" before starting a new
monitor. because the existing leader will start an election at seeing
the MMonJoin message sent by the new joiner, after the quorum is
archieved, the monmap will be updated with the new monitor.
so, "ceph mon add" is not necessary to add a new monitor.
moreover, this command will be blocked until a new quorum is formed,
and the proposed monmap is accepted. but in case of adding a monitor
to a single monitor cluster, the leader will wait until at least two
of the monitors reply to it. apparently, this does not happen unless
the new monitor starts. so from the user's point of view, this
command hangs until timesout, if he/she does not start the mon.b
beforehand. but this is an expected behaviour.

so, to avoid this confusion and simplify the steps to add a new
monitor. we'd better simply remove this "ceph mon add" step.

Fixes: #12620
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-08-11 22:18:04 +08:00
ritz303
65e8f195a7 doc: Clarify how 'ceph auth caps' works.
Fixes: #11897

Signed-off-by: ritz303 <ritz_303@yahoo.com>
2015-08-10 15:38:49 -05:00
Kefu Chai
81afcc206d doc: fix the build of placement-groups.rst
add a reference target of "mapping pgs to osds"

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-31 17:08:20 +08:00
oddomatik
77cdb500af No CRUSH involvement in deciding PG target
Quoting from elsewhere "[we calculate] a placement group using the object name, a hash code, the number of PGs in the pool and the pool name"
2015-07-30 22:33:09 +08:00
x11507
d8395cfc76 modified librados-intro.rst
Signed-off-by: x11507 <xu.donghai@h3c.com>
2015-07-28 20:19:46 +08:00
Josh Durgin
37e2b7b85b Merge remote-tracking branch 'origin/next' 2015-07-27 16:42:12 -07:00
Ilya Dryomov
76989cc4ae doc: use spec syntax in rbd docs
Use spec syntax instead of --pool, --image and --snap to hopefully push
people towards the former.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-27 12:22:04 +03:00
Kefu Chai
1baeb1c743 doc/rados/configuration: add more scrub related config
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-22 11:15:21 +08:00
Vikhyat Umrao
8506822e0e doc: change tcp rcvbuf and tcp nodelay to ms tcp rcvbuf
and ms tcp nodelay

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-07-14 17:21:33 +05:30
Kefu Chai
cb03f81b61 doc/erasure-code: fix couple typos
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-11 01:47:48 +08:00
Kefu Chai
40399e38fa doc: indent warning messages in add-or-rm-osds.rst
otherwise they are rendered as normal text

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-02 20:59:23 +08:00
Loic Dachary
90b2ccabc0 Merge pull request #5098 from PierreChaumont/master
doc: homogenize Librados (Python) documentation's code samples

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-28 13:36:37 +02:00
PierreChaumont
8a221c3509 doc: homogenize Librados (Python) documentation's code samples
I put in doc/rados/api/python.rst line numbers on every code samples in
order to make them look all the same.

Fixes: #12174

Signed off: Pierre Chaumont pierre.chaumont31@gmail.com
2015-06-27 16:00:35 +02:00
Li Wang
c1bd02c978 Merge pull request #4792 from kylinstorage/wip-writeback-throttling-for-cache-tiering
Wip writeback throttling for cache tiering

This patch is to do write back throttling for cache tiering, which is similar to what the Linux kernel does for  page cache write back.  A paramter 'cache_target_dirty_high_ratio'  (default 0.6) is introduced as the high speed flushing threshold, while leave the 'cache_target_dirty_ratio' (default 0.4) to represent the low speed  threshold. The flush speed is controlled by limiting the parallelism of flushing. The maximum parallelism under low speed is half of the parallelism under high speed. If there is at least one PG such that the dirty ratio beyond the high threshold, full speed mode is entered; If there is no PG such that dirty ratio beyond the low threshold, idle mode is entered; In other cases, slow speed mode is entered.

Signed-off-by: Mingxin Liu <mingxinliu@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Suggested-by: Nick Fisk <nick@fisk.me.uk>
Tested-by: Kefu Chai <kchai@redhat.com>
2015-06-23 15:15:47 +08:00
Loic Dachary
8e08d6cc64 Merge pull request #5017 from JordanDorne/master
doc: Replace requries with requires in python API doc

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 18:09:29 +02:00
JordanDorne
350139b3a7 doc: Replace requries with requires in python API doc
Fixes: #12076
Signed-off-by: Jordan DORNE <jordan.dorne@gmail.com>
2015-06-18 17:39:40 +02:00
Loic Dachary
5277861153 Merge pull request #4989 from ltoto2/master
doc: Adding a link to documentation on admin socket

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 17:36:33 +02:00
Thomas Laumondais
0c4555d1f4 doc: Adding a link to documentation on admin socket
Fixes: #11845

Signed-off-by: Thomas Laumondais <thomas.laumondais@gmail.com>
2015-06-18 17:23:40 +02:00
Arthur Gorjux
7065203ff1 doc: Remove `` before and after 'ceph -s' in titles
Fixes: #12059
Signed-off-by: Arthur Gorjux <arthurgorjux@gmail.com>
2015-06-18 15:25:48 +02:00
Loic Dachary
5cb3cb0958 Merge pull request #4986 from nicolasyong/master
doc: Modification of a sentence

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 15:22:00 +02:00
nicolasyong
33f4b9a05b doc: Modification of a sentence.
Fixes : #12057

Signed-off-by: Nicolas Yong <nicolas.yong93@gmail.com>
2015-06-18 15:15:06 +02:00
Maxime ROBERT
7fbac49eb0 doc: Change the type of list in doc
Fixes: #12061.
Signed-off-by: Maxime ROBERT <maxime.robert1992@gmail.com>
2015-06-17 18:37:19 +02:00
Loic Dachary
676ff92e18 Merge pull request #4985 from yannick-ad/master
doc: replace a sentence by another

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-17 17:40:59 +02:00
yannick-ad
b5d63eb42c doc: replace a sentence by another
Fixes: #12060
Signed-off-by: Yannick Atchy-Dalama <yannick.atchy.dalama@gmail.com>
2015-06-17 17:34:30 +02:00
unknown
e60c450b3b doc: Wrong restriction for a daemon's ID
Fixes: #12058

Signed-off-by: Fantinel Lucas <lucas.fantinel@gmail.com>
2015-06-17 16:17:46 +02:00
Abhishek Lekshmanan
81eee9bd8c doc: explain about pgp num
Explain the significance of pgp num & how it differs from pg num.

Fixes: #10035
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
2015-06-16 22:59:22 +05:30
liumingxin
7aba9476e6 Doc: add write back throttling stuff in document and test scripts
Signed-off-by: Mingxin Liu <mingxinliu@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Suggested-by: Nick Fisk <nick@fisk.me.uk>
2015-06-03 15:57:14 +08:00
Ismael
de14093fe2 doc: s/osd pool hot-storage/osd pool set hot-storage/
Signed-off-by: Ismael Serrano <ismael.serrano@gmail.com>
2015-06-02 13:30:15 +01:00
Kefu Chai
acdfd98787 doc: fix typo in placement-groups.rst
s/osd pool set/osd pool create/ in the command line example.

Fixes: #11503
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-05-28 15:44:09 +08:00
Ilya Dryomov
eb9dbef2fe doc: fix crush-ruleset-name param description
Specified crush-ruleset-name is required to exist, implicit creation is
going to happen only if crush-ruleset-name wasn't specified on the
command line.  While at it, pool-name is very much a required param.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-05-27 15:06:37 +03:00
Ken Dreyer
11fef2275d doc: recommend opening entire 6800-7300 port range
Prior to this commit, the Network Configuration Reference guide and
Troubleshooting guide recommended opening a number of ports that were
unique to the number of daemons that we ran.

This doesn't really cover all use cases. Users can easily restart
daemons in ways that cause the daemons to bind to higher ports. This
leads to OSDs or MDSs binding to ports that are firewalled.

Update the Network Configuration Reference guide and Troubleshooting
guides to simply recommend that users open all the ports between 6800
and 7300 on their OSDs and MDSs.

http://tracker.ceph.com/issues/11688 Refs: #11688

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-05-21 14:31:00 -06:00
lafont
dcf8c597c5 Doc: add a note about a CRUSH corner case with ceph osd out
Signed-off-by: François Lafont <francois.lafont@ac-versailles.fr>
2015-05-14 02:02:33 +02:00
Kefu Chai
410175be89 Merge pull request #3743 from trociny/wip-osd_create
mon: osd create: add optional 'id' parameter

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2015-05-08 00:13:37 +08:00
Ilya Dryomov
3bfdf54ca3 doc: don't mention ceph osd setmap
ceph osd setmap command was disabled and subsequently removed 5 years
ago.  See 9aadd41b20 ("mon: disable 'osd setmap'") and 6d292397aa
("mon: remove dead 'setmap' code").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-04-21 20:27:59 +03:00
Yuan Zhou
e1f789994e doc: Fix misleading overlay settting in Cache Tier
set-overlay is needed in either writeback or readonly mode of Cache
Tier setup.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-04-14 14:47:40 +08:00
Mykola Golub
0d1e770391 mon: osd create: add optional 'id' parameter
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-04-12 14:25:45 +03:00
Gregory Farnum
d77de49eb1 Merge pull request #4306 from dachary/wip-ec-troubleshooting
doc: an erasure code crush ruleset can be dynamically modified

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-04-09 15:41:05 -07:00
Loic Dachary
8e81b0d7e1 doc: an erasure code crush ruleset can be dynamically modified
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-04-08 19:33:05 +02:00
Kefu Chai
c5f3d4db5e doc: fix sphinx warnings
fix `Inline literal start-string without end-string` warnings.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-04-07 23:26:50 +08:00
Travis Rhoden
e1ca446c78 doc: no longer call out ceph-deploy as new
The tip declaring ceph-deploy as new doesn't really apply anymore.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
2015-03-24 12:05:07 -04:00
Alexandre Marangone
7f03c8891a be gender neutral
Signed-off-by: Alexandre Marangone <amarango@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-23 16:59:55 -07:00
Gregory Farnum
ccaf1acdc6 Merge pull request #4102 from larkly/patch-docerror-usermgmt
Minor fix: bootstrap-mds in user-management.rst

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-23 11:20:01 -07:00
Bosse Klykken
bee7f24ed5 Minor fix: Documentation referred to bootstrap-osd instead of bootstrap-mds
Signed-off-by: Bosse Klykken <larkly@gmail.com>
2015-03-20 15:21:42 +01:00
Kefu Chai
cd69ded7af doc: Switch doxygen integration back to breathe
* asphyxiate needs more toolings, see
  https://github.com/ceph/asphyxiate/issues/1
* this commit basically reverts c96064
* use `autodoxygen` directive to doxygen referenced source files
* do not call `doxygen` explicitly in `build-doc`, `autodoxygen`
  will take care of it.

Fixes: #6115
Fixes: #6115
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-03-20 17:17:16 +08:00
Loic Dachary
a74223b174 Merge pull request #4045 from NTmatter/docs-raid4-removal
doc-rados-operations-crush-map: Swap Raid4 for Erasure

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-17 18:56:55 +01:00
Thomas Johnson
87528c19a2 doc-rados-operations-crush-map: Swap Raid4 for Erasure
Signed-off-by: Thomas Johnson <NTmatter@gmail.com>
2015-03-17 17:32:24 +01:00
Thomas Johnson
c60cd5bf35 doc/rados/operations/add-or-rm-mons: correcting minor typo
Signed-off-by: Thomas Johnson <NTmatter@gmail.com>
2015-03-16 23:54:29 +01:00
Sage Weil
d47e6228ee doc/rados/operations/add-or-rm-mons: revise doc a bit to be less confusing
Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-16 09:32:22 -07:00
Danny Al-Gaaf
b17c3ebbdc Merge pull request #3901 from dachary/wip-10922-ceph-deploy-documentation
doc: preparing a device implies activate

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-10 10:53:56 +01:00
Andy Allan
aaabd57205 doc: fix typo
Signed-off-by: Andy Allan <github@gravitystorm.co.uk>
2015-03-09 14:41:18 +00:00
Loic Dachary
c327fbb9c2 doc: preparing a device implies activate
http://tracker.ceph.com/issues/10922 Fixes: #10922

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-09 11:35:14 +01:00
Dan van der Ster
ef87a25f76 doc: osd map cache size is a count, not MB
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2015-03-06 09:05:56 +01:00
Loic Dachary
7f36312ab6 doc: ext4 has a journal
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-02 12:09:13 +01:00
Kefu Chai
8806cd2528 doc: add docs about log's "memory level"
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-02-27 12:57:33 +08:00
Josh Durgin
01099766d7 Merge remote-tracking branch 'origin/hammer' 2015-02-25 18:52:36 -08:00
Gregory Meno
40be1404f5 doc: fix typo deebug
Signed-off-by: Gregory Meno <gmeno@redhat.com>
2015-02-25 17:30:33 -08:00
Boris Ranto
46b45e3fc2 doc: fix python-ceph refs in docs
Signed-off-by: Boris Ranto <branto@redhat.com>
2015-02-24 18:30:18 -08:00
Danny Al-Gaaf
d03cc6195b doc: add erasure-code-shec to plugin list
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-02-24 15:11:40 +01:00
Sage Weil
8221687f5a Merge remote-tracking branch 'gh/hammer' 2015-02-21 21:52:03 -08:00
Ken Dreyer
f85f7adc95 Merge pull request #3744 from ceph/wip-10884-hammer-rpm-devel-split
ceph.spec: split ceph-devel to appropriate *-devel packages

Reviewed-by: Sandon Van Ness <sandon@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2015-02-20 10:44:45 -07:00
Florian Haas
1aaff83141 doc: explain that tell bench is non-destructive
Mention that "ceph tell osd.N bench" will not overwrite data in a live
OSD, but might temporarily affect OSD performance.

Signed-off-by: Florian Haas <florian@hastexo.com>
2015-02-20 15:25:23 +01:00
Takeshi Miyamae
cd708e216f erasure code: add shec's documentation / change default layout
Signed-off-by: Takeshi Miyamae <miyamae.takeshi@jp.fujitsu.com>
2015-02-18 22:38:15 +09:00
Boris Ranto
c341c52984 ceph.spec: split ceph-devel to appropriate *-devel packages
ceph-devel contains various header files/bindings for several
libraries, this patch creates *-devel packages for all the libraries
separately and provides the compatibility layer for the split.

http://tracker.ceph.com/issues/10884 Refs: #10884

Signed-off-by: Boris Ranto <branto@redhat.com>

Amended by Ken Dreyer <kdreyer@redhat.com> to add version numbers to the
Obsoletes, add Obsoletes to the libradosstriper1-devel and
libcephfs_jni1-devel subpackages, adjust the librados documentation, and
add the Redmine issue number to this commit log.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-02-16 16:21:42 -07:00
Tyler Brekke
8e806bce89 Docs: OSD name, not id, needs to be given to remove an item from the CRUSH map.
Include command for deleteing bucket from the CRUSH map.

Signed-off-by: Tyler Brekke <tbrekke@redhat.com>
2015-02-12 14:37:17 -08:00
John Spray
45f842db41 doc: remind user to calculate the correct max port
This was kind of easy to miss, and if users
just paste in the command as given then their
first few OSDs will work, and from their
4th OSD onwards things will get weird.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-08 15:50:38 +01:00
John Spray
fe47e23aed doc: correct default of ms_bind_port_max
It's 7300 in the code, whereas these docs
had it as 7100.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-02-08 15:50:38 +01:00
John Wilkins
0548beadf2 doc: Removed references to Inktank suppport.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2015-02-03 14:50:25 -08:00
John Wilkins
babac0c4cc doc: Removed Inktank reference.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2015-02-03 14:14:22 -08:00
Samuel Just
aac4c255e2 osd/: add state PG_STATE_PEERED
We need a state to represent the pg state where we are below
min_size, but trying to recover.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2015-01-30 11:45:37 -08:00
Samuel Just
abd115484a doc: add documentation for undersized
Signed-off-by: Samuel Just <sam.just@inktank.com>
2015-01-30 11:45:34 -08:00
Samuel Just
bed22b49b7 doc: improve incomplete state documentation
Signed-off-by: Samuel Just <sam.just@inktank.com>
2015-01-29 13:17:07 -08:00
RobertJansen1
0a998f51f2 edited failure conclusion
Signed-off-by: Robert Jansen <r.jansen@fairbanks.nl>
2015-01-29 11:07:50 +01:00
RobertJansen1
4527e8f8eb corrected some confusing numbers
Signed-off-by: Robert Jansen <r.jansen@fairbanks.nl>
2015-01-29 11:03:14 +01:00
Sage Weil
6633f8a3ed Merge pull request #3409 from trociny/wip-osd_pool_flags
osd: new pool safeguard flags: nodelete, nopgchange, nosizechange

Reviewed-by: Sage Weil <sage@redhat.com>
2015-01-21 13:52:29 -08:00
Loic Dachary
2b86479b4c Merge pull request #3419 from Nairolf21/wip-documentation
doc: Introduce the term MON at http://ceph.com/docs/master/rados/

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-01-20 14:22:53 +01:00
nairolf21
88b1032194 Introduce the term MON at http://ceph.com/docs/master/rados/
http://tracker.ceph.com/issues/10203 Fixes:#10203

Signed-off-by: Florian Coste <fcoste21@gmail.com>
2015-01-20 14:19:26 +01:00
Hazem
08faee0752 doc: mon should be listed before osd
When deploying a Ceph cluster, the mon must be run first.
In the list shown at http://ceph.com/docs/master/rados/configuration/
it would therefore be better to have mon listed before osd.

http://tracker.ceph.com/issues/10204 Fixes: #10204

Signed-off-by: Hazem <hazem.amara@telecom-bretagne.eu>
2015-01-20 14:10:45 +01:00
Loic Dachary
852ea87447 Merge pull request #3420 from Anols/wip-documentation
doc: missing the reference to "ceph-deploy-new"

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-01-20 13:36:09 +01:00
Anols
6b1c92c287 Doc : Documentation#10205
Missing the reference of "ceph-deploy-new".

https://tracker.ceph.com/issues/10205

Signed-off-by: AYARI <ayari_anis@live.fr>
2015-01-20 12:06:07 +01:00
ThomasCantin
b8dd228cad doc bug 10206 2015-01-20 11:32:24 +01:00
Sage Weil
8318a2e5e2 Merge pull request #3382 from xinxinsh/wip-fix
fix command 'ceph pg dump_stuck degraded'

Reviewed-by: Sage Weil <sage@redhat.com>
2015-01-19 12:35:58 -08:00
Mykola Golub
8ab3c41db7 osd: new pool safeguard flags: nodelete, nopgchange, nosizechange
* nodelete - pool can't be deleted
* nopgchange - pool's pg and pgp num can't be changed
* nosizechange - pool's size and min size can't be changed

This is intended to help some poor admin to avoid a very bad day.

Fixes: #9792 (but in a different way than it was proposed there)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2015-01-19 21:50:28 +02:00
Loic Dachary
02cab93fec documentation: add troubleshooting erasure coded PGs section
Add a new section to the PG troubleshooting section that covers the most
common problems reported when an erasure coded pool fails to properly
map PGs to enough OSDs.

http://tracker.ceph.com/issues/10350 Fixes: #10350

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-01-15 21:26:53 +01:00
xinxin shu
9db596974c fix command 'ceph pg dump_stuck degraded'
undersized not valid:  undersized not in inactive|unclean|stale
undersized not valid:  undersized doesn't represent an int
Invalid command:  unused arguments: ['undersized']
pg dump_stuck {inactive|unclean|stale [inactive|unclean|stale...]} {<int>} :  show information about stuck pgs

Signed-off-by: xinxin shu <xinxin.shu@intel.com>
2015-01-16 01:33:07 +08:00
Wido den Hollander
d5e8ef5092 doc: Fix PHP librados documentation 2015-01-10 14:21:27 +01:00
Wido den Hollander
cf432fa670 doc: Add Librados PHP documentation 2015-01-09 14:16:08 +01:00
Dan van der Ster
bd7be04d6e doc: don't suggest mounting xfs with nobarrier
nobarrier is dangerous, so stop suggesting it as an example osd mount
options xfs.

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2015-01-08 09:49:10 +01:00