This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
решение_ceph [2021/06/17 14:58] admin [MON] |
решение_ceph [2024/09/07 14:42] (current) val [Решение Ceph] |
||
---|---|---|---|
Line 8: | Line 8: | ||
* [[http://onreader.mdl.ru/LearningCeph/content/index.html|Практическое руководство по разработке, реализации и управлению вашей управляемой программным обеспечением, массивно масштабируемой системы хранения Ceph]] | * [[http://onreader.mdl.ru/LearningCeph/content/index.html|Практическое руководство по разработке, реализации и управлению вашей управляемой программным обеспечением, массивно масштабируемой системы хранения Ceph]] | ||
+ | * [[http://onreader.mdl.ru/MasteringCeph.2ed/content/index.html|Полное руководство Ceph, 2е изд.]] | ||
+ | * [[http://onreader.mdl.ru/CephCookbook/content/index.html|Книга рецептов Ceph]] | ||
===== Развертывание ===== | ===== Развертывание ===== | ||
* [[https://docs.ceph.com/en/latest/install/manual-deployment/|MANUAL DEPLOYMENT]] | * [[https://docs.ceph.com/en/latest/install/manual-deployment/|MANUAL DEPLOYMENT]] | ||
+ | * [[https://www.server-world.info/en/note?os=Debian_11&p=ceph14&f=1|Debian 11 : Ceph Nautilus]] | ||
==== Установка ==== | ==== Установка ==== | ||
Line 19: | Line 22: | ||
==== MON ==== | ==== MON ==== | ||
+ | |||
+ | * [[https://docs.ceph.com/en/latest/man/8/ceph-mon/|CEPH-MON – CEPH MONITOR DAEMON]] | ||
=== Начальная конфигурация === | === Начальная конфигурация === | ||
Line 67: | Line 72: | ||
ssh node5 systemctl enable ceph-mon@node5 | ssh node5 systemctl enable ceph-mon@node5 | ||
' | ' | ||
+ | </code> | ||
+ | |||
+ | * [[https://www.suse.com/support/kb/doc/?id=000019960|Cluster status shows a "mons are allowing insecure global_id reclaim" health warning]] | ||
+ | |||
+ | <code> | ||
+ | debian11_12/ubuntu# ceph mon enable-msgr2 | ||
+ | debian11_12/ubuntu# ceph config set mon mon_warn_on_insecure_global_id_reclaim false | ||
+ | debian11_12/ubuntu# ceph config set mon mon_warn_on_insecure_global_id_reclaim_allowed false | ||
</code><code> | </code><code> | ||
# ceph -s | # ceph -s | ||
Line 81: | Line 94: | ||
==== MGR ==== | ==== MGR ==== | ||
+ | |||
+ | * [[https://docs.ceph.com/en/latest/mgr/index.html|CEPH MANAGER DAEMON]] | ||
<code> | <code> | ||
Line 103: | Line 118: | ||
==== OSD ==== | ==== OSD ==== | ||
+ | |||
+ | * [[https://docs.ceph.com/en/latest/man/8/ceph-osd/|CEPH-OSD – CEPH OBJECT STORAGE DAEMON]] | ||
=== Начальная конфигурация === | === Начальная конфигурация === | ||
Line 166: | Line 183: | ||
==== OSD POOL ==== | ==== OSD POOL ==== | ||
+ | |||
+ | * [[https://docs.ceph.com/en/latest/rados/operations/pools/|POOLS]] | ||
=== Расчет параметров и создание POOL === | === Расчет параметров и создание POOL === | ||
+ | |||
+ | * [[https://docs.ceph.com/en/latest/rados/operations/placement-groups/|PLACEMENT GROUPS]] | ||
+ | |||
<code> | <code> | ||
- | Total PGs = (Total_number_of_OSD * 100) / max_replication_count | + | Total PGs = OSDs * 100 / pool_size |
5*100/3 = 166,6... | 5*100/3 = 166,6... | ||
</code><code> | </code><code> | ||
# ceph osd pool create test-pool1 180 | # ceph osd pool create test-pool1 180 | ||
+ | |||
+ | debian11_12/ubuntu# ceph osd pool create test-pool1 128 | ||
+ | или | ||
+ | debian11_12/ubuntu# ceph config set global mon_warn_on_pool_pg_num_not_power_of_two false | ||
# ceph -s | # ceph -s | ||
Line 198: | Line 224: | ||
==== RBD POOL ==== | ==== RBD POOL ==== | ||
+ | * Reliable Autonomic Distributed Object Store = RADOS | ||
* [[https://docs.ceph.com/en/latest/rbd/rados-rbd-cmds/|BASIC BLOCK DEVICE COMMANDS]] | * [[https://docs.ceph.com/en/latest/rbd/rados-rbd-cmds/|BASIC BLOCK DEVICE COMMANDS]] | ||
+ | * [[https://docs.ceph.com/en/latest/man/8/rbd/|rbd – manage rados block device (RBD) images]] | ||
<code> | <code> |