Lines 2-20
Link Here
|
2 |
{ type: install |
2 |
{ type: install |
3 |
message: <<EOM |
3 |
message: <<EOM |
4 |
This package has installed ceph14, called nautilus. |
4 |
This package has installed ceph14, called nautilus. |
5 |
It comes with a web based dashboard that cannot be build |
|
|
6 |
into a package but will require the user to install it himself. |
7 |
|
5 |
|
8 |
To install the dashboard, please execute: |
6 |
To be able to run Ceph, the following setup changes are needed: |
9 |
as root execute: |
7 |
|
10 |
cd ${LOCALBASE}/share/ceph/mgr/dashboard/frontend |
8 |
- Mount linux compat filesystem, add to /etc/fstab: |
|
|
9 |
# required by ceph |
10 |
linprocfs /compat/linux/proc linprocfs rw 0 0 |
11 |
linsysfs /compat/linux/sys linsysfs rw 0 0 |
12 |
fdescfs /compat/linux/dev/fd fdescfs rw,linrdlnk 0 0 |
13 |
|
14 |
- Shorten the WAIT2 time for TCP teardown |
15 |
echo "net.inet.tcp.msl=3000" >> /etc/sysctl.conf |
16 |
|
17 |
Ceph comes with a web based dashboard that cannot be build |
18 |
into a packagei. But the user can it himselfi from a ready-made RPM. |
19 |
|
20 |
To install the dashboard, please execute (as root): |
21 |
|
22 |
mkdir -p /usr/local/share/ceph/mgr/dashboard |
11 |
pkg install rpm2cpio |
23 |
pkg install rpm2cpio |
|
|
24 |
cd /tmp |
12 |
fetch http://download.ceph.com/rpm-nautilus/el8/noarch/ceph-mgr-dashboard-14.2.22-0.el8.noarch.rpm |
25 |
fetch http://download.ceph.com/rpm-nautilus/el8/noarch/ceph-mgr-dashboard-14.2.22-0.el8.noarch.rpm |
13 |
rpm2cpio ${DISTDIR}/ceph-mgr-dashboard-${DISTVERSION}-0.el7.noarch.rpm | \ |
26 |
rpm2cpio ./ceph-mgr-dashboard-${DISTVERSION}-0.el8.noarch.rpm | cpio -divm |
14 |
( cd ${WRKDIR}/dashboard; cpio -divm ) |
27 |
cd /tmp/usr/share/ceph/mgr/dashboard |
15 |
chown -R ceph:ceph . |
28 |
rsync -vra . /usr/local/share/ceph/mgr/dashboard/ |
16 |
chown -R ceph:ceph /var/lib/ceph |
29 |
chown -R ceph:ceph /usr/local/share/ceph/mgr/dashboard/ |
17 |
|
30 |
chown -R ceph:ceph /var/lib/ceph /var/run/ceph /var/log/ceph |
18 |
EOM |
31 |
EOM |
19 |
} |
32 |
} |
20 |
] |
33 |
] |