Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Disable SELinux

Install ceph:


For C7:


Code Block
languagebash
rpm -Uvh https://download.ceph.com/rpm-nautilus/el7/noarch/ceph-release-1-1.el7.noarch.rpm
yum install yum-plugin-priorities

For C8:


Code Block
languagebash
rpm -Uvh https://download.ceph.com/rpm-nautilus/el8/noarch/ceph-release-1-1.el8.noarch.rpm


Then:

Code Block
languagebash
yum clean all
yum update
yum install ceph

...


Move the host in the hosts_all/CephProd hostgroup(hosts_all/CephProd-C8 dor CentOS8) hostgroup 

Run once puppet:

Code Block
languagebash
puppet agent -t

...


If not (i.e. if some are using straw), run the following command:

Code Block
languagebash
ceph osd crush set-all-straw-buckets-to-straw2 

Warning: this could trigger a data rebalance

Enable and start puppet:

Code Block
languagebash
systemctl start puppet

...


systemctl enable puppet


Then, after a few minutes, check that "ceph status" doesn't report Pgs in peering.

Then:

Code Block
languagebash
[root@c-osd-1 /]# ceph osd unset nobackfill

...


nobackfill is unset

...


[root@c-osd-1 /]# ceph osd unset norebalance

...


norebalance is unset

...


[root@c-osd-1 /]# ceph osd unset noout

...


noout is unset

...


[root@c-osd-1 /]# 


This should trigger a data movement.