This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
решение_ceph [2021/06/18 08:45] admin [OSD] |
решение_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 69: | 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 172: | 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 204: | 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> |