...
Disable SELinux
Install ceph:
For C7:
| Code Block | ||
|---|---|---|
| ||
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 | ||
|---|---|---|
| ||
rpm -Uvh https://download.ceph.com/rpm-nautilus/el8/noarch/ceph-release-1-1.el8.noarch.rpm |
Then:
| Code Block | ||
|---|---|---|
| ||
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 | ||
|---|---|---|
| ||
puppet agent -t |
...
If not (i.e. if some are using straw), run the following command:
| Code Block | ||
|---|---|---|
| ||
ceph osd crush set-all-straw-buckets-to-straw2 |
Warning: this could trigger a data rebalance
Enable and start puppet:
| Code Block | ||
|---|---|---|
| ||
systemctl start puppet |
...
systemctl enable puppet |
Then, after a few minutes, check that "ceph status" doesn't report Pgs in peering.
Then:
| Code Block | ||
|---|---|---|
| ||
[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.